Bug 1226541 - Cockpit Packagekit does not appear in UI
Summary: Cockpit Packagekit does not appear in UI
Status: NEW
Alias: None
Product: openSUSE Distribution
Classification: openSUSE
Component: Cockpit (show other bugs)
Version: Leap 15.6
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Cockpit Bugs
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-19 20:27 UTC by Cody Henderson
Modified: 2024-06-20 07:38 UTC (History)
2 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cody Henderson 2024-06-19 20:27:25 UTC
After installing cockpit-packagekit the Software Updates tab did not appear.
After doing a little digging it appears to be caused by an incorrect path listed in the manifest for the plugin.

In /usr/share/cockpit/packagekit/manifest.json it has the following conditions:

>    "conditions": [
>        {"path-exists": "/lib/systemd/system/packagekit.service"},
>        {"path-not-exists": "/sysroot/ostree"}
>    ],

The path /lib/systemd/system/packagekit.service does not exist with packagekit installed on the system. Instead it is located at /usr/lib/systemd/system/packagekit.service. If I change that line to the corrected path the Software Update tab then appears and seems to function just fine.
Comment 1 Adam Majer 2024-06-20 07:38:09 UTC
This is the pre-/usr unification that happened on Tumbleweed.

Ideally these manifests support multiple values here.