I know how to use YaST and zypper to manage my software packages, but the other day I discovered that something called packagekit was also active on my system. (I have disabled it.) How does packagekit relate to YaST and zypper? Are they aware of each other? Does packagekit have access to my repository list, and does it update things in the background without my knowledge? I wonder, because my desktop has been behaving strangely, and a new release of it has been published, to which I have not yet explicitly upgraded. Leslie -- Distribution: openSUSE Leap 15.3 x86_64
On 21.11.2021 05:31, J Leslie Turriff wrote:
I know how to use YaST and zypper to manage my software packages, but the other day I discovered that something called packagekit was also active on my system. (I have disabled it.) How does packagekit relate to YaST and zypper?
PackageKit has zypper plugin that performs actual tasks related to package management on (open)SUSE.
Are they aware of each other?
zypper plugin is based on the same libzypp as zypper and YaST. I do not know what "aware" means for you, but PackageKit and zypper use the same libzypp locking to avoid performing concurrent changes.
Does packagekit have access to my repository list,
Yes.
and does it update things in the background without my knowledge?
PackageKit is daemon that runs in background (usually started on demand) and performs privileged actions (like package installation) on behalf of (usually, unprivileged) clients. It is up to these clients to request update. Software management programs of many desktop environments like KDE or GNOME are based on and call PackageKit. You need to consult documentation of these programs whether they do (or can be configured to) perform installation "without your knowledge". PackageKit also provides command line client and systemd timer/service to perform updates using this client. To my best knowledge these units are disabled by default.
I wonder, because my desktop has been behaving strangely, and a new release of it has been published, to which I have not yet explicitly upgraded.
Leslie -- Distribution: openSUSE Leap 15.3 x86_64
On 2021-11-21 00:28:09 Andrei Borzenkov wrote:
|On 21.11.2021 05:31, J Leslie Turriff wrote: |> I know how to use YaST and zypper to manage my software packages, but |> the other day I discovered that something called packagekit was also |> active on my system. (I have disabled it.) |> How does packagekit relate to YaST and zypper? | |PackageKit has zypper plugin that performs actual tasks related to package | management on (open)SUSE. | |> Are they aware of each other? | |zypper plugin is based on the same libzypp as zypper and YaST. I do not | know what "aware" means for you, but PackageKit and zypper use the same | libzypp locking to avoid performing concurrent changes. | |> Does |> packagekit have access to my repository list, | |Yes. | |> and does it update things in the background |> without my knowledge? | |PackageKit is daemon that runs in background (usually started on demand) | and performs privileged actions (like package installation) on behalf of | (usually, unprivileged) clients. It is up to these clients to request | update. Software management programs of many desktop environments like | KDE or GNOME are based on and call PackageKit. You need to consult | documentation of these programs whether they do (or can be configured to) | perform installation "without your knowledge". | |PackageKit also provides command line client and systemd timer/service to | perform updates using this client. To my best knowledge these units are | disabled by default. | |> I wonder, because my desktop has been behaving strangely, and a new |> release of it has been published, to which I have not yet explicitly |> upgraded. |> |> Leslie |> -- |> Distribution: openSUSE Leap 15.3 x86_64
I suppose then, since PackageKit-backend-zypp is not installed on my system, packagekit cannot work through zypper; so will it still be able to install updates? Leslie -- Distribution: openSUSE Leap 15.3 x86_64
On 21.11.2021 10:13, J Leslie Turriff wrote:
I suppose then, since PackageKit-backend-zypp is not installed on my system, packagekit cannot work through zypper; so will it still be able to install updates?
PackageKit-backend-zypp is required by PackageKit, so if it is not installed then PackageKit is not installed either.
On 2021-11-21 01:43:49 Andrei Borzenkov wrote:
|On 21.11.2021 10:13, J Leslie Turriff wrote: |> I suppose then, since PackageKit-backend-zypp is not installed on my |> system, packagekit cannot work through zypper; so will it still be |> able to install updates? | |PackageKit-backend-zypp is required by PackageKit, so if it is not | installed then PackageKit is not installed either.
Interesting. Packagekit is installed, but not PackageKit-backend-zypp. (I disabled packagekit when I discovered it was active.) Here's what zypper tells me about packagekit: ~ | ● zypper se packagekit | Loading repository data... | Reading installed packages... | | S | Name | Summary | Type | ---+----------------------------------------+------------------------------------------------------------------------------------+----------- | l | PackageKit | Simple software installation management software | package | | PackageKit | Simple software installation management software | srcpackage | | PackageKit-Qt | Simple software installation management software | srcpackage | | PackageKit-Qt-devel | Simple software installation management software | package | | PackageKit-backend-dnf | DNF backend for the PackageKit installation management software | package | | PackageKit-backend-dnf-debuginfo | Debug information for package PackageKit-backend-dnf | package | | PackageKit-backend-zypp | Zypp backend for the PackageKit installation management software | package | | PackageKit-backend-zypp-debuginfo | Debug information for package PackageKit-backend-zypp | package | | PackageKit-branding-openSUSE | Simple software installation management software -- openSUSE default configuration | package | | PackageKit-branding-openSUSE | Simple software installation management software -- openSUSE default configuration | srcpackage | | PackageKit-branding-upstream | Upstream configuration for the PackageKit installation management software | package | | PackageKit-debuginfo | Debug information for package PackageKit | package | | PackageKit-debugsource | Debug sources for package PackageKit | package | | PackageKit-devel | Header files for development with PackageKit | package | | PackageKit-devel-debuginfo | Debug information for package PackageKit-devel | package | i | PackageKit-gstreamer-plugin | Install GStreamer codecs using PackageKit | package | | PackageKit-gstreamer-plugin-debuginfo | Debug information for package PackageKit-gstreamer-plugin | package | i | PackageKit-gtk3-module | Install fonts automatically using PackageKit | package | | PackageKit-gtk3-module-debuginfo | Debug information for package PackageKit-gtk3-module | package | | PackageKit-lang | Translations for package PackageKit | package | | discover-backend-packagekit | PackageKit Backend for Discover | package | i | gnome-packagekit | Applications for the PackageKit API | package | | gnome-packagekit | Applications for the PackageKit API | srcpackage | | gnome-packagekit-debuginfo | Debug information for package gnome-packagekit | package | | gnome-packagekit-debugsource | Debug sources for package gnome-packagekit | package | | gnome-packagekit-extras | Extra applications for the PackageKit API | package | | gnome-packagekit-extras-debuginfo | Debug information for package gnome-packagekit-extras | package | i | gnome-packagekit-lang | Translations for package gnome-packagekit | package | i | libpackagekit-glib2-18 | GLib integration of PackageKit | package | | libpackagekit-glib2-18-32bit | GLib integration of PackageKit | package | | libpackagekit-glib2-18-32bit-debuginfo | Debug information for package libpackagekit-glib2-18 | package | | libpackagekit-glib2-18-debuginfo | Debug information for package libpackagekit-glib2-18 | package | | libpackagekit-glib2-devel | GLib integration of PackageKit | package | | libpackagekit-glib2-devel-32bit | GLib integration of PackageKit | package | | libpackagekitqt5-1 | Simple software installation management software | package | | libpackagekitqt5-1-debuginfo | Debug information for package libpackagekitqt5-1 | package | i | typelib-1_0-PackageKitGlib-1_0 | Introspection bindings for PackageKit's GLib integration | package | @01:10:35,root@pinto rc=0 Leslie -- Distribution: openSUSE Leap 15.3 x86_64
On 22.11.2021 17:29, J Leslie Turriff wrote:
On 2021-11-21 01:43:49 Andrei Borzenkov wrote:
|On 21.11.2021 10:13, J Leslie Turriff wrote: |> I suppose then, since PackageKit-backend-zypp is not installed on my |> system, packagekit cannot work through zypper; so will it still be |> able to install updates? | |PackageKit-backend-zypp is required by PackageKit, so if it is not | installed then PackageKit is not installed either.
Interesting. Packagekit is installed,
No, it is not. At least not according to output you provided.
but not PackageKit-backend-zypp. (I disabled packagekit when I discovered it was active.) Here's what zypper tells me about packagekit:
~ | ● zypper se packagekit | Loading repository data... | Reading installed packages... | | S | Name | Summary | Type | ---+----------------------------------------+------------------------------------------------------------------------------------+----------- | l | PackageKit | Simple software installation management software | package | | PackageKit | Simple software installation management software | srcpackage | | PackageKit-Qt | Simple software installation management software | srcpackage | | PackageKit-Qt-devel | Simple software installation management software | package | | PackageKit-backend-dnf | DNF backend for the PackageKit installation management software | package | | PackageKit-backend-dnf-debuginfo | Debug information for package PackageKit-backend-dnf | package | | PackageKit-backend-zypp | Zypp backend for the PackageKit installation management software | package | | PackageKit-backend-zypp-debuginfo | Debug information for package PackageKit-backend-zypp | package | | PackageKit-branding-openSUSE | Simple software installation management software -- openSUSE default configuration | package | | PackageKit-branding-openSUSE | Simple software installation management software -- openSUSE default configuration | srcpackage | | PackageKit-branding-upstream | Upstream configuration for the PackageKit installation management software | package | | PackageKit-debuginfo | Debug information for package PackageKit | package | | PackageKit-debugsource | Debug sources for package PackageKit | package | | PackageKit-devel | Header files for development with PackageKit | package | | PackageKit-devel-debuginfo | Debug information for package PackageKit-devel | package | i | PackageKit-gstreamer-plugin | Install GStreamer codecs using PackageKit | package | | PackageKit-gstreamer-plugin-debuginfo | Debug information for package PackageKit-gstreamer-plugin | package | i | PackageKit-gtk3-module | Install fonts automatically using PackageKit | package | | PackageKit-gtk3-module-debuginfo | Debug information for package PackageKit-gtk3-module | package | | PackageKit-lang | Translations for package PackageKit | package | | discover-backend-packagekit | PackageKit Backend for Discover | package | i | gnome-packagekit | Applications for the PackageKit API | package | | gnome-packagekit | Applications for the PackageKit API | srcpackage | | gnome-packagekit-debuginfo | Debug information for package gnome-packagekit | package | | gnome-packagekit-debugsource | Debug sources for package gnome-packagekit | package | | gnome-packagekit-extras | Extra applications for the PackageKit API | package | | gnome-packagekit-extras-debuginfo | Debug information for package gnome-packagekit-extras | package | i | gnome-packagekit-lang | Translations for package gnome-packagekit | package | i | libpackagekit-glib2-18 | GLib integration of PackageKit | package | | libpackagekit-glib2-18-32bit | GLib integration of PackageKit | package | | libpackagekit-glib2-18-32bit-debuginfo | Debug information for package libpackagekit-glib2-18 | package | | libpackagekit-glib2-18-debuginfo | Debug information for package libpackagekit-glib2-18 | package | | libpackagekit-glib2-devel | GLib integration of PackageKit | package | | libpackagekit-glib2-devel-32bit | GLib integration of PackageKit | package | | libpackagekitqt5-1 | Simple software installation management software | package | | libpackagekitqt5-1-debuginfo | Debug information for package libpackagekitqt5-1 | package | i | typelib-1_0-PackageKitGlib-1_0 | Introspection bindings for PackageKit's GLib integration | package | @01:10:35,root@pinto rc=0
Leslie
On 2021-11-22 11:25:15 Andrei Borzenkov wrote:
|Re: YaST, zypper and packagekit | From: Andrei Borzenkov <arvidjaar@gmail.com> | To: users@lists.opensuse.org | |On 22.11.2021 17:29, J Leslie Turriff wrote: |> On 2021-11-21 01:43:49 Andrei Borzenkov wrote: |> |> |> Interesting. Packagekit is installed, | |No, it is not. At least not according to output you provided. | |> but not PackageKit-backend-zypp. (I disabled |> packagekit when I discovered it was active.) Here's what zypper tells |> me about packagekit:
I can't remember now, but presumably I must have removed it after I disabled it; so that list is now suspect. I see now that it is locked but not installed, which makes sense; I don't want anything installing it behind my back in future. Leslie -- Distribution: openSUSE Leap 15.3 x86_64
participants (2)
-
Andrei Borzenkov
-
J Leslie Turriff