[Bug 1270541] Re: [Feature Request] Automatic dpkg --configure -a

Julian Andres Klode juliank at ubuntu.com
Sun Jan 19 15:05:57 UTC 2014


Summary:
1) No, you have a wrong understand of how it works.
2) Maybe

Details:
1)
It does not make any sense to remove lock files. They do not lock anything by being present. The locks are aqcquired using F_WRLCK write locks of fcntl() and are automatically released once the process ends. If something is locked, something is still running somewhere.

2)
You mean dpkg --configure -a, not dpkg-reconfigure -a.

** Summary changed:

- [Feature Request] APT Unlock
+ [Feature Request] Automatic dpkg --configure -a

-- 
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/1270541

Title:
  [Feature Request] Automatic dpkg --configure -a

Status in “apt” package in Ubuntu:
  New

Bug description:
  1) If /var/lib/dpkg/lock or /var/lib/apt/lists/lock is detected, ask if it is OK to remove these files before running apt-get.
  2) If package installation was disrupted (example: power was lost / system crash), it should automatically run sudo dpkg-reconfigure -a instead of prompting to run it manually.

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



More information about the foundations-bugs mailing list