[Bug 943144] Re: Must manually remove /var/lib/dpkg/lock

Håvar Nielsen 943144 at bugs.launchpad.net
Wed Feb 29 12:05:57 UTC 2012


It seems like only apt-get is affected. Both aptitude and dpkg -i seems
not to be affected. Also apt-get seems to work if I wait some time
between the update and upgrade command.

worked:
aptitude update
aptitude upgrade
worked:
dpkg -i package.deb

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/943144

Title:
  Must manually remove /var/lib/dpkg/lock

Status in “apt” package in Ubuntu:
  Incomplete

Bug description:
  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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/943144/+subscriptions




More information about the foundations-bugs mailing list