Erro dos Repositórios

-1

Eu estava usando o 14.04 beta, Quando o lançamento estável foi lançado, eu pensei que ele poderia atualizar para estável, mas agora eu continuo recebendo esses messages com o sudo apt-get update, e um semelhante com synaptic

    Ign cdrom://Ubuntu 14.04 LTS _Trusty Tahr_ - Beta amd64 (20140326) trusty Release.gpg
    Ign cdrom://Ubuntu 14.04 LTS _Trusty Tahr_ - Beta amd64 (20140326) trusty Release
    Err cdrom://Ubuntu 14.04 LTS _Trusty Tahr_ - Beta amd64 (20140326) trusty/main amd64 Packages
      Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
    Err cdrom://Ubuntu 14.04 LTS _Trusty Tahr_ - Beta amd64 (20140326) trusty/restricted amd64 Packages
      Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
    Err cdrom://Ubuntu 14.04 LTS _Trusty Tahr_ - Beta amd64 (20140326) trusty/main i386 Packages
      Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
    Err cdrom://Ubuntu 14.04 LTS _Trusty Tahr_ - Beta amd64 (20140326) trusty/restricted i386 Packages
      Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
    Ign cdrom://Ubuntu 14.04 LTS _Trusty Tahr_ - Beta amd64 (20140326) trusty/main Translation-en_US
    Ign cdrom://Ubuntu 14.04 LTS _Trusty Tahr_ - Beta amd64 (20140326) trusty/main Translation-en
    Ign cdrom://Ubuntu 14.04 LTS _Trusty Tahr_ - Beta amd64 (20140326) trusty/restricted Translation-en_US
    Ign cdrom://Ubuntu 14.04 LTS _Trusty Tahr_ - Beta amd64 (20140326) trusty/restricted Translation-en
    Ign http://dl.google.com stable InRelease                                      
    Ign http://dl.google.com stable InRelease                                      
    Hit http://dl.google.com stable Release.gpg                                    
    Hit http://dl.google.com stable Release.gpg                                    
    Hit http://dl.google.com stable Release                                        
    Hit http://dl.google.com stable Release                                        
    Hit http://dl.google.com stable/main amd64 Packages                            
    Hit http://dl.google.com stable/main i386 Packages                             
    Hit http://dl.google.com stable/main amd64 Packages                            
    Hit http://dl.google.com stable/main i386 Packages                             
    Get:1 https://download.01.org trusty InRelease                                 
    Ign https://download.01.org trusty InRelease                                   
    Get:2 https://download.01.org trusty/main amd64 Packages/DiffIndex             
    Ign https://download.01.org trusty/main amd64 Packages/DiffIndex               
    Ign https://download.01.org trusty/main i386 Packages/DiffIndex                
    Ign http://dl.google.com stable/main Translation-en_US                         
    Ign http://dl.google.com stable/main Translation-en                            
    Ign http://dl.google.com stable/main Translation-en_US                         
    Ign http://dl.google.com stable/main Translation-en                            
    Ign http://archive.ubuntu.com trusty InRelease                                 
    Ign http://extras.ubuntu.com trusty InRelease                                  
    Ign http://archive.ubuntu.com trusty-updates InRelease                         
    Ign http://archive.canonical.com trusty InRelease                              
    Ign http://archive.ubuntu.com trusty-backports InRelease                       
    Hit http://extras.ubuntu.com trusty Release.gpg                                
    Hit http://archive.canonical.com trusty Release.gpg                            
    Ign http://archive.ubuntu.com trusty-security InRelease                        
    Hit http://extras.ubuntu.com trusty Release                                    
    Ign http://archive.ubuntu.com trusty-proposed InRelease                        
    Hit http://archive.canonical.com trusty Release                                
    Hit http://archive.ubuntu.com trusty Release.gpg                               
    Hit http://extras.ubuntu.com trusty/main amd64 Packages                        
    Hit http://archive.canonical.com trusty/partner amd64 Packages                 
    Hit http://archive.ubuntu.com trusty-updates Release.gpg                       
    Hit http://extras.ubuntu.com trusty/main i386 Packages                         
    Hit http://archive.ubuntu.com trusty-backports Release.gpg                     
    Hit http://archive.canonical.com trusty/partner i386 Packages                  
    Hit http://archive.ubuntu.com trusty-security Release.gpg                      
    Hit http://archive.ubuntu.com trusty-proposed Release.gpg                      
    Hit http://archive.ubuntu.com trusty Release                                   
    Hit http://archive.ubuntu.com trusty-updates Release                           
    Hit http://archive.ubuntu.com trusty-backports Release                         
    Hit http://archive.ubuntu.com trusty-security Release                          
    Hit http://archive.ubuntu.com trusty-proposed Release                          
    Hit http://archive.ubuntu.com trusty/main Sources                              
    Hit http://archive.ubuntu.com trusty/restricted Sources                        
    Hit http://archive.ubuntu.com trusty/universe Sources                          
    Hit http://archive.ubuntu.com trusty/multiverse Sources                        
    Hit http://archive.ubuntu.com trusty/main amd64 Packages                       
    Hit https://download.01.org trusty/main amd64 Packages                         
    Ign http://extras.ubuntu.com trusty/main Translation-en_US                     
    Ign http://extras.ubuntu.com trusty/main Translation-en                        
    Ign http://archive.canonical.com trusty/partner Translation-en_US              
    Hit http://archive.ubuntu.com trusty/restricted amd64 Packages                 
    Hit http://archive.ubuntu.com trusty/universe amd64 Packages
    Ign http://archive.canonical.com trusty/partner Translation-en
    Hit http://archive.ubuntu.com trusty/multiverse amd64 Packages
    Hit http://archive.ubuntu.com trusty/main i386 Packages    
    Hit https://download.01.org trusty/main i386 Packages
    Hit http://archive.ubuntu.com trusty/restricted i386 Packages
    Hit http://archive.ubuntu.com trusty/universe i386 Packages
    Hit http://archive.ubuntu.com trusty/multiverse i386 Packages
    Get:3 https://download.01.org trusty/main Translation-en_US
    Ign https://download.01.org trusty/main Translation-en_US                      
    Hit http://archive.ubuntu.com trusty/main Translation-en                       
    Ign https://download.01.org trusty/main Translation-en     
    Hit http://archive.ubuntu.com trusty/multiverse Translation-en
    Ign http://ppa.launchpad.net saucy InRelease   
    Hit http://archive.ubuntu.com trusty/restricted Translation-en
    Hit http://ppa.launchpad.net saucy Release.gpg
    Hit http://archive.ubuntu.com trusty/universe Translation-en
    Hit http://ppa.launchpad.net saucy Release
    Hit http://archive.ubuntu.com trusty-updates/main Sources
    Hit http://ppa.launchpad.net saucy/main amd64 Packages
    Hit http://archive.ubuntu.com trusty-updates/restricted Sources
    Hit http://archive.ubuntu.com trusty-updates/universe Sources
    Hit http://ppa.launchpad.net saucy/main i386 Packages
    Hit http://archive.ubuntu.com trusty-updates/multiverse Sources
    Hit http://archive.ubuntu.com trusty-updates/main amd64 Packages
    Hit http://archive.ubuntu.com trusty-updates/restricted amd64 Packages
    Hit http://archive.ubuntu.com trusty-updates/universe amd64 Packages
    Hit http://archive.ubuntu.com trusty-updates/multiverse amd64 Packages
    Hit http://archive.ubuntu.com trusty-updates/main i386 Packages
    Hit http://archive.ubuntu.com trusty-updates/restricted i386 Packages
    Hit http://archive.ubuntu.com trusty-updates/universe i386 Packages
    Hit http://archive.ubuntu.com trusty-updates/multiverse i386 Packages
    Hit http://archive.ubuntu.com trusty-updates/main Translation-en
    Hit http://archive.ubuntu.com trusty-updates/multiverse Translation-en
    Ign http://ppa.launchpad.net saucy/main Translation-en_US
    Ign http://ppa.launchpad.net saucy/main Translation-en
    Hit http://archive.ubuntu.com trusty-updates/restricted Translation-en
    Hit http://archive.ubuntu.com trusty-updates/universe Translation-en
    Hit http://archive.ubuntu.com trusty-backports/main Sources
    Hit http://archive.ubuntu.com trusty-backports/restricted Sources
    Hit http://archive.ubuntu.com trusty-backports/universe Sources
    Hit http://archive.ubuntu.com trusty-backports/multiverse Sources
    Hit http://archive.ubuntu.com trusty-backports/main amd64 Packages
    Hit http://archive.ubuntu.com trusty-backports/restricted amd64 Packages
    Hit http://archive.ubuntu.com trusty-backports/universe amd64 Packages
    Hit http://archive.ubuntu.com trusty-backports/multiverse amd64 Packages
    Hit http://archive.ubuntu.com trusty-backports/main i386 Packages
    Hit http://archive.ubuntu.com trusty-backports/restricted i386 Packages
    Hit http://archive.ubuntu.com trusty-backports/universe i386 Packages
    Hit http://archive.ubuntu.com trusty-backports/multiverse i386 Packages
    Hit http://archive.ubuntu.com trusty-backports/main Translation-en
    Hit http://archive.ubuntu.com trusty-backports/multiverse Translation-en
    Hit http://archive.ubuntu.com trusty-backports/restricted Translation-en
    Hit http://archive.ubuntu.com trusty-backports/universe Translation-en
    Hit http://archive.ubuntu.com trusty-security/main Sources
    Hit http://archive.ubuntu.com trusty-security/restricted Sources
    Hit http://archive.ubuntu.com trusty-security/universe Sources
    Hit http://archive.ubuntu.com trusty-security/multiverse Sources
    Hit http://archive.ubuntu.com trusty-security/main amd64 Packages
    Hit http://archive.ubuntu.com trusty-security/restricted amd64 Packages
    Hit http://archive.ubuntu.com trusty-security/universe amd64 Packages
    Hit http://archive.ubuntu.com trusty-security/multiverse amd64 Packages
    Hit http://archive.ubuntu.com trusty-security/main i386 Packages
    Hit http://archive.ubuntu.com trusty-security/restricted i386 Packages
    Hit http://archive.ubuntu.com trusty-security/universe i386 Packages
    Hit http://archive.ubuntu.com trusty-security/multiverse i386 Packages
    Hit http://archive.ubuntu.com trusty-security/main Translation-en
    Hit http://archive.ubuntu.com trusty-security/multiverse Translation-en
    Hit http://archive.ubuntu.com trusty-security/restricted Translation-en
    Hit http://archive.ubuntu.com trusty-security/universe Translation-en
    Get:4 http://archive.ubuntu.com trusty-proposed/restricted amd64 Packages [14 B]
    Get:5 http://archive.ubuntu.com trusty-proposed/multiverse amd64 Packages [14 B]
    Get:6 http://archive.ubuntu.com trusty-proposed/universe amd64 Packages [34.9 kB]
    Get:7 http://archive.ubuntu.com trusty-proposed/main amd64 Packages [63.9 kB]
    Get:8 http://archive.ubuntu.com trusty-proposed/restricted i386 Packages [14 B]
    Get:9 http://archive.ubuntu.com trusty-proposed/multiverse i386 Packages [14 B]
    Get:10 http://archive.ubuntu.com trusty-proposed/universe i386 Packages [35.2 kB]
    Get:11 http://archive.ubuntu.com trusty-proposed/main i386 Packages [60.8 kB]
    Hit http://archive.ubuntu.com trusty-proposed/main Translation-en
    Hit http://archive.ubuntu.com trusty-proposed/multiverse Translation-en
    Hit http://archive.ubuntu.com trusty-proposed/restricted Translation-en
    Hit http://archive.ubuntu.com trusty-proposed/universe Translation-en
    Ign http://archive.ubuntu.com trusty/main Translation-en_US                    
    Ign http://archive.ubuntu.com trusty/multiverse Translation-en_US
    Ign http://archive.ubuntu.com trusty/restricted Translation-en_US
    Ign http://archive.ubuntu.com trusty/universe Translation-en_US
    Ign http://archive.ubuntu.com trusty-updates/main Translation-en_US
    Ign http://archive.ubuntu.com trusty-updates/multiverse Translation-en_US
    Ign http://archive.ubuntu.com trusty-updates/restricted Translation-en_US
    Ign http://archive.ubuntu.com trusty-updates/universe Translation-en_US
    Ign http://archive.ubuntu.com trusty-backports/main Translation-en_US
    Ign http://archive.ubuntu.com trusty-backports/multiverse Translation-en_US
    Ign http://archive.ubuntu.com trusty-backports/restricted Translation-en_US
    Ign http://archive.ubuntu.com trusty-backports/universe Translation-en_US
    Ign http://archive.ubuntu.com trusty-security/main Translation-en_US
    Ign http://archive.ubuntu.com trusty-security/multiverse Translation-en_US
    Ign http://archive.ubuntu.com trusty-security/restricted Translation-en_US
    Ign http://archive.ubuntu.com trusty-security/universe Translation-en_US
    Ign http://archive.ubuntu.com trusty-proposed/main Translation-en_US
    Ign http://archive.ubuntu.com trusty-proposed/multiverse Translation-en_US
    Ign http://archive.ubuntu.com trusty-proposed/restricted Translation-en_US
    Ign http://archive.ubuntu.com trusty-proposed/universe Translation-en_US
    Fetched 198 kB in 49s (3,992 B/s)
    W: GPG error: https://download.01.org trusty InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A902DDA375E52366
    W: Failed to fetch cdrom://Ubuntu 14.04 LTS _Trusty Tahr_ - Beta amd64 (20140326)/dists/trusty/main/binary-amd64/Packages  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs

    W: Failed to fetch cdrom://Ubuntu 14.04 LTS _Trusty Tahr_ - Beta amd64 (20140326)/dists/trusty/restricted/binary-amd64/Packages  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs

    W: Failed to fetch cdrom://Ubuntu 14.04 LTS _Trusty Tahr_ - Beta amd64 (20140326)/dists/trusty/main/binary-i386/Packages  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs

    W: Failed to fetch cdrom://Ubuntu 14.04 LTS _Trusty Tahr_ - Beta amd64 (20140326)/dists/trusty/restricted/binary-i386/Packages  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs

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

Alguma ideia de como resolver isso?

    
por nabeel 17.05.2014 / 04:18

3 respostas

2

Execute esta linha de comando no Terminal:

sudo echo "deb http://archive.ubuntu.com/ubuntu/ trusty main universe restricted multiverse" > /etc/apt/sources.list; sudo apt-get update
    
por Naveen 17.05.2014 / 04:27
3

Basta comentar a linha que consiste em cdrom: em /etc/apt/sources.list file,

sudo sed -ri '/cdrom\:/ s/^(.*)$/#/g' /etc/apt/sources.list

Em seguida, atualize todos os repositórios,

sudo apt-get update
    
por Avinash Raj 17.05.2014 / 04:41
1

Acabou de ter um problema semelhante comigo ao excluir acidentalmente ppa's antigos. Eu emiti o seguinte comando e ele restaurou o meu ppa e me permitiu atualizar usando sudo apt-get update . O seguinte comando é:

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A902DDA375E52366

Uma vez que isso foi feito, consegui atualizar o apt-get novamente. Espero que isso ajude alguém.

    
por clrn0979 15.07.2014 / 22:31