adept locks software database if it crashes
Bug #117345 reported by
cjseyfried
This bug report is a duplicate of:
Bug #48627: Poor resolution of "database locked" problem.
Edit
Remove
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
adept (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: adept-installer
A number of times, using various releases of kubuntu. Went to add applications using the add/remove applications menu option. During the installation of apps process there was an error and adept could not continue. I exit the application and from then forward can not add / remove or update applications because "some other application is using the database, please close this app." Except there is no version of adept running. The only way I have found to resolve this is to re-install the O/S
Is there another way to unlock the database so adept or the update manager can be used?
Curtis Seyfried
<email address hidden>
To post a comment you must log in.
cjseyfried,
Thanks for reporting this issue. The solution to the database locking is to run the following from the commandline:
sudo dpkg -configure -a
That should unlock the database for you and get adept working again without a complete reinstall.
If you would like to help us improve Kubuntu you could help us figure out what caused adept to crash in the first place. Could you attach /var/log/dpkg.log from after the crash so we can see if there are any clues in there.
Next some questions:
Any there common features when you observe these crashes?
What were you trying to install when it occurred this time and previous times?
Is it reproducible? Try unlocking the database with the command above then installing whatever caused the crash this time. Does it crash again and if you repeat the process does it crash every time?
Keep an eye on dpkg.log while trying these things and see if there is anything that occurs repeatedly when adept crashes. You can view dpkg.log while adept is installing by clicking the 'show details' button next to the progress bar.
Sorry for all the questions, just trying to diagnose the problem. Thanks for helping to improve Kubuntu.
Richard