"Algo malvado aconteceu" erro no apt-get

9

Toda vez que eu tento instalar através do terminal eu recebo isso " Não consigo instalar ou atualizar e não consigo encontrar resposta de trabalho para isso aqui. Aqui está o meu resultado de atualização do apt-get:

Hit http://ppa.launchpad.net raring Release.gpg                                
Hit http://deb.opera.com stable Release.gpg                                    
Hit http://ppa.launchpad.net raring Release.gpg                                
Hit http://deb.opera.com stable Release                                        
Hit http://ppa.launchpad.net raring Release                                    
Hit http://deb.opera.com stable/non-free i386 Packages                         
Hit http://ppa.launchpad.net raring Release                                    
Hit http://ppa.launchpad.net raring/main i386 Packages                         
Hit http://ppa.launchpad.net raring/main i386 Packages                         
Ign http://deb.opera.com stable/non-free Translation-en_US                     
Ign http://deb.opera.com stable/non-free Translation-en                        
Ign http://ppa.launchpad.net raring/main Translation-en_US                     
Ign http://ppa.launchpad.net raring/main Translation-en                        
Ign http://ppa.launchpad.net raring/main Translation-en_US                     
Ign http://ppa.launchpad.net raring/main Translation-en                        
Err http://archive.ubuntu.com raring Release.gpg                               
  Something wicked happened resolving 'archive.ubuntu.com:http' (-11 - System error)
Err http://extras.ubuntu.com raring Release.gpg                                
  Something wicked happened resolving 'extras.ubuntu.com:http' (-11 - System error)
Err http://dl.google.com stable Release.gpg                                    
  Something wicked happened resolving 'dl.google.com:http' (-11 - System error)
Ign https://private-ppa.launchpad.net quantal Release.gpg           
Err http://archive.ubuntu.com raring-updates Release.gpg                       
  Something wicked happened resolving 'archive.ubuntu.com:http' (-11 - System error)
