You are not logged in.
There is a recurrent error in my journal:
gnome-shell[722]: No permission to trigger offline updates: Polkit.Error: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Action org.freedesktop.packagekit.trigger-offline-update is not registered
But I don't have any packagekit installed.
I've searched in this forum and although there are many results showing this error, no one mentions it.
How can I fix it?
Offline
Offline
ok, thanks. I'll try it.
But I think this is a bug because it doesn't should try to start any action for an optional package that it isn't installed.
Offline
Report this at https://gitlab.gnome.org/GNOME/gnome-shell/issues
It was probably not accounted for already since Fedora pre-installs packagekit if I remember correctly.
I just went through the source code
try {
this._updatesPermission = Polkit.Permission.new_sync("org.freedesktop.packagekit.trigger-offline-update", null, null);
} catch(e) {
log('No permission to trigger offline updates: %s'.format(e.toString()));
}
It looks like they handle missing packagekit through an exception which is silly in my opinion because missing packagekit is technically common.
Last edited by hussam (2018-12-04 15:59:14)
Offline
Report this at https://gitlab.gnome.org/GNOME/gnome-shell/issues
It was probably not accounted for already since Fedora pre-installs packagekit if I remember correctly.
Someone anticipated me: https://gitlab.gnome.org/GNOME/gnome-shell/issues/369
Offline
Thanks. I applied the patch in merge request 219 to my local build. That's one less warning.
Offline