====== Репозитории для Jessie и Wheezy ====== Или как использовать Debian 7 Wheezy и Debian 8 Jessie в 2019 году. Ничто не вечно, все Debian пакеты попадают в рай архив, подробнее здесь [[https://lists.debian.org/debian-devel-announce/2019/03/msg00006.html|Removal of Wheezy and Jessie (except LTS) from mirrors]] ❌ При запуске **apt update** ошибка E: Some index files failed to download. They have been ignored, or old ones used instead. ❌ Если подключен backports, то будет еще ошибка W: Failed to fetch http://ftp.debian.org/debian/dists/jessie-backports/main/binary-amd64/Packages 404 Not Found [IP: 130.89.148.12 80] W: Failed to fetch http://ftp.debian.org/debian/dists/jessie-backports/contrib/binary-amd64/Packages 404 Not Found [IP: 130.89.148.12 80] W: Failed to fetch http://ftp.debian.org/debian/dists/jessie-backports/non-free/binary-amd64/Packages 404 Not Found [IP: 130.89.148.12 80] ✅ Новый ''/etc/apt/sources.list'' выглядит так deb http://security.debian.org/ jessie/updates main deb-src http://security.debian.org/ jessie/updates main deb http://archive.debian.org/debian/ jessie main contrib non-free deb-src http://archive.debian.org/debian/ jessie main contrib non-free deb http://archive.debian.org/debian/ jessie-backports main deb-src http://archive.debian.org/debian/ jessie-backports main ❌ Ошибка с включенным backports репозиторием E: Release file for http://archive.debian.org/debian/dists/jessie-backports/InRelease is expired (invalid since 188d 17h 37min 57s). Updates for this repository will not be applied. ✅ Запускаем apt с дополнительным ключом для отключения проверки срока действия репозитория # apt-get -o Acquire::Check-Valid-Until=false update или ✅ можно создать файл настроек apt # echo 'Acquire::Check-Valid-Until no;' > /etc/apt/apt.conf.d/99-no-check-valid-until UPD wheezy deb http://archive.debian.org/debian/ wheezy main deb-src http://archive.debian.org/debian/ wheezy main deb http://security.debian.org/ wheezy/updates main contrib deb-src http://security.debian.org/ wheezy/updates main contrib {{tag>linux debian wheezy jessie backports}}