Description of problem: I have versionlocked[1] the `mpv` package, because the latest version is incompatible with one of the mpv scripts that I use. Annoyingly, KDE Discover ignores this and repeatedly offers to upgrade the package. Version-Release number of selected component (if applicable): plasma-discover-5.23.3.1-1.fc35.x86_64 Steps to Reproduce: 1. sudo dnf install 'dnf-command(versionlock)' 2. sudo dnf install downgrade mpv 3. sudo dnf versionlock mpv Actual results: KDE Discover offers to upgrade MPV. Expected results: KDE Discover/packagekit (whichever is at fault here) should respect `dnf versionlock. [1]: https://dnf-plugins-core.readthedocs.io/en/latest/versionlock.html
Probably more an issue that "PackageKit doesn't support dnf versionlock", can you confirm if this does the same as discover? pkcon update
You are right; this is an issue with Packageit. What are the next steps to resolve this issue? Should I set the Bugzilla component to Packagekit?
(In reply to Maxwell G from comment #2) > You are right; this is an issue with Packageit. What are the next steps to > resolve this issue? Should I set the Bugzilla component to Packagekit? I have transferred this bug to Packagekit. Packagekit maintainer(s), please let me know if there's any other information you need from me. Thanks, Maxwell
(In reply to Maxwell G from comment #0) > Steps to Reproduce: > 1. sudo dnf install 'dnf-command(versionlock)' > 2. sudo dnf install downgrade mpv > 3. sudo dnf versionlock mpv For the record, mpv is not included in the default Fedora repos (it's from rpmfusion-free), but another package can of course be used to reproduce this issue.
Is there a possibility that until the problem is solved, perhaps the package at Packagekit is also masked in parallel?
Setting severity to medium as if you need to exclude a specific NVR that introduces a regression: # dnf versionlock exclude <broken NVR> will avoid dnf to update to that NVR but pkcon update will apply the broken build anyway.
This is very problematic for us. Is there an alternative method to lock package version in PackageKit?
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.