Ошибки при обновлении Ubuntu Server

Err http://archive.ubuntu.com hardy-updates/main Sources
  404  Not Found [IP: 91.189.92.202 80]
Hit http://eu-west-1.ec2.archive.ubuntucom precise/main Translation-en
Hit http://eu-west-1.ec2.archive.ubuntu.com precise/multiverse Translation-en
Hit http://eu-west-1.ec2.archive.ubuntu.com precise/universe Translation-en
Hit http://eu-west-1.ec2.archive.ubuntu.com precise-updates/main Translation-en
Hit http://eu-west-1.ec2.archive.ubuntu.com precise-updates/multiverse Translation-en
Err http://archive.ubuntu.com hardy-updates/multiverse Sources
  404  Not Found [IP: 91.189.92.202 80]
Hit http://eu-west-1.ec2.archive.ubuntu.com precise-updates/universe Translation-en
Err http://archive.ubuntu.com hardy-updates/main amd64 Packages
  404  Not Found [IP: 91.189.92.202 80]
Hit http://eu-west-1.ec2.archive.ubuntu.com precise-backports/main Translation-en
Err http://archive.ubuntu.com hardy-updates/multiverse amd64 Packages
  404  Not Found [IP: 91.189.92.202 80]
Hit http://eu-west-1.ec2.archive.ubuntu.com precise-backports/multiverse Translation-en
Err http://archive.ubuntu.com hardy-updates/main i386 Packages
  404  Not Found [IP: 91.189.92.202 80]
Hit http://eu-west-1.ec2.archive.ubuntu.com precise-backports/restricted Translation-en
Err http://archive.ubuntu.com hardy-updates/multiverse i386 Packages
  404  Not Found [IP: 91.189.92.202 80]
Hit http://eu-west-1.ec2.archive.ubuntu.com precise-backports/universe Translation-en
Ign http://archive.ubuntu.com hardy-updates/main Translation-en_US
Ign http://archive.ubuntu.com hardy-updates/main Translation-en
Ign http://archive.ubuntu.com hardy-updates/multiverse Translation-en_US
Ign http://archive.ubuntu.com hardy-updates/multiverse Translation-en

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/hardy-updates/main/source/Sources  404  Not Found [IP: 91.189.92.202 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/hardy-updates/multiverse/source/Sources  404  Not Found [IP: 91.189.92.202 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/hardy-updates/main/binary-amd64/Packages  404  Not Found [IP: 91.189.92.202 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/hardy-updates/multiverse/binary-amd64/Packages  404  Not Found [IP: 91.189.92.202 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/hardy-updates/main/binary-i386/Packages  404  Not Found [IP: 91.189.92.202 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/hardy-updates/multiverse/binary-i386/Packages  404  Not Found [IP: 91.189.92.202 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
2
задан 13 October 2013 в 16:58

2 ответа

Для людей, которым может понравиться один лайнер:

sudo sed -ni '/old_release/!p' /etc/apt/sources.list

Замените old_release на hardy или какой-либо старый релиз, который у вас есть.

0
ответ дан 13 October 2013 в 16:58

Все программные источники из Ubuntu 8.04 Hardy Heron устарели, потому что Ubuntu 8.04 достигла конца жизни. Откройте терминал, отредактируйте /etc/apt/sources.list в nano и удалите все программные источники, в которых есть строка hardy :

sudo nano /etc/apt/sources.list

Инструкции по использованию нано-редактора всегда находится внизу каждой страницы. Вам нужно знать только два сочетания клавиш nano: Ctrl + O для WriteOut и Ctrl + X для Выход. Когда вы закончите редактирование /etc/apt/sources.list в nano, нажмите комбинацию клавиш Ctrl + O и после этого нажмите Enter , чтобы сохранить файл sources.list , После этого нажмите сочетание клавиш Ctrl + X , чтобы выйти из nano.

Затем обновите список доступного программного обеспечения.

sudo apt-get update  
0
ответ дан 13 October 2013 в 16:58

Другие вопросы по тегам:

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