Announcement

Collapse
No announcement yet.

[SOLVED] adapt does not run due to a database lock

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [SOLVED] adapt does not run due to a database lock

    Hi guys,

    Since about three upgrades ago I am getting a message at every new upgrade that the adept package manager cannot run due to the following:

    ---Message---
    Another process is using the packaging system database (probably some other Adept application or apt-get or aptitude).
    Would you like to attempt to resolve this problem? No will enter read-only mode and Cancel to quit and resolve this issue yourself.
    ---End of message---

    A 'yes' to this question eventually causes a crash of the adept manager; I include the crash info, do not really know where to sent a bug report to.

    I guess that one of the last updates was not completed successfully, and therefor a new update stalls. Does anyone know where to look for the file that holds the 'lock' on the database?? Or how to make adept check and solve this problem?? (like make it check all the installed files, find the one that apparently has not been installed correctly/completely and reinstall it).
    Attached Files
    Are you Microsoft's slave, or do you master Linux?

    #2
    Re: adapt does not run due to a database lock

    Try this typing this in the konsole

    Code:

    sudo dpkg --configure -a ( you'll have to type your password, probably)

    then
    Code:

    sudo apt-get update

    then
    Code:

    sudo apt-get install

    and (optional)
    sudo apt-get autoclean
    I break it, therefore I learn it.<br />

    Comment


      #3
      Re: adapt does not run due to a database lock

      Thanks to both of you, my system is running like a charm again!
      Are you Microsoft&#39;s slave, or do you master Linux?

      Comment

      Working...
      X