Bug 1307217 - Software Updates widget ignores dnf versionlock plugin
Summary: Software Updates widget ignores dnf versionlock plugin
Keywords:
Status: CLOSED DUPLICATE of bug 1256108
Alias: None
Product: Fedora
Classification: Fedora
Component: PackageKit
Version: 23
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Richard Hughes
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-02-13 08:29 UTC by Eric Lavarde
Modified: 2016-02-13 13:05 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-02-13 13:05:11 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Eric Lavarde 2016-02-13 08:29:52 UTC
Description of problem:
When using the dnf-plugin-versionlock in order to avoid upgrade of some packages, the widget ignores those locks and upgrades the packages.

Version-Release number of selected component (if applicable):
plasma-pk-updates-0.2-5.fc23.x86_64
python3-dnf-plugins-extras-versionlock-0.0.12-1.fc23.noarch

How reproducible:
Always

Steps to Reproduce:
1. downgrade a package (e.g. dnf downgrade keepassx - will reverse from 2.0 to 0.4)
2. lock it (dnf versionlock add keepassx)
3. dnf upgrade
4. wait for the software update to kick in

Actual results:

Software Updates shows an upgrade of keepassx from 0.4 back to 2.0.

There are two issues with this:

1. there is always a notification that I need as user to actively ignore, even if there is no relevant upgrade
2. if there is more than one update, I can't just accept them because else locked packages are upgraded as well.

Expected results:

The widget is aligned with the state of dnf and ignores version-locked packages.

Additional info:

Comment 1 Rex Dieter 2016-02-13 13:02:43 UTC
PackageKit doesn't use dnf (or it's plugins), sorry.

The only way of preventing certain packages to update that works in both dnf and PackageKit is to add:

exclude=foo

to .repo files in /etc/yum.repos.d/  (for any .repos you want skipped)

Comment 2 Rex Dieter 2016-02-13 13:05:11 UTC

*** This bug has been marked as a duplicate of bug 1256108 ***


Note You need to log in before you can comment on or make changes to this bug.