Announcement

Collapse
No announcement yet.

Cannot open add/remove files 'database locked'

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

    Cannot open add/remove files 'database locked'

    I am getting an error message that 'another process is using the packaging system'. Database is locked. Cannot get in add/remove files, and Adept is read-only, cannot install or remove programs.

    Is there an apt-get command that I could find the file that may be keeping the packaging system open? And after finding, how could I remove the file?

    Thank you for the help

    #2
    Re: Cannot open add/remove files 'database locked'

    http://kubuntuforums.net/forums/index.php?topic=14042.0

    Comment


      #3
      Re: Cannot open add/remove files 'database locked'

      Thanks for the advice.

      searched /var for locked files. Found 3 : Adept, Aptitude, & Apt-get files. All inaccessible. Tried to delete, but am not able to. Any way to delete these files?

      Comment


        #4
        Re: Cannot open add/remove files 'database locked'

        Launch the file manager in "super user mode":

        [Alt][F2] kdesu konqueror

        (profoundly dangerous, but sometimes inevitable).

        Comment


          #5
          Re: Cannot open add/remove files 'database locked'

          have you checked Ksystem guard to see if any package tools are running in the background? if there is , that may block you from uisng another one......

          cheers

          Comment


            #6
            Re: Cannot open add/remove files 'database locked'

            From the IRC factoids:

            If Adept crashed on you and your database is locked, try this in konsole

            Code:
            sudo fuser -vki /var/lib/dpkg/lock
            then

            Code:
            sudo dpkg --configure -a
            Jucato's Data Core

            Comment

            Working...
            X