
Ich verwende sudo apt-get update
den Befehl zum Aktualisieren. Während der Aktualisierung von Ubuntu wird Folgendes angezeigt:
E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)
E: Unable to lock directory /var/lib/apt/lists/
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
Kann jemand helfen?
Antwort1
Führen Sie die folgenden Befehle im Terminal aus, um die Sperre zu entfernen.
sudo rm /var/lib/apt/lists/lock
sudo rm /var/lib/dpkg/lock
Dann kannst du laufen,
sudo apt-get update
Befehl.