According to the answer here, the debian stretch repositories have been changed to archive.
My previous /etc/apt/sources.list
was this:
deb http://security.debian.org/debian-security stretch/updates main
deb-src http://security.debian.org/debian-security stretch/updates main
deb http://deb.debian.org/debian stretch main
deb-src http://deb.debian.org/debian stretch main
deb http://deb.debian.org/debian stretch-updates main
deb-src http://deb.debian.org/debian stretch-updates main"
I changed deb.debian.org
to archive.debian.org
in the sources.list
file but I am getting the follow errors when I do apt update:
Ign:1 http://security.debian.org/debian-security stretch/updates InRelease
Err:2 http://security.debian.org/debian-security stretch/updates Release
404 Not Found [IP: 146.75.106.132 80]
Ign:3 http://archive.debian.org/debian stretch InRelease
Ign:4 http://archive.debian.org/debian stretch-updates InRelease
Hit:5 http://archive.debian.org/debian stretch Release
Err:6 http://archive.debian.org/debian stretch-updates Release
404 Not Found [IP: 209.87.16.41 80]
Reading package lists...Done
E: The repository 'http://security.debian.org/debian-security stretch/updates Release' does not have a Release file.
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.
E: The repository 'http://archive.debian.org/debian stretch-updates Release' does not have a Release file.
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.
echo 'your source' > /etc/apt/sources.list
More https://unix.stackexchange.com/questions/371890/debian-the-repository-does-not-have-a-release-file – fearis Jan 12 '24 at 14:43debian-devel-announce
, see for example the Jessie announcement — I agree this isn’t particularly discoverable. Archived distributions are listed here, which is accessible from the Getting Debian from the Internet page, but the latter is no longer linked anywhere. – Stephen Kitt Feb 29 '24 at 14:58