"Etwas böses passiert" Fehler in apt-get

9

Jedes Mal, wenn ich versuche, über Terminal zu installieren, bekomme ich das " Ich bin nicht in der Lage zu installieren oder zu aktualisieren und ich kann hier keine funktionierende Antwort finden. Hier ist mein apt-get Update-Ergebnis:

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.

    
Dragon 19.06.2013, 14:22

5 Antworten

4

Schließen Sie alle Programme / Fenster, die mit der Installation von Software zu tun haben, z. Synaptic, Software-Center und Terminals.

Jetzt sollten Sie die gesperrten Dateien löschen:

  

Sie können die Sperrdatei mit

löschen
sudo rm /var/lib/apt/lists/lock
     

Sie müssen möglicherweise auch die Sperrdatei im Cache-Verzeichnis löschen

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

by: diese Antwort

und jetzt sollten Sie ein Terminal öffnen und ausführen:

 sudo apt-get update --fix-missing

und jetzt können Sie alles, was Sie wollen, wieder installieren.

Lösung von

verwiesen     
karan 19.06.2013 14:59
1

Es könnte sein, dass Sie sich über einen Proxy mit dem Internet verbinden, also sollten Sie die Proxies für apt-get einrichten, indem Sie Folgendes tun:

  • Erstellen Sie einen Ordner in /etc/apt/apt.conf.d/

    $ sudo leafpad /etc/apt/apt.conf.d/95proxies
    
  • Fügen Sie in der geöffneten Datei Folgendes ein:

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

Stellen Sie sicher, dass Sie Ihren ProxyIP mit einer korrekten Proxy-IP-Adresse ändern.

Speichern Sie die Datei, indem Sie Strg + S drücken Dann führe:

sudo apt-get update.

siehe: How setze ich systemweite Proxy-Server in Xubuntu, Lubuntu oder Ubuntu Studio?

    
Odat 06.02.2014 13:54
0

Geben Sie sudo apt-get update --fix-missing

ein     
BiggJJ 19.06.2013 14:37
0

sudo setzt die Umgebung standardmäßig zurück (vgl. man sudoers), Wenn Sie also Ihre Proxy-Einstellungen in .bashrc hinzufügen, Vielleicht möchtest du das nach / etc / environment verschieben, oder fixiere die /etc/sudoers.d/ entsprechend.

    
user170329 26.06.2013 09:08
0

Wenn Sie einen Proxy haben, dann hat dieser Link einige Antworten.

Link

Sehen Sie sich den Abschnitt apt-get zum Verwenden eines http-proxy auf der Webseite an.

    
user180897 03.08.2013 02:43

Tags und Links