Bug 1217594
| Summary: | PackageKit ignores excludes in yum.conf | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Greta Watson <greta_watson> |
| Component: | PackageKit | Assignee: | Richard Hughes <rhughes> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 21 | CC: | jonathan, kalevlember, rdieter, rhughes, smparrish, xjakub |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-04-30 18:47:36 UTC | 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: | |||
Unfortunately, starting with f21, PackageKit's new backend functions independantly of yum (and dnf). In short, your expectations (that PackageKit should continue respect yum.conf) cannot be met any more. So, how does PackageKit exclude packages to be updated? That's a good question (I don't know), one better asked in a more appropriate venue (not a bug tracker): https://fedoraproject.org/wiki/Communicating_and_getting_help What fortunately still works is if you place the exclude directive into individual .repo files under /etc/yum.repos.d/ |
Description of problem: PackageKit does not exclude packages listed in /etc/yum.conf Version-Release number of selected component (if applicable): PackageKit-1.0.4-1.fc21.x86_64 How reproducible: Add a package or packages to /etc/yum.conf: exclude=dracut dracut-config-rescue dracut-network Steps to Reproduce: 1. Downgrade packages, such as dracut, dracut-config-rescue dracut-network 2. Add those packages to yum.conf as excludes 3. Reboot 4. as root, yum update. Excluded packages are not marked for update. 5. Apper (KDE front end to PackageKit) shows updates available, and will actually update the unwanted packages unless one explicitly unchecks them. Actual results: If there are updates available to files listed as excluded in /etc/yum.conf, the packages are updated. Expected results: Don't update packages that are excluded in /etc/yum.conf Additional info: I had to uninstall apper to stop the little gear icon from appearing all the time on my panel,which means I have to remember to use yum from the command line periodically to see what's new.