FS#72310 - [packagekit] missing symlink since 1.2.3-1

Attached to Project: Community Packages
Opened by Philip Müller (philm) - Thursday, 30 September 2021, 20:21 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:02 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Christian Hesse (eworm)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No



Last working package is: https://archive.archlinux.org/packages/p/packagekit/packagekit-1.1.13-1-x86_64.pkg.tar.zst

See also here: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=973506

Additional info:

After updating packagekit from 1.1.13-1 to 1.2.3-1 updates via Gnome Software are not installed anymore.

If new packages are available software center shows that there are some update. User can press download, packages will be downloaded and after
that it press "reboot and install". Devices reboots into systemd target system-update.target, but nothing is installed. Afterwards it reboots
back into user session. Because nothing was installed, then software center shows again that the same updates are still available.

I've checked 1.2.3-1 package content and the problem is that symlink for
packagekit-offline-update.service in /lib/systemd/system/system-update.target.wants is missing.

After following command:

cd /usr/lib/systemd/system/system-update.target.wants; ln -s ../packagekit-offline-update.service packagekit-offline-update.service
offline system updates work again.

Issue is still current with latest 1.2.x packages
This task depends upon

Closed by  Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:02 GMT
Reason for closing:  Moved
Additional comments about closing:  https://gitlab.archlinux.org/archlinux/p ackaging/packages/packagekit/issues/1
Comment by Léo (Leeo97one) - Sunday, 06 February 2022, 00:16 GMT
Also, the "/lib/systemd/system/system-update.target.wants" directory is missing.

See the first recommendation: https://www.freedesktop.org/software/systemd/man/systemd.offline-updates.html#Recommendations