Por que o apt-get update falha com erros 404?

2

Eu tenho um problema com o meu 12.10 86_64 Desktop recém-instalado.

Esse erro aparece no console quando tento atualizar o apt-get ou tentar instalar pacotes e o nodejs simplesmente não funciona e não há erro no console.

Ignoring file 'eugenesan-java-quantal.list.save' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension

este erro começou depois da minha atualização no apt-get

sudo apt-get update

Sou novato no Ubuntu.

este é o arquivo de log: (em turco 'Yoksay' = ignorado, 'Bağlandı' = Conectado, 'getirilmesi başarısız oldu' = não conseguiu)

attila@Lupuseum:~$ sudo apt-get update
    Yoksay http://security.ubuntu.com quantal-security InRelease
    Yoksay http://extras.ubuntu.com quantal InRelease                              
    Yoksay http://ppa.launchpad.net quantal InRelease                              
    Bağlandı http://security.ubuntu.com quantal-security Release.gpg               
    Bağlandı http://extras.ubuntu.com quantal Release.gpg                          
    Yoksay http://cy.archive.ubuntu.com quantal InRelease                
    Yoksay http://ppa.launchpad.net quantal InRelease                    
    Bağlandı http://security.ubuntu.com quantal-security Release         
    Bağlandı http://extras.ubuntu.com quantal Release                              
    Yoksay http://cy.archive.ubuntu.com quantal-updates InRelease                  
    Bağlandı http://ppa.launchpad.net quantal Release.gpg                          
    Bağlandı http://security.ubuntu.com quantal-security/main Sources    
    Yoksay http://cy.archive.ubuntu.com quantal-backports InRelease      
    Bağlandı http://extras.ubuntu.com quantal/main Sources               
    Yoksay http://ppa.launchpad.net quantal Release.gpg                  
    Bağlandı http://security.ubuntu.com quantal-security/restricted Sources
    Bağlandı http://cy.archive.ubuntu.com quantal Release.gpg            
    Bağlandı http://extras.ubuntu.com quantal/main amd64 Packages        
    Bağlandı http://ppa.launchpad.net quantal Release                    
    Bağlandı http://security.ubuntu.com quantal-security/universe Sources          
    Bağlandı http://cy.archive.ubuntu.com quantal-updates Release.gpg              
    Bağlandı http://extras.ubuntu.com quantal/main i386 Packages                   
    Yoksay http://ppa.launchpad.net quantal Release                                
    Bağlandı http://cy.archive.ubuntu.com quantal-backports Release.gpg            
    Bağlandı http://ppa.launchpad.net quantal/main Sources                         
    Bağlandı http://security.ubuntu.com quantal-security/multiverse Sources
    Bağlandı http://cy.archive.ubuntu.com quantal Release                          
    Bağlandı http://ppa.launchpad.net quantal/main amd64 Packages                  
    Bağlandı http://security.ubuntu.com quantal-security/main amd64 Packages       
    Bağlandı http://cy.archive.ubuntu.com quantal-updates Release                  
    Bağlandı http://ppa.launchpad.net quantal/main i386 Packages                   
    Bağlandı http://security.ubuntu.com quantal-security/restricted amd64 Packages 
    Bağlandı http://cy.archive.ubuntu.com quantal-backports Release      
    Bağlandı http://security.ubuntu.com quantal-security/universe amd64 Packages   
    Bağlandı http://cy.archive.ubuntu.com quantal/main Sources                     
    Bağlandı http://security.ubuntu.com quantal-security/multiverse amd64 Packages
    Bağlandı http://cy.archive.ubuntu.com quantal/restricted Sources     
    Bağlandı http://security.ubuntu.com quantal-security/main i386 Packages
    Bağlandı http://cy.archive.ubuntu.com quantal/universe Sources       
    Bağlandı http://security.ubuntu.com quantal-security/restricted i386 Packages
    Bağlandı http://cy.archive.ubuntu.com quantal/multiverse Sources     
    Bağlandı http://security.ubuntu.com quantal-security/universe i386 Packages
    Bağlandı http://cy.archive.ubuntu.com quantal/main amd64 Packages    
    Bağlandı http://security.ubuntu.com quantal-security/multiverse i386 Packages
    Bağlandı http://cy.archive.ubuntu.com quantal/restricted amd64 Packages
    Bağlandı http://cy.archive.ubuntu.com quantal/universe amd64 Packages
    Bağlandı http://cy.archive.ubuntu.com quantal/multiverse amd64 Packages
    Bağlandı http://security.ubuntu.com quantal-security/main Translation-en
    Yoksay http://extras.ubuntu.com quantal/main Translation-tr_CY       
    Bağlandı http://cy.archive.ubuntu.com quantal/main i386 Packages     
    Bağlandı http://cy.archive.ubuntu.com quantal/restricted i386 Packages
    Yoksay http://extras.ubuntu.com quantal/main Translation-tr          
    Bağlandı http://security.ubuntu.com quantal-security/multiverse Translation-en
    Bağlandı http://cy.archive.ubuntu.com quantal/universe i386 Packages           
    Yoksay http://extras.ubuntu.com quantal/main Translation-en                    
    Bağlandı http://cy.archive.ubuntu.com quantal/multiverse i386 Packages
    Bağlandı http://cy.archive.ubuntu.com quantal/main Translation-tr    
    Bağlandı http://cy.archive.ubuntu.com quantal/main Translation-en
    Bağlandı http://security.ubuntu.com quantal-security/restricted Translation-en
    Bağlandı http://cy.archive.ubuntu.com quantal/multiverse Translation-tr
    Bağlandı http://cy.archive.ubuntu.com quantal/multiverse Translation-en
    Bağlandı http://security.ubuntu.com quantal-security/universe Translation-en
    Bağlandı http://cy.archive.ubuntu.com quantal/restricted Translation-tr
    Bağlandı http://cy.archive.ubuntu.com quantal/restricted Translation-en
    Bağlandı http://cy.archive.ubuntu.com quantal/universe Translation-tr
    Bağlandı http://cy.archive.ubuntu.com quantal/universe Translation-en
    Bağlandı http://cy.archive.ubuntu.com quantal-updates/main Sources
    Bağlandı http://cy.archive.ubuntu.com quantal-updates/restricted Sources
    Bağlandı http://cy.archive.ubuntu.com quantal-updates/universe Sources
    Bağlandı http://cy.archive.ubuntu.com quantal-updates/multiverse Sources
    Bağlandı http://cy.archive.ubuntu.com quantal-updates/main amd64 Packages
    Bağlandı http://cy.archive.ubuntu.com quantal-updates/restricted amd64 Packages
    Bağlandı http://cy.archive.ubuntu.com quantal-updates/universe amd64 Packages
    Bağlandı http://cy.archive.ubuntu.com quantal-updates/multiverse amd64 Packages
    Bağlandı http://cy.archive.ubuntu.com quantal-updates/main i386 Packages
    Bağlandı http://cy.archive.ubuntu.com quantal-updates/restricted i386 Packages
    Bağlandı http://cy.archive.ubuntu.com quantal-updates/universe i386 Packages
    Bağlandı http://cy.archive.ubuntu.com quantal-updates/multiverse i386 Packages
    Yoksay http://ppa.launchpad.net quantal/main Translation-tr_CY
    Yoksay http://ppa.launchpad.net quantal/main Translation-tr
    Yoksay http://ppa.launchpad.net quantal/main Translation-en
    Bağlandı http://cy.archive.ubuntu.com quantal-updates/main Translation-en
    Hata http://ppa.launchpad.net quantal/main Sources                   
      404  Not Found
    Hata http://ppa.launchpad.net quantal/main amd64 Packages            
      404  Not Found
    Hata http://ppa.launchpad.net quantal/main i386 Packages
      404  Not Found
    Bağlandı http://cy.archive.ubuntu.com quantal-updates/multiverse Translation-en
    Yoksay http://ppa.launchpad.net quantal/main Translation-tr_CY
    Yoksay http://security.ubuntu.com quantal-security/main Translation-tr_CY
    Yoksay http://ppa.launchpad.net quantal/main Translation-tr
    Yoksay http://security.ubuntu.com quantal-security/main Translation-tr
    Yoksay http://ppa.launchpad.net quantal/main Translation-en
    Yoksay http://security.ubuntu.com quantal-security/multiverse Translation-tr_CY
    Bağlandı http://cy.archive.ubuntu.com quantal-updates/restricted Translation-en
    Yoksay http://security.ubuntu.com quantal-security/multiverse Translation-tr
    Yoksay http://security.ubuntu.com quantal-security/restricted Translation-tr_CY
    Yoksay http://security.ubuntu.com quantal-security/restricted Translation-tr
    Bağlandı http://cy.archive.ubuntu.com quantal-updates/universe Translation-en
    Yoksay http://security.ubuntu.com quantal-security/universe Translation-tr_CY
    Bağlandı http://cy.archive.ubuntu.com quantal-backports/main Sources
    Yoksay http://security.ubuntu.com quantal-security/universe Translation-tr
    Bağlandı http://cy.archive.ubuntu.com quantal-backports/restricted Sources
    Bağlandı http://cy.archive.ubuntu.com quantal-backports/universe Sources
    Bağlandı http://cy.archive.ubuntu.com quantal-backports/multiverse Sources
    Bağlandı http://cy.archive.ubuntu.com quantal-backports/main amd64 Packages
    Bağlandı http://cy.archive.ubuntu.com quantal-backports/restricted amd64 Packages
    Bağlandı http://cy.archive.ubuntu.com quantal-backports/universe amd64 Packages
    Bağlandı http://cy.archive.ubuntu.com quantal-backports/multiverse amd64 Packages
    Bağlandı http://cy.archive.ubuntu.com quantal-backports/main i386 Packages
    Bağlandı http://cy.archive.ubuntu.com quantal-backports/restricted i386 Packages
    Bağlandı http://cy.archive.ubuntu.com quantal-backports/universe i386 Packages
    Bağlandı http://cy.archive.ubuntu.com quantal-backports/multiverse i386 Packages
    Bağlandı http://cy.archive.ubuntu.com quantal-backports/main Translation-en
    Bağlandı http://cy.archive.ubuntu.com quantal-backports/multiverse Translation-en
    Bağlandı http://cy.archive.ubuntu.com quantal-backports/restricted Translation-en
    Bağlandı http://cy.archive.ubuntu.com quantal-backports/universe Translation-en
    Yoksay http://cy.archive.ubuntu.com quantal/main Translation-tr_CY
    Yoksay http://cy.archive.ubuntu.com quantal/multiverse Translation-tr_CY
    Yoksay http://cy.archive.ubuntu.com quantal/restricted Translation-tr_CY
    Yoksay http://cy.archive.ubuntu.com quantal/universe Translation-tr_CY
    Yoksay http://cy.archive.ubuntu.com quantal-updates/main Translation-tr_CY
    Yoksay http://cy.archive.ubuntu.com quantal-updates/main Translation-tr
    Yoksay http://cy.archive.ubuntu.com quantal-updates/multiverse Translation-tr_CY
    Yoksay http://cy.archive.ubuntu.com quantal-updates/multiverse Translation-tr
    Yoksay http://cy.archive.ubuntu.com quantal-updates/restricted Translation-tr_CY
    Yoksay http://cy.archive.ubuntu.com quantal-updates/restricted Translation-tr
    Yoksay http://cy.archive.ubuntu.com quantal-updates/universe Translation-tr_CY
    Yoksay http://cy.archive.ubuntu.com quantal-updates/universe Translation-tr
    Yoksay http://cy.archive.ubuntu.com quantal-backports/main Translation-tr_CY
    Yoksay http://cy.archive.ubuntu.com quantal-backports/main Translation-tr
    Yoksay http://cy.archive.ubuntu.com quantal-backports/multiverse Translation-tr_CY
    Yoksay http://cy.archive.ubuntu.com quantal-backports/multiverse Translation-tr
    Yoksay http://cy.archive.ubuntu.com quantal-backports/restricted Translation-tr_CY
    Yoksay http://cy.archive.ubuntu.com quantal-backports/restricted Translation-tr
    Yoksay http://cy.archive.ubuntu.com quantal-backports/universe Translation-tr_CY
    Yoksay http://cy.archive.ubuntu.com quantal-backports/universe Translation-tr
    N: Ignoring file 'eugenesan-java-quantal.list.save' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
    W: http://ppa.launchpad.net/richarvey/nodejs/ubuntu/dists/quantal/main/source/Sources 404  Not Found getirilmesi başarısız oldu
    W: http://ppa.launchpad.net/richarvey/nodejs/ubuntu/dists/quantal/main/binary-amd64/Packages 404  Not Found getirilmesi başarısız oldu
    W: http://ppa.launchpad.net/richarvey/nodejs/ubuntu/dists/quantal/main/binary-i386/Packages 404  Not Found getirilmesi başarısız oldu
    E: Some index files failed to download. They have been ignored, or old ones used instead.
    
