FS#76824 - [gnome-software-packagekit-plugin] gnome-software doesn't update repo packages

Attached to Project: Arch Linux
Opened by Philip Abernethy (Chais) - Wednesday, 14 December 2022, 03:05 GMT
Last edited by Balló György (City-busz) - Thursday, 08 June 2023, 14:23 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan Alexander Steffens (heftig)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


With `gnome-software-packagekit-plugin` installed I would expect `gnome-software` to display and update packages from the repositories.
While it detects all repos, even my private one, it shows that no packages are installed from all repos. It correctly shows the number of applications installed from Flathub.

I can manually install and uninstall repo packages through `gnome-software`, but they still won't show as installed in the counter and won't receive updates.

Additional info:
* gnome-packagekit 43.0-1
* gnome-software-packagekit-plugin 43.2-1
* gnome-software 43.2-1
* archlinux-appstream-data 20221210-1

Steps to reproduce:
1. `# pacman -S gnome-software-packagekit-plugin`
2. Check "Software Repositories" in Hamburger menu
This task depends upon

Closed by  Balló György (City-busz)
Thursday, 08 June 2023, 14:23 GMT
Reason for closing:  Won't fix
Additional comments about closing:  The package was removed from the official repositories.
Comment by Toolybird (Toolybird) - Wednesday, 14 December 2022, 03:45 GMT
packagekit is actively discouraged because it is known to be problematic. In other words, what you're seeing is kinda expected and maintainers aren't interested much in supporting it. For example, please see  FS#51195   FS#57943   FS#75781  and the wiki warning [1], and maybe also  FS#68013 .

[1] https://wiki.archlinux.org/title/Pacman/Tips_and_tricks#Graphical
Comment by Toolybird (Toolybird) - Thursday, 15 December 2022, 07:43 GMT
I can't see this plugin ever being useful. Maybe it should be dropped from the distro?
Comment by Jan Alexander Steffens (heftig) - Thursday, 15 December 2022, 08:06 GMT
Probably a good idea.
Comment by Zhafran Rama Azmi (RushingAlien) - Sunday, 07 May 2023, 06:22 GMT
the not updating part is probably because `/var/lib/PackageKit/alpm/db.lck`
preventing packagekit from syncing database