Weird APT/Buster issues when Checking for updates

My YunoHost server
Hardware: Dell R720
YunoHost version: Powered by YunoHost 4.3.6.2 (stable).
I have access to my server : SSH, direct access
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : not really. I have a RAID server.

When I check for updates I get this:

Fetching available upgrades for system packages...
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://repo.delellis.com.ar buster InRelease: The following signatures were invalid: EXPKEYSIG 39217939ED3D07DB Matias De lellis
W: Failed to fetch https://repo.delellis.com.ar/dists/buster/InRelease The following signatures were invalid: EXPKEYSIG 39217939ED3D07DB Matias De lellis
W: Some index files failed to download. They have been ignored, or old ones used instead.
Something went wrong while updating the cache of APT (Debian's package manager). Here is a dump of the sources.list lines, which might help identify problematic lines:
sources.list:deb http://ftp.us.debian.org/debian/ buster main non-free contrib sources.list:deb-src http://ftp.us.debian.org/debian/ buster main non-free contrib sources.list:deb http://security.debian.org/debian-security buster/updates main contrib non-free sources.list:deb-src http://security.debian.org/debian-security buster/updates main contrib non-free sources.list:deb http://ftp.us.debian.org/debian/ buster-updates main contrib non-free sources.list:deb-src http://ftp.us.debian.org/debian/ buster-updates main contrib non-free sources.list.d/nodesource.list:deb https://deb.nodesource.com/node_14.x buster main sources.list.d/nodesource.list:deb-src https://deb.nodesource.com/node_14.x buster main sources.list.d/docker.list:deb [arch=amd64] https://download.docker.com/linux/debian buster stable sources.list.d/yunohost.list.save:deb http://forge.yunohost.org/debian/ buster stable sources.list.d/mongodb-org-4.4.list:deb http://repo.mongodb.org/apt/debian buster/mongodb-org/4.4 main sources.list.d/extra_php_version.list.save:deb https://packages.sury.org/php/ buster main sources.list.d/20-pdlib.list.save:deb https://repo.delellis.com.ar buster buster sources.list.d/yunohost.list:deb http://forge.yunohost.org/debian/ buster stable sources.list.d/docker.list.save:deb [arch=amd64] https://download.docker.com/linux/debian buster stable sources.list.d/20-pdlib.list:deb https://repo.delellis.com.ar buster buster sources.list.d/extra_php_version.list:deb https://packages.sury.org/php/ buster main

The error looked familiar, I thought I’d look up the steps to resolve it. The first result I clicked was a previous post of yours :stuck_out_tongue:

You could try deleting the expired key and fetching a new one :

$ sudo apt-key del 39217939ED3D07DB
$ sudo curl -sSL -o /etc/apt/trusted.gpg.d/php.gpg https://repo.delellis.com.ar/repo.gpg.key
2 Likes

oh my God :see_no_evil::see_no_evil::see_no_evil::see_no_evil: end me

well I guess I’m consistent :joy:

thanks!!

Seems like there’s no pubkey. Is this repo important? Maybe I could just delete it

Hit:1 http://ftp.us.debian.org/debian buster InRelease
Hit:2 http://ftp.us.debian.org/debian buster-updates InRelease
Ign:3 http://repo.mongodb.org/apt/debian buster/mongodb-org/4.4 InRelease
Hit:4 https://repo.delellis.com.ar buster InRelease
Hit:5 http://forge.yunohost.org/debian buster InRelease
Hit:6 http://security.debian.org/debian-security buster/updates InRelease
Hit:7 http://repo.mongodb.org/apt/debian buster/mongodb-org/4.4 Release
Err:4 https://repo.delellis.com.ar buster InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 39217939ED3D07DB                                                                                           
Get:8 https://download.docker.com/linux/debian buster InRelease [54.0 kB]
Hit:9 https://packages.sury.org/php buster InRelease
Hit:10 https://deb.nodesource.com/node_14.x buster InRelease
Fetched 54.0 kB in 2s (31.4 kB/s)
Reading package lists... Done                                                                                                                                                                                 
W: http://ftp.us.debian.org/debian/dists/buster/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/php.gpg are ignored as the file has an unsupported filetype.                                      
W: http://ftp.us.debian.org/debian/dists/buster-updates/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/php.gpg are ignored as the file has an unsupported filetype.                              
W: https://repo.delellis.com.ar/dists/buster/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/php.gpg are ignored as the file has an unsupported filetype.                                         
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://repo.delellis.com.ar buster InRelease: The following signa
tures couldn't be verified because the public key is not available: NO_PUBKEY 39217939ED3D07DB                                                                                                                
W: http://forge.yunohost.org/debian/dists/buster/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/php.gpg are ignored as the file has an unsupported filetype.                                     
W: http://security.debian.org/debian-security/dists/buster/updates/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/php.gpg are ignored as the file has an unsupported filetype.                   
W: http://repo.mongodb.org/apt/debian/dists/buster/mongodb-org/4.4/Release.gpg: The key(s) in the keyring /etc/apt/trusted.gpg.d/php.gpg are ignored as the file has an unsupported filetype.                 
W: https://packages.sury.org/php/dists/buster/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/php.gpg are ignored as the file has an unsupported filetype.                                        
W: https://download.docker.com/linux/debian/dists/buster/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/php.gpg are ignored as the file has an unsupported filetype.                             
W: https://deb.nodesource.com/node_14.x/dists/buster/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/php.gpg are ignored as the file has an unsupported filetype.                                 
W: Failed to fetch https://repo.delellis.com.ar/dists/buster/InRelease  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 39217939ED3D07DB                     
W: Some index files failed to download. They have been ignored, or old ones used instead. 

You could try if the name of the sources.list gives a hint why it’s there if you compare

$ ls /etc/apt/sources.list.d/
$ cat /etc/apt/sources.list.d/*

There are apt/dpkg queries to find which packages are provided by what repository, but I don’t know the syntax.

This repo was added for the face recognition app in NextCloud.
(at least, that’s why I have it)
I have the same error but as no issues was raised, I decided to… wait.

Here is the doc saying to add it : Installation · matiasdelellis/facerecognition Wiki · GitHub
Maybe you can raise an issue there so the key is updated ?

2 Likes

The issue resolves with

sudo apt-key del 39217939ED3D07DB
sudo curl -sSL https://repo.delellis.com.ar/repo.gpg.key | sudo apt-key add -

On apt-update I get some issues with yunohost repository types, so I made a seperate issue here: Keyring Type Unsupported for Buster

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.