por Lupus 12.11.2012 / 12:32

1 resposta

6

O problema não é este:

Ignoring file 'eugenesan-java-quantal.list.save' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension

Não há problema em ter arquivos ".save": eles são apenas cópias de backup. Seu problema é este:

[...]
Hata http://ppa.launchpad.net quantal/main Sources                   
  404  Not Found
Hata http://ppa.launchpad.net quantal/main amd64 Packages            
  404  Not Found
Hata http://ppa.launchpad.net quantal/main i386 Packages
  404  Not Found
[...]
W: http://ppa.launchpad.net/richarvey/nodejs/ubuntu/dists/quantal/main/source/Sources 404  Not Found getirilmesi başarısız oldu
W: http://ppa.launchpad.net/richarvey/nodejs/ubuntu/dists/quantal/main/binary-amd64/Packages 404  Not Found getirilmesi başarısız oldu
W: http://ppa.launchpad.net/richarvey/nodejs/ubuntu/dists/quantal/main/binary-i386/Packages 404  Not Found getirilmesi başarısız oldu
E: Some index files failed to download. They have been ignored, or old ones used instead.

Na verdade, se você olhar na página do PPA , verá que os pacotes são criados apenas para Precise não para Quantal.

Você deve:

  1. encontre um outro PPA que crie pacotes NodeJS para o Quantal; ou

  2. edite /etc/apt/sources.list.d/richarvey-nodejs-precise.list e substitua "quantal" por "preciso".

por Andrea Corbellini 20.11.2012 / 18:59