Announcement

Collapse
No announcement yet.

KPK error

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

    KPK error

    When i try to update bux fix or install something, i get this message:

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

    Details

    Only use one package management programme at the same time."

    Can someone help me?

    #2
    Re: KPK error

    That is actually one of the more literal error messages you'll see from Linux. You cannot have more than a single package management tool accessing the dpkg system at a given time. There is a lock file at /var/lib/dpkg/ that attempts to prevent a second access to the dpkg system. Once in awhile some mishap can cause the lock file not to be released when the system goes down, and that also can be a cause of trouble. So, you have two possibilities:

    1. Close all running packages, especially including any package management GUI tool such as kpackagkit, adept, or synaptic, then open a Konsole terminal window and issue:

    Code:
    sudo dpkg --configure -a
    was there an error message? If not, you are done. If there is an error something like
    Code:
    E: Could not get lock /var/lib/dpkg/lock - open
    then:

    2.
    Code:
    sudo rm /var/lib/dpkg/lock*
    Code:
    sudo dpkg --configure -a
    Code:
    sudo apt-get update
    Code:
    sudo apt-get upgrade





    Comment


      #3
      Re: KPK error

      thanks for the help!

      Comment

      Working...
      X