[Feature Request] Automatic dpkg --configure -a
Bug #1270541 reported by
Michael Murphy
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt (Ubuntu) |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
1) If /var/lib/dpkg/lock or /var/lib/
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.
description: | updated |
tags: | removed: amd64 apport-bug |
To post a comment you must log in.
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.