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 buster-security InRelease
Hit:2 buster/updates InRelease                                                            
Hit:3 buster InRelease                                                                  
Ign:4 buster InRelease       
Hit:5 buster-security Release
Get:6 buster InRelease [6823 B]
Hit:7 buster Release                                
Err:6 buster InRelease      
  The following signatures were invalid: EXPKEYSIG THEY KEY I HAD DEB.SURY.ORG Automatic Signing Key <>
Reading package lists... Done
W: GPG error: buster InRelease: The following signatures were invalid: EXPKEYSIG THEKEYIHAD DEB.SURY.ORG Automatic Signing Key <>
E: The repository ' 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?

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 - | apt-key --keyring /usr/share/keyrings/ add - 

Then re-run:

apt update

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

grep -r /etc/apt/sources.list*

Add new comment