Hallo redknight, ich bin froh dass sich so schnell jemand meldet.
redknight schrieb:
Läuft bei dir möglicherweise der update-manager oder kpackagekit (oder wie auch immer das bei KDE heißt)?
Wenn dann irgendwie im "Hintergrund", ich hab beides nicht bewusst geöffnet, bzw. nach Gebrauch geschlosen. Wie kriege ich das raus?
Was sagt
ps -ef | grep apt
ps -ef | grep apt
avahi 795 1 0 13:27 ? 00:00:00 avahi-daemon: registering [suka-laptop.local]
suka 1704 1688 0 13:31 pts/2 00:00:00 grep --color=auto apt
UNd was sagen die ganzen Terminalausgaben, die in der anderen Anleitung gefordert werden?
die sind ziemlich lang, aber hier sind sie:
suka@suka-laptop:~$ sudo fuser -vvv /var/lib/dpkg/lock
BEN. PID ZUGR. BEFEHL
/var/lib/dpkg/lock: root 2630 F.... dpkg
suka@suka-laptop:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.04
DISTRIB_CODENAME=lucid
DISTRIB_DESCRIPTION="Ubuntu 10.04.2 LTS"
suka@suka-laptop:~$ uname -a
Linux suka-laptop 2.6.32-32-generic #62-Ubuntu SMP Wed Apr 20 21:52:38 UTC 2011 x86_64 GNU/Linux
suka@suka-laptop:~$ sudo rm /var/lib/apt/lists/lock
suka@suka-laptop:~$ sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
suka@suka-laptop:~$ sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
suka@suka-laptop:~$ sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
suka@suka-laptop:~$ sudo rm -rf /var/lib/dpkg/updates/*
suka@suka-laptop:~$ sudo rm -rf /var/lib/apt/lists
suka@suka-laptop:~$ sudo rm /var/cache/apt/*.bin
suka@suka-laptop:~$ sudo mkdir /var/lib/apt/lists
suka@suka-laptop:~$ sudo mkdir /var/lib/apt/lists/partial
suka@suka-laptop:~$ LANG=C;sudo apt-get clean
E: Could not get lock /var/cache/apt/archives/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the download directory
suka@suka-laptop:~$ sudo mkdir /var/lib/apt/listsLANG=C;sudo apt-get autoclean
E: Could not get lock /var/cache/apt/archives/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the download directory
suka@suka-laptop:~$ LANG=C;sudo apt-get autoclean
E: Could not get lock /var/cache/apt/archives/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the download directory
suka@suka-laptop:~$ LANG=C;sudo apt-get --purge autoremove
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?
suka@suka-laptop:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=25165824
Get:1 http://archive.ubuntu.com lucid Release.gpg [189B]
Get:2 http://archive.ubuntu.com lucid-updates Release.gpg [198B]
Get:3 http://archive.ubuntu.com lucid-security Release.gpg [198B]
Get:4 http://archive.ubuntu.com lucid Release [57.2kB]
Get:5 http://archive.ubuntu.com lucid-updates Release [44.7kB]
Get:6 http://archive.ubuntu.com lucid-security Release [44.7kB]
Get:7 http://archive.ubuntu.com lucid/main Packages [1383kB]
Get:8 http://archive.ubuntu.com lucid/restricted Packages [6193B]
Get:9 http://archive.ubuntu.com lucid/main Sources [659kB]
Get:10 http://archive.ubuntu.com lucid/restricted Sources [3775B]
Get:11 http://archive.ubuntu.com lucid/universe Packages [5430kB]
Get:12 http://archive.ubuntu.com lucid/universe Sources [3165kB]
Get:13 http://archive.ubuntu.com lucid/multiverse Packages [176kB]
Get:14 http://archive.ubuntu.com lucid/multiverse Sources [119kB]
Get:15 http://archive.ubuntu.com lucid-updates/main Packages [510kB]
Get:16 http://archive.ubuntu.com lucid-updates/restricted Packages [3267B]
Get:17 http://archive.ubuntu.com lucid-updates/main Sources [195kB]
Get:18 http://archive.ubuntu.com lucid-updates/restricted Sources [1443B]
Get:19 http://archive.ubuntu.com lucid-updates/universe Packages [207kB]
Get:20 http://archive.ubuntu.com lucid-updates/universe Sources [76.1kB]
Get:21 http://archive.ubuntu.com lucid-updates/multiverse Packages [10.4kB]
Get:22 http://archive.ubuntu.com lucid-updates/multiverse Sources [5053B]
Get:23 http://archive.ubuntu.com lucid-security/main Packages [200kB]
Get:24 http://archive.ubuntu.com lucid-security/restricted Packages [14B]
Get:25 http://archive.ubuntu.com lucid-security/main Sources [58.9kB]
Get:26 http://archive.ubuntu.com lucid-security/restricted Sources [14B]
Get:27 http://archive.ubuntu.com lucid-security/universe Packages [75.6kB]
Get:28 http://archive.ubuntu.com lucid-security/universe Sources [22.8kB]
Get:29 http://archive.ubuntu.com lucid-security/multiverse Packages [4416B]
Get:30 http://archive.ubuntu.com lucid-security/multiverse Sources [1754B]
Fetched 12.5MB in 18s (680kB/s)
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?
suka@suka-laptop:~$ E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
bash: syntax error near unexpected token `('
suka@suka-laptop:~$ E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it sudo dpkg --clear-avail
bash: syntax error near unexpected token `('
suka@suka-laptop:~$ sudo dpkg --clear-avail
dpkg: status database area is locked by another process
suka@suka-laptop:~$ sudo dpkg --configure -a
dpkg: status database area is locked by another process
suka@suka-laptop:~$ LANG=C;sudo apt-get -f install
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?
suka@suka-laptop:~$ LANG=C;sudo apt-get --fix-missing install
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?
suka@suka-laptop:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=25165824 && sudo apt-get dist-upgrade
Hit http://archive.ubuntu.com lucid Release.gpg
Hit http://archive.ubuntu.com lucid-updates Release.gpg
Hit http://archive.ubuntu.com lucid-security Release.gpg
Hit http://archive.ubuntu.com lucid Release
Hit http://archive.ubuntu.com lucid-updates Release
Hit http://archive.ubuntu.com lucid-security Release
Hit http://archive.ubuntu.com lucid/main Packages
Hit http://archive.ubuntu.com lucid/restricted Packages
Hit http://archive.ubuntu.com lucid/main Sources
Hit http://archive.ubuntu.com lucid/restricted Sources
Hit http://archive.ubuntu.com lucid/universe Packages
Hit http://archive.ubuntu.com lucid/universe Sources
Hit http://archive.ubuntu.com lucid/multiverse Packages
Hit http://archive.ubuntu.com lucid/multiverse Sources
Hit http://archive.ubuntu.com lucid-updates/main Packages
Hit http://archive.ubuntu.com lucid-updates/restricted Packages
Hit http://archive.ubuntu.com lucid-updates/main Sources
Hit http://archive.ubuntu.com lucid-updates/restricted Sources
Hit http://archive.ubuntu.com lucid-updates/universe Packages
Hit http://archive.ubuntu.com lucid-updates/universe Sources
Hit http://archive.ubuntu.com lucid-updates/multiverse Packages
Hit http://archive.ubuntu.com lucid-updates/multiverse Sources
Hit http://archive.ubuntu.com lucid-security/main Packages
Hit http://archive.ubuntu.com lucid-security/restricted Packages
Hit http://archive.ubuntu.com lucid-security/main Sources
Hit http://archive.ubuntu.com lucid-security/restricted Sources
Hit http://archive.ubuntu.com lucid-security/universe Packages
Hit http://archive.ubuntu.com lucid-security/universe Sources
Hit http://archive.ubuntu.com lucid-security/multiverse Packages
Hit http://archive.ubuntu.com lucid-security/multiverse Sources
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?
suka@suka-laptop:~$ ^C
suka@suka-laptop:~$