Get:1 http://archive.ubuntu.com raring-security Release.gpg [933 B]            
Get:2 http://archive.ubuntu.com raring-proposed Release.gpg [933 B]            
Get:3 http://archive.ubuntu.com raring-backports Release.gpg [933 B]           
Hit http://archive.ubuntu.com raring Release                                   
Get:4 http://archive.ubuntu.com raring-updates Release [40.8 kB]    
Get:5 http://archive.ubuntu.com raring-security Release [40.8 kB]              
Ign http://extras.ubuntu.com raring Release                                    
Ign http://dl.google.com stable Release                                        
Ign https://private-ppa.launchpad.net quantal Release                
Get:6 http://archive.ubuntu.com raring-proposed Release [40.8 kB]              
Hit http://archive.ubuntu.com raring-backports Release                         
Ign http://archive.ubuntu.com raring/main Sources/DiffIndex                    
Ign http://archive.ubuntu.com raring/restricted Sources/DiffIndex              
Ign http://archive.ubuntu.com raring/universe Sources/DiffIndex                
Ign http://archive.ubuntu.com raring/multiverse Sources/DiffIndex              
Ign http://archive.ubuntu.com raring/main i386 Packages/DiffIndex   
Ign http://archive.ubuntu.com raring/restricted i386 Packages/DiffIndex
Ign http://archive.ubuntu.com raring/universe i386 Packages/DiffIndex          
Ign http://archive.ubuntu.com raring/multiverse i386 Packages/DiffIndex        
Hit http://archive.ubuntu.com raring/main Translation-en                       
Hit http://archive.ubuntu.com raring/multiverse Translation-en                 
Hit http://archive.ubuntu.com raring/restricted Translation-en                 
Ign http://dl.google.com stable/main i386 Packages/DiffIndex                   
Hit http://archive.ubuntu.com raring/universe Translation-en                   
Ign http://archive.ubuntu.com raring-updates/main Sources/DiffIndex            
Ign http://archive.ubuntu.com raring-updates/restricted Sources/DiffIndex      
Ign http://archive.ubuntu.com raring-updates/universe Sources/DiffIndex        
Ign https://private-ppa.launchpad.net quantal/main i386 Packages/DiffIndex     
Ign http://archive.ubuntu.com raring-updates/multiverse Sources/DiffIndex      
Ign http://archive.ubuntu.com raring-updates/main i386 Packages/DiffIndex      
Hit http://dl.google.com stable/main i386 Packages                             
Ign http://archive.ubuntu.com raring-updates/restricted i386 Packages/DiffIndex
Ign http://archive.ubuntu.com raring-updates/universe i386 Packages/DiffIndex  
Ign http://archive.ubuntu.com raring-updates/multiverse i386 Packages/DiffIndex
Hit http://archive.ubuntu.com raring-updates/main Translation-en               
Hit http://archive.ubuntu.com raring-updates/multiverse Translation-en         
Hit http://archive.ubuntu.com raring-updates/restricted Translation-en         
Hit http://archive.ubuntu.com raring-updates/universe Translation-en           
Get:7 http://archive.ubuntu.com raring-security/main Sources [24.7 kB]         
Get:8 http://archive.ubuntu.com raring-security/restricted Sources [14 B]      
Get:9 http://archive.ubuntu.com raring-security/universe Sources [4,802 B]     
Get:10 http://archive.ubuntu.com raring-security/multiverse Sources [690 B]    
Hit https://private-ppa.launchpad.net quantal/main i386 Packages               
Ign http://dl.google.com stable/main Translation-en_US                         
Get:11 http://archive.ubuntu.com raring-security/main i386 Packages [67.9 kB]  
Ign http://dl.google.com stable/main Translation-en                            
Get:12 http://archive.ubuntu.com raring-security/restricted i386 Packages [14 B]
Get:13 http://archive.ubuntu.com raring-security/universe i386 Packages [19.2 kB]
Get:14 http://archive.ubuntu.com raring-security/multiverse i386 Packages [1,403 B]
Hit http://archive.ubuntu.com raring-security/main Translation-en              
Ign http://extras.ubuntu.com raring/main Sources/DiffIndex                     
Hit http://archive.ubuntu.com raring-security/multiverse Translation-en        
Hit http://archive.ubuntu.com raring-security/restricted Translation-en        
Hit http://archive.ubuntu.com raring-security/universe Translation-en          
Get:15 http://archive.ubuntu.com raring-proposed/universe i386 Packages [18.0 kB]
Get:16 http://archive.ubuntu.com raring-proposed/main i386 Packages [29.9 kB]  
Get:17 http://archive.ubuntu.com raring-proposed/multiverse i386 Packages [14 B]
Get:18 http://archive.ubuntu.com raring-proposed/restricted i386 Packages [14 B]
Hit http://archive.ubuntu.com raring-proposed/main Translation-en              
Hit http://archive.ubuntu.com raring-proposed/multiverse Translation-en        
Hit http://archive.ubuntu.com raring-proposed/restricted Translation-en        
Hit http://archive.ubuntu.com raring-proposed/universe Translation-en          
Hit http://archive.ubuntu.com raring-backports/multiverse i386 Packages        
Hit http://archive.ubuntu.com raring-backports/main i386 Packages              
Hit http://archive.ubuntu.com raring-backports/restricted i386 Packages        
Hit http://archive.ubuntu.com raring-backports/universe i386 Packages          
Hit http://archive.ubuntu.com raring-backports/main Translation-en             
Ign https://private-ppa.launchpad.net quantal/main Translation-en_US           
Hit http://archive.ubuntu.com raring-backports/multiverse Translation-en       
Hit http://archive.ubuntu.com raring-backports/restricted Translation-en       
Hit http://archive.ubuntu.com raring-backports/universe Translation-en         
Hit http://archive.ubuntu.com raring/main Sources                              
Ign https://private-ppa.launchpad.net quantal/main Translation-en              
Hit http://archive.ubuntu.com raring/restricted Sources                        
Hit http://archive.ubuntu.com raring/universe Sources                          
Hit http://archive.ubuntu.com raring/multiverse Sources                        
Hit http://archive.ubuntu.com raring/main i386 Packages                        
Hit http://archive.ubuntu.com raring/restricted i386 Packages
Hit http://archive.ubuntu.com raring/universe i386 Packages
Hit http://archive.ubuntu.com raring/multiverse i386 Packages
Get:19 http://archive.ubuntu.com raring-updates/main Sources [37.0 kB]
Get:20 http://archive.ubuntu.com raring-updates/restricted Sources [14 B]
Get:21 http://archive.ubuntu.com raring-updates/universe Sources [49.8 kB]     
Ign http://extras.ubuntu.com raring/main i386 Packages/DiffIndex               
Get:22 http://archive.ubuntu.com raring-updates/multiverse Sources [690 B]     
Get:23 http://archive.ubuntu.com raring-updates/main i386 Packages [93.5 kB]   
Get:24 http://archive.ubuntu.com raring-updates/restricted i386 Packages [14 B]
Get:25 http://archive.ubuntu.com raring-updates/universe i386 Packages [94.2 kB]
Get:26 http://archive.ubuntu.com raring-updates/multiverse i386 Packages [1,403 B]
Ign http://archive.ubuntu.com raring/main Translation-en_US                    
Ign http://archive.ubuntu.com raring/multiverse Translation-en_US
Ign http://archive.ubuntu.com raring/restricted Translation-en_US
Ign http://archive.ubuntu.com raring/universe Translation-en_US
Ign http://archive.ubuntu.com raring-updates/main Translation-en_US
Ign http://archive.ubuntu.com raring-updates/multiverse Translation-en_US
Ign http://archive.ubuntu.com raring-updates/restricted Translation-en_US
Ign http://archive.ubuntu.com raring-updates/universe Translation-en_US
Ign http://archive.ubuntu.com raring-security/main Translation-en_US
Ign http://archive.ubuntu.com raring-security/multiverse Translation-en_US
Ign http://archive.ubuntu.com raring-security/restricted Translation-en_US
Ign http://archive.ubuntu.com raring-security/universe Translation-en_US
Ign http://archive.ubuntu.com raring-proposed/main Translation-en_US
Ign http://archive.ubuntu.com raring-proposed/multiverse Translation-en_US
Ign http://archive.ubuntu.com raring-proposed/restricted Translation-en_US
Ign http://archive.ubuntu.com raring-proposed/universe Translation-en_US
Ign http://archive.ubuntu.com raring-backports/main Translation-en_US
Ign http://archive.ubuntu.com raring-backports/multiverse Translation-en_US
Ign http://archive.ubuntu.com raring-backports/restricted Translation-en_US
Ign http://archive.ubuntu.com raring-backports/universe Translation-en_US
Err http://extras.ubuntu.com raring/main Translation-en_US
  Something wicked happened resolving 'extras.ubuntu.com:http' (-11 - System error)
