склонный - получают обновление, добираясь 404 на debian lenny

Помещение localhost в /etc/hostname и

127.0.0.1 localhost.localdomain localhost

в /etc/hosts прекрасен. Отображения могут быть установлены в DNS, и можно установить остальных явно (апачу настроят ServerName в виртуальных хостах, и т.д.).

23
задан 3 April 2012 в 15:32
3 ответа

From a little poking around, it appears to be a problem with the Debian mirrors. According to the mirror info, lenny should be available, although you might need to change each instance of 'lenny' with 'oldstable' in /etc/apt/sources.list. However, pulling up 3 mirrors have all shown that 'lenny' and 'oldstable' are no longer listed.

Update: I did a little more poking around, and found that the USC Mirror looks to still have 'lenny' listed. Comment out your existing entries in sources.list and duplicate them the:

deb http://ftp.us.debian.org/debian/

Replaced with:

deb ftp://mirrors.usc.edu/pub/linux/distributions/debian/

See if that does the trick.

With a little luck this is a temporary issue, and will resolve itself in a few days.

Update 2: It looks like this is not temporary, and http://archive.debian.org is the best place to pull packages for Lenny. Also, it looks like security support for Lenny was ended on Feb. 12th 2012, although they did release 5.0.10, a point update, on March 10th, 2012.

It would probably be worth planning out an upgrade, especially for any Internet/public facing servers.

14
ответ дан 28 November 2019 в 20:19

измените ваш /etc/apt/sources.list следующим образом:

deb http://archive.debian.org/debian/ lenny main contrib non-free
deb-src http://archive.debian.org/debian/ lenny main contrib non-free

deb http://archive.debian.org/debian-security lenny/updates main contrib non-free
deb-src http://archive.debian.org/debian-security lenny/updates main contrib non-free

deb http://archive.debian.org/debian-volatile lenny/volatile main contrib non-free
deb-src http://archive.debian.org/debian-volatile lenny/volatile main contrib non-free
29
ответ дан 28 November 2019 в 20:19

Пакеты Lenny были удалены со всех зеркал по адресу: archive.debian.org Итак, обновите свой sources.list, чтобы: deb http://archive.debian.org lenny main contrib

Хорошо, у меня это не сработало, но

 deb http://archive.debian.org/debian lenny main contrib

сработало

2
ответ дан 28 November 2019 в 20:19

Теги

Похожие вопросы