Public bug reported: After sudo apt-get update, I have to manually remove the /var/lib/dpkg/lock file to be able to run sudo apt-get upgrade.
Actually it seems I must remove the lock file after running any apt-get command. A list of other running processes (ps ax) is found at pastebin: http://pastebin.com/raw.php?i=GXS1Snx5 ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: apt 0.8.16~exp12ubuntu4 ProcVersionSignature: Ubuntu 3.2.0-17.27-generic 3.2.6 Uname: Linux 3.2.0-17-generic x86_64 NonfreeKernelModules: nvidia ApportVersion: 1.93-0ubuntu2 Architecture: amd64 Date: Wed Feb 29 10:34:38 2012 InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012) ProcEnviron: TERM=xterm PATH=(custom, no user) LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: apt UpgradeStatus: Upgraded to precise on 2012-02-27 (1 days ago) ** Affects: apt (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug precise -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/943144 Title: Must manually remove /var/lib/dpkg/lock To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/943144/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs