GPG error

Dec 24, 2016
19
3
8
After a prolonged internet disconnection because of issues with my ISP, I attempted to update my Proxmox installation and got this message:

W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://ftp.debian.org jessie Release: The following signatures were invalid: BADSIG 8B48AD6246925553 Debian Archive Automatic Signing Key (7.0/wheezy) <ftpmaster@debian.org>

W: Failed to fetch http://ftp.debian.org/debian/dists/jessie/Release

W: Some index files failed to download. They have been ignored, or old ones used instead.

What can I do to correct this?
 
After a prolonged internet disconnection because of issues with my ISP, I attempted to update my Proxmox installation and got this message:

W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://ftp.debian.org jessie Release: The following signatures were invalid: BADSIG 8B48AD6246925553 Debian Archive Automatic Signing Key (7.0/wheezy) <ftpmaster@debian.org>

W: Failed to fetch http://ftp.debian.org/debian/dists/jessie/Release

W: Some index files failed to download. They have been ignored, or old ones used instead.

What can I do to correct this?

Do you have the correct APT keyrings in place? What does "apt-key list" output?
What does your /etc/apt/sources.list and the files in /etc/apt/sources.list.d contain?
What is the complete output "apt-get update"?
 
For context, everything was updating normal until we had an outage when the wireless tower that supplies our service in a rural area was knocked down by a storm.

Here is the apt update output:

starting apt-get update
Ign http://ftp.debian.org jessie InRelease
Get:1 http://security.debian.org jessie/updates InRelease [63.1 kB]
Get:2 http://ftp.debian.org jessie Release.gpg [2373 B]
Get:3 http://security.debian.org jessie/updates/main amd64 Packages [403 kB]
Ign http://download.opensuse.org InRelease
Hit http://ftp.debian.org jessie Release
Err http://ftp.debian.org jessie Release

Hit http://download.opensuse.org Release.gpg
Get:4 http://security.debian.org jessie/updates/contrib amd64 Packages [2506 B]
Hit http://download.opensuse.org Release
Get:5 http://security.debian.org jessie/updates/contrib Translation-en [1211 B]
Get:6 http://security.debian.org jessie/updates/main Translation-en [211 kB]
Hit https://enterprise.proxmox.com jessie InRelease
Hit http://download.opensuse.org Packages
Get:7 https://enterprise.proxmox.com jessie/pve-enterprise amd64 Packages
Get:8 https://enterprise.proxmox.com jessie/pve-enterprise Translation-en [256 B]
Hit https://enterprise.proxmox.com jessie/pve-enterprise amd64 Packages
Get:9 https://enterprise.proxmox.com jessie/pve-enterprise Translation-en [256 B]
Ign http://download.opensuse.org Translation-en
Get:10 https://enterprise.proxmox.com jessie/pve-enterprise Translation-en [256 B]
Get:11 https://enterprise.proxmox.com jessie/pve-enterprise Translation-en [256 B]
Get:12 https://enterprise.proxmox.com jessie/pve-enterprise Translation-en [256 B]
Ign https://enterprise.proxmox.com jessie/pve-enterprise Translation-en
Fetched 683 kB in 2s (301 kB/s)
Reading package lists...
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://ftp.debian.org jessie Release: The following signatures were invalid: BADSIG 8B48AD6246925553 Debian Archive Automatic Signing Key (7.0/wheezy) <ftpmaster@debian.org>

W: Failed to fetch http://ftp.debian.org/debian/dists/jessie/Release

W: Some index files failed to download. They have been ignored, or old ones used instead.
TASK OK

Here is the output of apt-key list:

/etc/apt/trusted.gpg
--------------------
pub 2048R/D880C8E4 2013-10-08 [expires: 2018-02-24]
uid shells:fish OBS Project <shells:fish@build.opensuse.org>

/etc/apt/trusted.gpg.d/debian-archive-jessie-automatic.gpg
----------------------------------------------------------
pub 4096R/2B90D010 2014-11-21 [expires: 2022-11-19]
uid Debian Archive Automatic Signing Key (8/jessie) <ftpmaster@debian.org>

/etc/apt/trusted.gpg.d/debian-archive-jessie-security-automatic.gpg
-------------------------------------------------------------------
pub 4096R/C857C906 2014-11-21 [expires: 2022-11-19]
uid Debian Security Archive Automatic Signing Key (8/jessie) <ftpmaster@debian.org>

/etc/apt/trusted.gpg.d/debian-archive-jessie-stable.gpg
-------------------------------------------------------
pub 4096R/518E17E1 2013-08-17 [expires: 2021-08-15]
uid Jessie Stable Release Key <debian-release@lists.debian.org>

/etc/apt/trusted.gpg.d/debian-archive-squeeze-automatic.gpg
-----------------------------------------------------------
pub 4096R/473041FA 2010-08-27 [expires: 2018-03-05]
uid Debian Archive Automatic Signing Key (6.0/squeeze) <ftpmaster@debian.org>

/etc/apt/trusted.gpg.d/debian-archive-squeeze-stable.gpg
--------------------------------------------------------
pub 4096R/B98321F9 2010-08-07 [expires: 2017-08-05]
uid Squeeze Stable Release Key <debian-release@lists.debian.org>

/etc/apt/trusted.gpg.d/debian-archive-wheezy-automatic.gpg
----------------------------------------------------------
pub 4096R/46925553 2012-04-27 [expires: 2020-04-25]
uid Debian Archive Automatic Signing Key (7.0/wheezy) <ftpmaster@debian.org>

/etc/apt/trusted.gpg.d/debian-archive-wheezy-stable.gpg
-------------------------------------------------------
pub 4096R/65FFB764 2012-05-08 [expires: 2019-05-07]
uid Wheezy Stable Release Key <debian-release@lists.debian.org>

/etc/apt/trusted.gpg.d/proxmox-ve-release-4.x.gpg
-------------------------------------------------
pub 1024D/9887F95A 2008-10-28
uid Proxmox Release Key <proxmox-release@proxmox.com>

/etc/apt/trusted.gpg.d/proxmox-ve-release-5.x.gpg
-------------------------------------------------
pub 4096R/E2EF0603 2016-08-29 [expires: 2026-08-27]
uid Proxmox Virtual Environment 5.x Release Key <proxmox-release@proxmox.com>

Here is /etc/apt/sources.list:

deb http://ftp.debian.org/debian jessie main contrib

# security updates
deb http://security.debian.org jessie/updates main contrib

And finally, here is what /etc/apt/sources.list.d contains:

fish.list pve-enterprise.list

Thanks for your help.
 
possibly your cached copy of the Release file is corrupt? you can either delete it manually or switch mirror to force a re-download..
 
Where is the Release file located and what's it full name? Or how do I change the mirror and where is a list of mirrors?

you can replace "ftp.debian.org" with "deb.debian.org" in your /etc/apt/sources.list file, followed by "apt-get update" to refresh package sources.
 
Last edited by a moderator: