FS#68013 - [packagekit] crashes when HookDir is set in pacman.conf
Attached to Project:
Community Packages
Opened by Bas Bleeker (Bubbel) - Saturday, 26 September 2020, 19:58 GMT
Last edited by Christian Hesse (eworm) - Friday, 14 October 2022, 21:02 GMT
Opened by Bas Bleeker (Bubbel) - Saturday, 26 September 2020, 19:58 GMT
Last edited by Christian Hesse (eworm) - Friday, 14 October 2022, 21:02 GMT
|
Details
Description:
When setting the pacman hookdir in /etc/pacman.conf, PackageKit crashes during startup. GDB reveals the following: (packagekitd:9789): PackageKit-alpm-ERROR **: 21:35:28.246: Failed to initialize alpm: using /etc/PackageKit/alpm.d/pacman.conf: /etc/PackageKit/alpm.d/pacman.conf:8/etc/pacman.conf:7unrecognised directive 'HookDir' Additional info: * community/packagekit 1.1.13-1 * See above for gdb output. Steps to reproduce: Set HookDir = to a value (mine is /etc/pacman.d/hooks, e.g. the default) in /etc/pacman.conf (re)start packagekit.service packagekit.service fails, coredump. |
This task depends upon
Closed by Christian Hesse (eworm)
Friday, 14 October 2022, 21:02 GMT
Reason for closing: Fixed
Additional comments about closing: packagekit 1.2.5-2
Friday, 14 October 2022, 21:02 GMT
Reason for closing: Fixed
Additional comments about closing: packagekit 1.2.5-2
FS#71140Hopefully you have tested the patch [1]?
PS. Note: Packagekit seems to be out of fashion [2].
[1] https://github.com/PackageKit/PackageKit/issues/342#issuecomment-1242566913
[2] https://blogs.gnome.org/hughsie/2019/02/14/packagekit-is-dead-long-live-well-something-else/
it might be going out of fashion but it's still used by KDE's Discover and likely gnome software too, also note that it's going out of fashion in immutable systems revolving around flatpak/snap which is not the case for arch and similar (except steamOS). In reality this is a minor nuisance but since there's a fix...