Marcos's picture

I recently updated the nextcloud appliance trought their updater in the GUI.

 

After that and ever since when I try to update the linux machine i have this

Ign:1 http://archive.turnkeylinux.org/debian buster-security InRelease
Hit:2 http://security.debian.org buster/updates InRelease                                                            
Hit:3 http://deb.debian.org/debian buster InRelease                                                                  
Ign:4 http://archive.turnkeylinux.org/debian buster InRelease       
Hit:5 http://archive.turnkeylinux.org/debian buster-security Release
Get:6 https://packages.sury.org/php buster InRelease [6823 B]
Hit:7 http://archive.turnkeylinux.org/debian buster Release                                
Err:6 https://packages.sury.org/php buster InRelease      
  The following signatures were invalid: EXPKEYSIG THEY KEY I HAD DEB.SURY.ORG Automatic Signing Key <deb@sury.org>
Reading package lists... Done
W: GPG error: https://packages.sury.org/php buster InRelease: The following signatures were invalid: EXPKEYSIG THEKEYIHAD DEB.SURY.ORG Automatic Signing Key <deb@sury.org>
E: The repository 'https://packages.sury.org/php buster InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

Like the key in question is no being accepted for some reason.

 

Did someone ever expirianced this? How can i solve it?

Forum: 
Jeremy Davis's picture

I just noticed that this thread was unanswered?! I'm sure I recall answering it?! Unless I was dreaming that, I'm not sure what happened there?! Anyway...

I'm almost certain that this is unrelated to your Nextcloud updates.

If this is default TurnKey config, then please try this:

wget -O - https://packages.sury.org/php/apt.gpg | apt-key --keyring /usr/share/keyrings/php-sury.org.gpg add - 

Then re-run:

apt update

If it still fails, please give me the output of:

grep -r packages.sury.org /etc/apt/sources.list*

Add new comment