Results 1 to 8 of 8

Thread: Package management locked

  1. #1
    Join Date
    Jun 2008
    Location
    34 04 17.35S 18 50 02.23E
    Posts
    266

    Default Package management locked

    When I run zypper dup I get this message :
    System management is locked by the application with pid 3787 (/usr/sbin/packagekitd).
    Close this application before trying again.


    How do I do this?
    openSUSE Leap + KDE

  2. #2
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    15,646

    Default Re: Package management locked

    There is some other process trying to install or checking the repos

    Most likely you have Yast open or the updater is checking. Only one process at a time can install.

  3. #3
    Join Date
    Jun 2008
    Location
    /dev/swat
    Posts
    1,181

    Default Re: Package management locked

    Code:
    kill 3787
    Run it as root and then try zypper dup.
    Linux[openSUSE, KDE], PHP, MySQL, Wordpress, Tech News, etc :
    http://anl4u.com

  4. #4
    Join Date
    Jun 2008
    Location
    34 04 17.35S 18 50 02.23E
    Posts
    266

    Default Re: Package management locked

    How would I find out what pid 3787 is and what is the command to kill it.
    openSUSE Leap + KDE

  5. #5
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    15,646

    Default Re: Package management locked

    The command is kill then the number of the process the PID

    You will need to be root

    the error tells you the process name also

    /usr/sbin/packagekitd

    Or you can get it with

    ps -A

  6. #6
    Join Date
    Jun 2008
    Location
    34 04 17.35S 18 50 02.23E
    Posts
    266

    Default Re: Package management locked

    Thx - that is what I needed
    openSUSE Leap + KDE

  7. #7
    Join Date
    Jun 2008
    Location
    /dev/swat
    Posts
    1,181

    Default Re: Package management locked

    Quote Originally Posted by Alastairo View Post
    How would I find out what pid 3787 is and what is the command to kill it.
    I already mentioned in the above post.
    Code:
    pidof packagekitd
    This will give the PID.
    Then kill it by:
    Code:
    kill PID
    If that did not kill it, you can try this to force it to kill:
    Code:
    kill -9 PID
    PID = Get this from the above command for packagekitd
    Linux[openSUSE, KDE], PHP, MySQL, Wordpress, Tech News, etc :
    http://anl4u.com

  8. #8
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    24,853

    Default Re: Package management locked

    Quote Originally Posted by Alastairo View Post
    How would I find out what pid 3787 is and what is the command to kill it.
    e.g.
    Code:
    ps -ef | grep 3787
    read
    Code:
    man ps
    Code:
    man kill
    Henk van Velden

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •