I’m on Tumbleweed. I just launched the system and the first thing I tried was to refresh the Zypper repos. I got this error:

~> sudo zypper refresh  
[sudo] password for root: 
PackageKit is blocking zypper. This happens if you have an updater applet or other software  
management application using PackageKit running.  
We can ask PackageKit to interrupt the current action as soon as possible, but it depends on  
PackageKit how fast it will respond to this request.  
Ask PackageKit to quit? [yes/no] (no): no  
System management is locked by the application with pid 2648 (/usr/libexec/packagekitd).  
Close this application before trying again.  

I guess that’s an intermittent issue. I’m new to Linux and new to openSUSE and until today I have not heard about PackageKit.

But something bothers me in the documentation:

In general, it is recommended to allow packagekit to handle system maintenance and software package updates since it contains background operations to ensure stable delivery with minimal interruptions. For this reason, newcomers to Tumbleweed should continue to use their respective software managers (Discover for Plasma, Gnome Software for Gnome) until there is an absolute need for manual intervention and/or greater understanding.

Elsewhere, when I was still researching which distro to choose and before installing Tumbleweed, I read that I should always use only zypper dup, never to use GNOME’s Software updates or anything else (unless it’s Flatpak). GNOME does display pending updates at times, but I ignore them. So how is it actually?

  • BCsven@lemmy.ca
    link
    fedilink
    arrow-up
    2
    ·
    9 days ago

    When you first boot its normal that zypper is blocked by packagekit checking for updates. Just let it run and do your zypper stuff later. It usually only runs for a few minutes