Bug 1983315

Summary: DNF packageKit plugin does not support DependsOn operation
Product: [Fedora] Fedora Reporter: Nate Graham <nate>
Component: PackageKitAssignee: Neal Gompa <ngompa13>
Status: ASSIGNED --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 39CC: gnome-sig, jonathan, ngompa13, rdieter, rhughes, smparrish
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Nate Graham 2021-07-17 15:10:02 UTC
Description of problem:
Plasma Discover is unable to show package dependencies because it reports that the DNF packageKit plugin does not support the DependsOn operation.



How reproducible:
100%



Steps to Reproduce:
1. Open KDE Discover in a terminal (`plasma-discover`)
2. Navigate to an app provided by the Fedora repos



Actual results:
The button in the UI to display the app's dependencies is not visible, and there is an error in the console output:

Transaction error:  "DependsOn not supported by backend" PackageKit::Transaction(0x47a91e0)



Expected results:
Discover is able to show the app's dependencies because the DNF PackageKit plugin supports the DependsOn operation



Additional info:
This works in openSUSE Tumbleweed with the Zypper PackageKit plugin, so I know that the feature is not simply broken in Discover.

Comment 1 Rex Dieter 2021-07-17 20:19:31 UTC
Yeah, this is why we haven't updated to discover 5.22 yet, need this feature in place first.  Thanks for documenting it

Comment 2 Nate Graham 2021-07-17 22:06:52 UTC
FWIW there shouldn't be any great harm in shipping Discover 5.22 even without this feature in the PK plugin. It just means that the package dependencies feature will be missing--but the UI degrades gracefully and simply doesn't show the button to invoke it.

Comment 3 Rex Dieter 2021-07-17 23:26:30 UTC
Ok, I'll test again, last we'd tried, discover crashed.

Comment 4 Nate Graham 2021-07-19 22:35:45 UTC
I'm building it from source daily and I don't see any crashes, but my build process may be different from the way it's done in the packaging. I'm just using kdesrc-build.

Comment 5 Neal Gompa 2021-12-06 18:52:08 UTC
Implementation is in progress: https://github.com/PackageKit/PackageKit/pull/495

Comment 6 Ben Cotton 2022-05-12 16:54:13 UTC
This message is a reminder that Fedora Linux 34 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 34 on 2022-06-07.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '34'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 34 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 7 Nate Graham 2022-05-12 18:19:00 UTC
Still an issue in 36.

Comment 8 Ben Cotton 2023-04-25 18:22:37 UTC
This message is a reminder that Fedora Linux 36 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 36 on 2023-05-16.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '36'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 36 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 9 Fedora Release Engineering 2023-08-16 07:04:48 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 39 development cycle.
Changing version to 39.