Bug 1280590
| Summary: | Software updates applet ignores excludes in dnf.conf | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Benedikt Gollatz <benedikt> |
| Component: | PackageKit | Assignee: | KDE SIG <kde-sig> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 23 | CC: | jonathan, jwakely, kde-sig, klember, rdieter, rhughes, smparrish |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-11-30 15:51:50 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: | |||
Unsurprisingly, plasma-pk-updates simply connects to PackageKit for information about package updates. Much to my surprise, however, the hawkey/libhif PackageKit backend completely bypasses DNF and goes to libsolv directly to perform its own dependency resolution. I have found no documentation on how to configure package excludes either in PackageKit or the backend, but I feel such a feature should be available to advanced users. Presumably, configuring excludes should be possible independently of the backend, so I've chosen to move the bug to the PackageKit component. One workaround, add excludes= entries to .repo files containing the packages you want skipped. See also bug #1237014 (same topic) *** This bug has been marked as a duplicate of bug 1256108 *** (In reply to Rex Dieter from comment #2) > One workaround, add excludes= entries to .repo files containing the packages > you want skipped. N.B. that requires listing every package out in full. Unlike dnf, PackageKit does NOT support wildcards like exclude=*foo* .repo files. |
Description of problem: Packages that have been downgraded to a previous Fedora release and excluded from automatic updating by adding an exclude option to dnf.conf still appear as updates in the "Software updates" Plasma applet. Version-Release number of selected component (if applicable): plasma-pk-updates-0.2-5.fc23.x86_64 How reproducible: Always Steps to Reproduce: 1. Downgrade some packages, say xorg-x11-server-* and xorg-x11-drv-* to the F22 build. 2. Add "exclude=xorg-x11-server-* xorg-x11-drv-*" to the [main] section of /etc/dnf/dnf.conf. 3. Verify that "dnf update" will not update these packages to the F23 version. Actual results: The applet will warn that there are a number of available software updates list the excluded packages for updating. Expected results: No listing of excluded packages by the "Software updates" Plasma applet. Additional info: I have observed that this behaviour persists even after the applet refreshes the metadata caches ("Last updated" timer in the applet resets).