Hi, everyone, I’ve a fresh install of TW as dual boot with Windows.
The first thing I did was sudo zypper list-updates. It is getting an error: PackageKit is blocking it
Gnome DE
(I installed TW in my sister’s laptop a month ago. I didn’t get this error)
There can only be one program at the time accessing the packages database. Does not matter if one or both are zypper, YaST > Software or some PackageKit using program. Thus when you started the PackageKit one first, then indeed all others are forbidden until it stopped.
I did not say “you” did. But when it is the applet, a user (whoever that is) did. And when it is the applet, then (s)he may not be aware of it, because it is what she/he got presented when he/she logged in in the desktop for the first time.
It is not cleat to me what “it” is, but when you (as user) think you do not need the applet, then remove it. And when you as system manager think that your users do not need (or are even not allowed) to use the applet, you can e.g. remove PackageKit.
That is “safe” in that your system will happily run along. I never install PackageKit on any of the systems I manage.
Obviously, PackageKit was installed as default and will run at prescribed times (once a day, or …).
If you open the applet from the System Tray, you can click on Update (if there are updates) and it will do so. It effectively does the same as zypper dup.
The zypper tool is preferred, and since you’re wanting to run it, you can uninstall PackageKit or disable it.
Applets are apps found in the Taskbar, like the clock, network manager, volume, and so on. They are interfaces usually to some more robust functionality running in the background.
Nope. Disable updates by packagekit. Use 'zypper dist-upgrade` instead. Preferably use a systemd service for robust and hassle-free background operation:
Sep 17 13:47:04 erlangen systemd[1]: Starting zypper dist-upgrade...
Sep 17 13:47:05 erlangen zypper[31475]: The following 270 packages are going to be upgraded:
Sep 17 13:47:05 erlangen zypper[31475]: The following product is going to be upgraded:
Sep 17 13:47:05 erlangen zypper[31475]: The following 3 NEW packages are going to be installed:
Sep 17 13:47:05 erlangen zypper[31475]: The following package is going to be REMOVED:
Sep 17 13:47:08 erlangen zypper[31475]: Checking for file conflicts: [......done]
Sep 17 13:48:12 erlangen systemd[1]: dup.service: Consumed 53.625s CPU time.
erlangen:~ #
Here’s the applet in action. The 4 screenshots should be in sequence.
This is the taskbar in my upper Panel - the menu (or details) button shows all
Now the applets are shown
The PackageKit applet showing me it found updates.
When I open the applet fully, I can see all the details, and can update with a click