Announcement

Collapse
No announcement yet.

KPackageKit is popping up with error messages

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

    KPackageKit is popping up with error messages

    I just installed Kubuntu 11.04 Natty Narwhal today and it seems to be working great. The only problem is KPackageKit.

    It comes up blank when I seach for software and when I try to check for new updates it pops up with 2 messages:

    1:
    Cannot get the exclusive lock on the packaging backend.
    Please close any other legacy packaging tools that may be open.

    Details
    Unable to lock the list directory


    2:
    The package list needs to be rebuilt.
    This should have been done by the backend automatically.

    Details
    Could not open package cache.


    Any help would be greatly appreciated

    #2
    Re: KPackageKit is popping up with error messages

    You have an open lock file somewhere. This usually happens when dpkg or apt-get crashes or is killed.

    Open a terminal and enter these commands:

    sudo rm /var/lib/apt/lists/lock
    sudo dpkg -reconfigure -a
    sudo apt-get update

    Please Read Me

    Comment


      #3
      Re: KPackageKit is popping up with error messages

      It doesnt seem to like "sudo dpkg -reconfigure -a" :S


      timmo963@Shetlands-PC:~$ sudo dpkg -reconfigure -a
      dpkg: error: conflicting actions -e (--control) and -r (--remove)

      Type dpkg --help for help about installing and deinstalling packages[*];
      Use `dselect' or `aptitude' for user-friendly package management;
      Type dpkg -Dhelp for a list of dpkg debug flag values;
      Type dpkg --force-help for a list of forcing options;
      Type dpkg-deb --help for help about manipulating *.deb files;

      Options marked[*] produce a lot of output - pipe it through `less' or `more' !

      Thats what it spits out

      Comment


        #4
        Re: KPackageKit is popping up with error messages

        sorry - it should have been

        sudo dpkg --configure -a


        Please Read Me

        Comment

        Working...
        X