| Summary: | "dnf autoremove" tries remove dnf | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Tomasz Kłoczko <kloczko.tomasz> | ||||
| Component: | dnf | Assignee: | rpm-software-management | ||||
| Status: | CLOSED CANTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | rawhide | CC: | ignatenko, jsilhan, kloczko.tomasz, mluscon, packaging-team-maint, pnemade, rpm-software-management, vmukhame | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2016-08-31 10:12:11 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: | |||||
| Attachments: |
|
||||||
|
Description
Tomasz Kłoczko
2016-08-30 17:14:27 UTC
bascially it tries to remove some dependency of DNF. run dnf with --debugsolver and attach created directory "debugdata". Created attachment 1196283 [details]
debugdata
debug data directory is in attachment
try something like: # dnf mark install dnf NetworkManager-wifi kernel-devel and all other packages which you want explicitly to keep. I think you were using yum-deprecated or/and PackageKit (until some release). Those 2 do not write to DNF database, so DNF thinks that it's not user-installed packages. Just in case .. I've been generating debugdata on fully updated few minuter earlier system to latest rawhide. # dnf mark install dnf dnf-1.1.10-1.fc26.noarch marked as user installed. and after this "dnf autoremove" is producing now list of possibly to remove list of packages. Nevertheless if it is possible to mark package X to not be listed in atoremove list IMO dnf should be on such list OOTB. |