2025 год, необходимо в ОС Debian 10 Buster установить некий пакет из стандартного репозитория, но apt update сообщает следующее:
Ign:1 http://security.debian.org/debian-security buster/updates InRelease
Ign:2 http://deb.debian.org/debian buster InRelease
Err:3 http://security.debian.org/debian-security buster/updates Release
404 Not Found [IP: 192.168.1.1 3128]
Ign:4 http://deb.debian.org/debian buster-updates InRelease
Err:5 http://deb.debian.org/debian buster Release
404 Not Found [IP: 192.168.1.1 3128]
Err:6 http://deb.debian.org/debian buster-updates Release
404 Not Found [IP: 192.168.1.1 3128]
Reading package lists... Done
E: The repository 'http://security.debian.org/debian-security buster/updates Release' no longer has 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://deb.debian.org/debian buster Release' no longer has 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://deb.debian.org/debian buster-updates Release' no longer has 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.
Текущий /etc/apt/sources.list содержит строки:
deb http://deb.debian.org/debian/ buster main
deb-src http://deb.debian.org/debian/ buster main
deb http://security.debian.org/debian-security buster/updates main
deb-src http://security.debian.org/debian-security buster/updates main
deb http://deb.debian.org/debian/ buster-updates main
deb-src http://deb.debian.org/debian/ buster-updates main
Необходимо deb.debian.org и security.debian.org заменить на archive.debian.org, в итоге получается следующее содержимое:
deb http://archive.debian.org/debian/ buster main
deb-src http://archive.debian.org/debian/ buster main
deb http://archive.debian.org/debian-security buster/updates main
deb-src http://archive.debian.org/debian-security buster/updates main
deb http://archive.debian.org/debian/ buster-updates main
deb-src http://archive.debian.org/debian/ buster-updates main
После чего apt update начинает работать и можно установить необходимый пакет.