RTFM.WIKI

Ordnung muß sein. Ordnung über alles (18+)

Инструменты пользователя

Инструменты сайта


Боковая панель


Навигация

Линкшэринг

ALARM!

Добавить новую страницу

You are not allowed to add pages
linux:debian:jessie_apt_archive


Репозитории для Jessie и Wheezy

Или как использовать Debian 7 Wheezy и Debian 8 Jessie в 2019 году.

Ничто не вечно, все Debian пакеты попадают в рай архив, подробнее здесь 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
This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies

Discussion

Enter your comment. Wiki syntax is allowed:
 
linux/debian/jessie_apt_archive.txt · Последнее изменение: 2020/03/25 02:27 — dx