Erros na atualização do Ubuntu Server

2
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.
    
por raulg01 13.10.2013 / 14:51

2 respostas

2

Todas as fontes de software do Ubuntu 8.04 Hardy Heron são obsoletas porque o Ubuntu 8.04 chegou ao End of Life. Abra o terminal, edite /etc/apt/sources.list em nano e apague todas as fontes de software que tenham a string hardy aparecendo nelas:

sudo nano /etc/apt/sources.list

As instruções para usar o editor nano são sempre encontradas na parte inferior de todas as páginas. Os dois únicos atalhos de teclado nano que você precisa saber são Ctrl + O para WriteOut e Ctrl + X para Saída. Quando terminar de editar /etc/apt/sources.list em nano pressione a combinação de teclas Ctrl + O e depois pressione Enter para salvar o arquivo sources.list . Depois disso, pressione a combinação de teclas Ctrl + X para sair do nano.

Em seguida, atualize a lista de softwares disponíveis.

sudo apt-get update  
    
por karel 13.10.2013 / 15:01
1

Para pessoas que gostam de um forro:

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

Substitua old_release por hardy ou qualquer versão antiga que você tenha.

    
por Braiam 14.10.2013 / 17:26