Content
Introductory
Debian relocated the entire Debian 2019 (Wheezy) on March 20, 7 luggage racksand non-LTS repositories for Debian 8 (Jessie) to archive.debian.org. Archiving for Debian 8 (Jesssie) a jessie-updates and the jessie-backports libraries, so they are no longer available in the Debian main repository, but only in the archive, and they no longer have security updates. Long term support for Jessie (LTS) runs until 2020 June 30, so the packages in it will still be available until that date. Source.
In this tutorial we will look at how to set it up APT package manager repositories so that we can continue to upgrade our Debian 8 (Jessie) system seamlessly.
The symptom
2019. since March 20 on Debian 8 (Jessie) systems apt-get command Update switch causes errors similar to the following in the package manager:
Hiba http://ftp.hu.debian.org jessie-updates/main Sources 404 Not Found [...] Hiba http://ftp.debian.org jessie-backports/main amd64 Packages 404 Not Found [IP: 130.89.148.12 80] [...] Hiba http://httpredir.debian.org jessie-updates/main Sources 404 Not Found [IP: 151.101.120.204 80] Hiba http://httpredir.debian.org jessie-updates/contrib Sources 404 Not Found [IP: 151.101.120.204 80] Hiba http://httpredir.debian.org jessie-updates/non-free Sources 404 Not Found [IP: 151.101.120.204 80] [...] W: Sikertelen letöltés: http://ftp.hu.debian.org/debian/dists/jessie-updates/main/source/Sources 404 Not Found [...] W: Sikertelen letöltés: http://ftp.debian.org/debian/dists/jessie-backports/main/binary-amd64/Packages 404 Not Found [IP: 130.89.148.12 80] [...] W: Sikertelen letöltés: http://httpredir.debian.org/debian/dists/jessie-updates/contrib/binary-amd64/Packages 404 Not Found [IP: 151.101.120.204 80] W: Sikertelen letöltés: http://httpredir.debian.org/debian/dists/jessie-updates/non-free/binary-amd64/Packages 404 Not Found [IP: 151.101.120.204 80] [...] E: Néhány indexfájlt nem sikerült letölteni. Figyelmen kívül lettek hagyva, vagy régebbiek lettek felhasználva.
The solution
Fortunately, you just have to adjust your APT repositories to the correct settings in Debian 8 (Jessie).
To do this, open the package manager's source list for editing as root:
nano /etc/apt/sources.list
And comment on all the libraries that contain "jessie-updates" or "jessie-backports". (Stay tuned for "jessie / updates"!)
Example:
# # deb cdrom:[Debian GNU/Linux 8.7.1 _Jessie_ - Official amd64 NETINST Binary-1 20170116-10:57]/ jessie main #deb cdrom:[Debian GNU/Linux 8.7.1 _Jessie_ - Official amd64 NETINST Binary-1 20170116-10:57]/ jessie main deb http://ftp.hu.debian.org/debian/ jessie main deb-src http://ftp.hu.debian.org/debian/ jessie main deb http://security.debian.org/ jessie/updates main deb-src http://security.debian.org/ jessie/updates main # jessie-updates, previously known as 'volatile' #deb http://ftp.hu.debian.org/debian/ jessie-updates main #deb-src http://ftp.hu.debian.org/debian/ jessie-updates main deb http://ftp.us.debian.org/debian/ jessie main contrib non-free deb-src http://ftp.us.debian.org/debian/ jessie main contrib non-free #deb http://httpredir.debian.org/debian jessie-updates main contrib non-free #deb-src http://httpredir.debian.org/debian jessie-updates main contrib non-free # Jessie Backports #deb http://ftp.debian.org/debian jessie-backports main
Then add the archive repositories:
[...] deb http://archive.debian.org/debian/ jessie main contrib non-free deb-src http://archive.debian.org/debian/ jessie main contrib non-free
The archive repositories still need to be installed with debian-archive-keyring Package containing the digital signatures of the packets in the repository:
apt-get install debian-archive-keyring
Now you can easily upgrade your luggage database and packages:
apt-get update
apt-get upgrade
Packages in the archive are no longer updated and may pose a security risk over time.
Accordingly, in the affected tutorials, I have placed the updated sections in the text, which will allow you to continue to do what is described.
Conclusion
Debian 8 (Jessie) is running slowly, so if you haven't really made your system very personal, you may want to consider distribution upgrade to Debian 9 (Stretch).
- To post registration and login required
- 1122 views