On Tue, 9 Aug 2022, Aravinth kumar Anbalagan wrote:
Hi @Michael Stone
There are no proxy configured on the server. Please check the below error and
let us know how can we proceed further?
root@policijas-db:~# cd /etc/apt/
apt.conf.d/ preferences.d/ sources.list.d/ trusted.gpg.d/
root@policijas-db:~# cd /etc/apt/apt.conf.d/
root@policijas-db:/etc/apt/apt.conf.d# ls
00CDMountPoint 00trustcdrom 01autoremove 20apt-show-versions 20listchanges
70debconf
root@policijas-db:/etc/apt/apt.conf.d# cat * |grep -i prox
root@policijas-db:/etc/apt/apt.conf.d#
Error:
W: GPG error: http://archive.debian.org squeeze Release: The following
signatures were invalid: KEYEXPIRED 1520281423 KEYEXPIRED 1501892461
W: GPG error: http://archive.debian.org squeeze-lts Release: The following
signatures were invalid: KEYEXPIRED 1587841717
W: Failed to fetch
http://security.debian.org/dists/squeeze/updates/main/source/Sources 404 Not
Found [IP: 151.101.194.132 80]
W: Failed to fetch
http://security.debian.org/dists/squeeze/updates/contrib/source/Sources 404
Not Found [IP: 151.101.194.132 80]
W: Failed to fetch
http://security.debian.org/dists/squeeze/updates/non-free/source/Sources 404
Not Found [IP: 151.101.194.132 80]
W: Failed to fetch
http://security.debian.org/dists/squeeze/updates/main/binary-amd64/Packages
404 Not Found [IP: 151.101.194.132 80]
W: Failed to fetch
http://security.debian.org/dists/squeeze/updates/contrib/binary-amd64/Packages
404 Not Found [IP: 151.101.194.132 80]
W: Failed to fetch
http://security.debian.org/dists/squeeze/updates/non-free/binary-amd64/Packages
404 Not Found [IP: 151.101.194.132 80]
E: Some index files failed to download. They have been ignored, or old ones
used instead.
root@policijas-db:~#
You cannot use security.debian.org for this. This is what I have for
wheezy:
deb http://archive.debian.org/debian wheezy main
deb http://archive.debian.org/debian-security wheezy/updates main
deb-src http://archive.debian.org/debian wheezy main
deb-src http://archive.debian.org/debian-security wheezy/updates main
I assume stretch is similar.
You also need
Acquire::Check-Valid-Until "false";
in apt.conf.
N.B. I assume you're fetching using squeeze - so perhaps you will need
to download using a newer distro then re-sign the release file. I don't
have such an old release even for experiments!