20 April 2007

reconfigure Debian packages database

Your Adept Manager can't start regularly, prompting you an error message like this
You will not be able to change your system settings in any way (install, remove or upgrade software), because another process is using the packaging system database (probably some other Adept application or apt-get or aptitude). Please close the other application before using this one.
and you are pretty sure no application at all is using the pckg-db (you checked with ps and killed everything was even remotely speculated to be related with adept/apt; you even did this after a fresh reboot of the system...)?
Maybe your problem is due to an update/install crazing. For me this
sudo dpkg --configure -a
make everything back to normal. Hope this can help.
[›››]

1 comments:

Edo said...

In general when a application like apt-get or dselect are launched they write a lock file in (I don't remind what directory). If you are pretty sure that they are not running it's enough to delete the file.