Err http://extras.ubuntu.com raring/main Translation-en
  Something wicked happened resolving 'extras.ubuntu.com:http' (-11 - System error)
Err http://extras.ubuntu.com raring/main Sources
  Something wicked happened resolving 'extras.ubuntu.com:http' (-11 - System error)
Err http://extras.ubuntu.com raring/main i386 Packages
  Something wicked happened resolving 'extras.ubuntu.com:http' (-11 - System error)
Fetched 568 kB in 8min 0s (1,181 B/s) 
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring/Release.gpg  Something wicked happened resolving 'archive.ubuntu.com:http' (-11 - System error)

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring-updates/Release.gpg  Something wicked happened resolving 'archive.ubuntu.com:http' (-11 - System error)

W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/raring/Release.gpg  Something wicked happened resolving 'extras.ubuntu.com:http' (-11 - System error)

W: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/Release.gpg  Something wicked happened resolving 'dl.google.com:http' (-11 - System error)

W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/raring/main/i18n/Translation-en_US  Something wicked happened resolving 'extras.ubuntu.com:http' (-11 - System error)

W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/raring/main/i18n/Translation-en  Something wicked happened resolving 'extras.ubuntu.com:http' (-11 - System error)

W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/raring/main/source/Sources  Something wicked happened resolving 'extras.ubuntu.com:http' (-11 - System error)

W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/raring/main/binary-i386/Packages  Something wicked happened resolving 'extras.ubuntu.com:http' (-11 - System error)

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

    
por Dragon 19.06.2013 / 14:22

5 respostas

4

Feche todos os programas / janelas que tenham a ver com a instalação do software, por ex. Synaptic, software-center e terminais.

Agora você deve excluir os arquivos bloqueados:

  

Você pode excluir o arquivo de bloqueio com

sudo rm /var/lib/apt/lists/lock
     

você também pode precisar excluir o arquivo de bloqueio no diretório de cache

sudo rm /var/cache/apt/archives/lock 
     

por: esta resposta

e agora você deve abrir um terminal e executar:

 sudo apt-get update --fix-missing

e agora você pode instalar tudo o que quiser novamente.

Solução referida de

    
por karan 19.06.2013 / 14:59
1

Pode ser que você esteja se conectando à Internet por meio de um proxy, portanto, configure os proxies para apt-get fazendo o seguinte:

  • crie uma pasta em /etc/apt/apt.conf.d/

    $ sudo leafpad /etc/apt/apt.conf.d/95proxies
    
  • No lado do arquivo aberto, cole o seguinte:

    Acquire::http::proxy "http://yourProxyIP:8080/";
    Acquire::ftp::proxy "ftp://yourProxyIP:8080/";
    Acquire::https::proxy "https://yourProxyIP:8080/";
    

Certifique-se de alterar seu ProxyIP com um IP de proxy correto.

Salve o arquivo pressionando Ctrl + S Então corra:

sudo apt-get update.

veja: Como posso definir servidores proxy em todo o sistema no Xubuntu, Lubuntu ou Ubuntu Studio?

    
por Odat 06.02.2014 / 13:54
0

digite sudo apt-get update --fix-missing

    
por BiggJJ 19.06.2013 / 14:37
0

sudo redefine o ambiente por padrão (cf. man sudoers), então, se você adicionar suas configurações de proxy em .bashrc, você pode querer mover isso para / etc / environment, ou corrija o /etc/sudoers.d/ apropriadamente.

    
por user170329 26.06.2013 / 09:08
0

Se você tem um proxy, este link tem algumas respostas.

link

Veja a seção Configurando o apt-get para usar um http-proxy dentro da página web.

    
por user180897 03.08.2013 / 02:43