I finally decided to move from debian 7 to 10. As a first step I wanted
to upgrade to debian 8 (jesse)
I changed all ftp.us.debian.org part in /etc/apt/sources.list to
archive.debian.org and tried aptitude update and got the following error
W: GPG error: http://archive.debian.org wheezy Release: The following
signatures were invalid: KEYEXPIRED 1587841717 KEYEXPIRED 1587841717
KEYEXPIRED 1587841717 KEYEXPIRED 1587841717 KEYEXPIRED 1587841717
KEYEXPIRED 1557241909 The following signatures couldn't be verified
because the public key is not available: NO_PUBKEY 7638D0442B90D010
W: GPG error: http://archive.debian.org wheezy-backports Release: The
following signatures were invalid: KEYEXPIRED 1587841717 KEYEXPIRED
1587841717 KEYEXPIRED 1587841717 KEYEXPIRED 1587841717 KEYEXPIRED
1587841717 The following signatures couldn't be verified because the
public key is not available: NO_PUBKEY 7638D0442B90D010
So I proceeded to update the keys. I did the following
sudo apt-key list | grep expired
pub???? 4096R/B98321F9 2010-08-07 [expired: 2017-08-05]
pub???? 4096R/46925553 2012-04-27 [expired: 2020-04-25]
pub???? 4096R/65FFB764 2012-05-08 [expired: 2019-05-07]
After that I did
foreach i (B98321F9 46925553 65FFB764)
apt-key adv --keyserver keys.gnupg.net --recv-keys $i
end
It updated the keys, but even after that I got the same error and the
dates on the expired keys do not change anymore.
What am I missing?
Ramesh