Bug 1147928 - Software ignores yum/dnf config
Summary: Software ignores yum/dnf config
Keywords:
Status: ASSIGNED
Alias: None
Product: Fedora
Classification: Fedora
Component: PackageKit
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Richard Hughes
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-09-30 10:34 UTC by Tomas 'Sheldon' Radej
Modified: 2022-11-28 13:52 UTC (History)
18 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-08-08 11:48:40 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Tomas 'Sheldon' Radej 2014-09-30 10:34:42 UTC
Description of problem:
Gnome Software ignores my settings in yum/dnf configs, most importantly the 'exclude' setting. I am using it because of a tainted kernel.

Version-Release number of selected component (if applicable):
gnome-software-3.14.0-1.fc21.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Add exclude=kernel* to {yum,dnf}.conf
2. (Optional) Reboot
3. Check for updates

Actual results:
Gnome Software still wants to update kernel, kernel-core, kernel-modules, and kernel-modules-extra

Expected results:
Gnome Software excludes these packages from the update.

Additional info:

Comment 1 Richard Hughes 2014-09-30 11:00:06 UTC
PackageKit doesn't use dnf or yum. We'd have to talk to the designers about how to handle this kind of thing in the UI.

Comment 2 Tomas 'Sheldon' Radej 2014-09-30 12:39:43 UTC
Can I configure PackageKit to ignore certain packages then?

Comment 3 Adam Williamson 2015-01-22 23:23:08 UTC
Richard: FWIW I'd agree with the reporter that it's pretty unfortunate we don't universally respect settings like this that aren't really package manager specific.

I realize it might be a PITA to build, but I think it'd really be worth considering if there's some sort of way we can try and make all the supported package management stacks in F22 respect settings like this that are specified in yum configuration. Maybe we need some sort of store for package management configuration that isn't tied to a particular package manager, and a way to migrate settings into it from 'legacy' package manager configuration stores...

Comment 4 Fedora End Of Life 2015-11-04 10:52:52 UTC
This message is a reminder that Fedora 21 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 21. 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 Fedora  'version'
of '21'.

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

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 21 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, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 5 Adam Williamson 2015-11-04 18:53:07 UTC
The general issue here is still outstanding, I think: we now have rather a bunch of package management tools and no common configuration for them.

Comment 6 Christian Schwarzgruber 2016-01-07 18:18:33 UTC
Just hit the same issue, I'll excluded bacula from being updated. Until it will be fixed, I'll remove gnome-software as it could break the system.

Comment 7 Tim Hughes 2016-02-17 10:11:31 UTC
Another example

Keepassx was released in F23 as keepassx-0.4.3-13.fc23.x86_64 but then later upgraded to keepassx-2.0.0-1.fc23. The latter uses a different database format which is incompatible. I have tried version locking it but gnome software ignores the version lock and updates it. This database is shared among multiple users with multiple distros so I cannot just convert to the newer database format.

Comment 8 Jan Kurik 2016-02-24 13:16:26 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 24 development cycle.
Changing version to '24'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora24#Rawhide_Rebase

Comment 9 Javier Alejandro Castro 2016-06-22 12:22:34 UTC
Having the same issue here. Will it be addressed for F24? I want to exclude=nodejs in my case, as i'm using nodesource for a newer version

Comment 10 Fedora End Of Life 2017-07-25 18:42:50 UTC
This message is a reminder that Fedora 24 is nearing its end of life.
Approximately 2 (two) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 24. 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 Fedora  'version'
of '24'.

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

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 24 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, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 11 Fedora End Of Life 2017-08-08 11:48:40 UTC
Fedora 24 changed to end-of-life (EOL) status on 2017-08-08. Fedora 24 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 12 Adam Williamson 2017-08-11 00:35:11 UTC
It seems pretty unlikely that this just magically got fixed with a version bump, so I'm re-opening it.

Comment 13 nuno ferreira 2017-09-12 15:28:47 UTC
Confirm this bug exists in Fedora 26. Versionlock is ignored when updating system

Comment 14 Milan Crha 2021-03-25 14:24:04 UTC
This is not a bug on the gnome-software side, it's PackageKit, which should be updated/fixed, but it's in a maintenance mode, if I'm not mistaken.

As Adam said, this needs a common place to set the settings and that being used by the package manages (yum/dnf/PackageKit/snap/dpkg/apt/Flatpak/...). The gnome-software is only a front end to those.

Comment 15 Fedora Admin user for bugzilla script actions 2021-04-29 12:17:56 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.


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