Como consertar a configuração problemática do Ubuntu ppa?

0

Quando eu faço sudo apt-get update

Recebo erros de acompanhamento:

Err http://archive.ubuntu.com raring/main amd64 Packages                                                   
  404  Not Found [IP: 91.189.91.23 80]
Err http://archive.ubuntu.com raring/restricted amd64 Packages                         
  404  Not Found [IP: 91.189.91.23 80]
Err http://archive.ubuntu.com raring/universe amd64 Packages     
  404  Not Found [IP: 91.189.91.23 80]
Err http://archive.ubuntu.com raring/multiverse amd64 Packages   
  404  Not Found [IP: 91.189.91.23 80]
Err http://archive.ubuntu.com raring/main i386 Packages          
  404  Not Found [IP: 91.189.91.23 80]
Err http://archive.ubuntu.com raring/restricted i386 Packages    
  404  Not Found [IP: 91.189.91.23 80]
Err http://archive.ubuntu.com raring/universe i386 Packages      
  404  Not Found [IP: 91.189.91.23 80]
Err http://archive.ubuntu.com raring/multiverse i386 Packages    
  404  Not Found [IP: 91.189.91.23 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring/main/binary-amd64/Packages  404  Not Found [IP: 91.189.91.23 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring/restricted/binary-amd64/Packages  404  Not Found [IP: 91.189.91.23 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring/universe/binary-amd64/Packages  404  Not Found [IP: 91.189.91.23 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring/multiverse/binary-amd64/Packages  404  Not Found [IP: 91.189.91.23 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring/main/binary-i386/Packages  404  Not Found [IP: 91.189.91.23 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring/restricted/binary-i386/Packages  404  Not Found [IP: 91.189.91.23 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring/universe/binary-i386/Packages  404  Not Found [IP: 91.189.91.23 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring/multiverse/binary-i386/Packages  404  Not Found [IP: 91.189.91.23 80]

E: Some index files failed to download. They have been ignored, or old ones used instead.

Eu suspeito que isso está me causando muitos problemas ao adicionar novos ppa e instalar outros programas. No momento eu não consigo instalar o rmagick gem, que requer outros pacotes que não serão instalados porque diz:

The following packages have unmet dependencies:
 libmagickcore-dev : Depends: librsvg2-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Por favor, ajude, ou o último recurso será a reinstalação do Ubuntu, que eu tenho certeza que ninguém gosta.

Saída de nome > >

Linux aditya-Vostro-3446 3.5.0-59-generic #86~precise1-Ubuntu SMP Wed Feb 4 09:52:40 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
    
por whizcreed 24.04.2015 / 12:09

2 respostas

1

Após sua informação, a saída de lsb_release -a é

LSB Version:    core-2.0-amd64:core-2.0-noarch:core-3.0-amd64:core-3.0-noarch:core-3.1-amd64:core-3.1-noarch:core-3.2-amd64:core-3.2-noarch:core-4.0-amd64:core-4.0-noarch:cxx-3.0-amd64:cxx-3.0-noarch:cxx-3.1-amd64:cxx-3.1-noarch:cxx-3.2-amd64:cxx-3.2-noarch:cxx-4.0-amd64:cxx-4.0-noarch:desktop-3.1-amd64:desktop-3.1-noarch:desktop-3.2-amd64:desktop-3.2-noarch:desktop-4.0-amd64:desktop-4.0-noarch:graphics-2.0-amd64:graphics-2.0-noarch:graphics-3.0-amd64:graphics-3.0-noarch:graphics-3.1-amd64:graphics-3.1-noarch:graphics-3.2-amd64:graphics-3.2-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-3.2-amd64:printing-3.2-noarch:printing-4.0-amd64:printing-4.0-noarch:qt4-3.1-amd64:qt4-3.1-noarch
Distributor ID: Ubuntu
Description:    Ubuntu 12.04.5 LTS
Release:    12.04
Codename:   precise

As mensagens de erro são baseadas em Raring .

Para corrigir isso, execute estes comandos:

sudo sed -i 's/raring/precise/g' /etc/apt/sources.list
sudo find /etc/apt/sources.list.d -name "*.list" -print0 | sudo xargs -0 sed -i 's/raring/precise/g'
sudo apt-get update

Para que as entradas sejam corrigidas para corresponder ao seu sistema.

    
por A.B. 24.04.2015 / 12:58
-1

Espero que isso ajude

deb http://old-releases.ubuntu.com/ubuntu/ raring main  
deb http://old-releases.ubuntu.com/ubuntu/ raring universe  

Você pode adicionar todos os repositórios usando essa fonte.

    
por Pavol Polacko 24.04.2015 / 12:23