Bug 1190141
| Summary: | dnf autoerase -- erases more than "leaf" packages | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | meine <trialero> | ||||||||||||||||
| Component: | dnf | Assignee: | rpm-software-management | ||||||||||||||||
| Status: | CLOSED EOL | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||||||||
| Severity: | unspecified | Docs Contact: | |||||||||||||||||
| Priority: | unspecified | ||||||||||||||||||
| Version: | 22 | CC: | akozumpl, ben.r.xiao, jscalia, jsilhan, jzeleny, kparal, mluscon, mr.gusliakov, packaging-team-maint, pnemade, teccie, tim.lauridsen, trialero | ||||||||||||||||
| Target Milestone: | --- | ||||||||||||||||||
| Target Release: | --- | ||||||||||||||||||
| Hardware: | Unspecified | ||||||||||||||||||
| OS: | Linux | ||||||||||||||||||
| Whiteboard: | |||||||||||||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||||||||||||
| Doc Text: | Story Points: | --- | |||||||||||||||||
| Clone Of: | Environment: | ||||||||||||||||||
| Last Closed: | 2016-07-19 12:47:04 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: | |||||||||||||||||||
| Attachments: |
|
||||||||||||||||||
|
Description
meine
2015-02-06 12:51:59 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle. Changing version to '22'. More information and reason for this action is here: https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora22 Created attachment 1044918 [details]
dnf autoremove misbehaviour
This log shows how 'dnf autoremove' tries to remove a package that 'dnf upgrade' wants to keep installed.
I just ran into the issue that you can see in the log that I just attached. I hope it's related to this bug. Thanks for the report, we'll take a look. I can reproduce this as well. dnf autoremove tries to remove packages I have explicitly installed (not deps). Out of this: ================================================================================ Package Arch Version Repository Size ================================================================================ Removing: cpp x86_64 5.1.1-4.fc22 @System 22 M esmtp x86_64 1.0-13.fc22 @System 93 k gcc x86_64 5.1.1-4.fc22 @System 46 M hivex x86_64 1.3.11-5.fc22 @System 233 k isl x86_64 0.14-3.fc22 @System 1.4 M libesmtp x86_64 1.0.6-8.fc22 @System 146 k libguestfs x86_64 1:1.29.50-1.fc22 @System 3.7 M libguestfs-tools noarch 1:1.29.50-1.fc22 @System 57 k libguestfs-tools-c x86_64 1:1.29.50-1.fc22 @System 15 M libldm x86_64 0.2.3-7.fc22 @System 125 k libmpc x86_64 1.0.2-3.fc22 @System 115 k lsscsi x86_64 0.28-1.fc22 @System 98 k perl-String-ShellQuote noarch 1.04-14.fc22 @System 17 k perl-Sys-Guestfs x86_64 1:1.29.50-1.fc22 @System 1.2 M perl-XML-Writer noarch 0.625-2.fc22 @System 65 k perl-XML-XPath noarch 1.13-26.fc22 @System 189 k perl-hivex x86_64 1.3.11-5.fc22 @System 77 k perl-libintl x86_64 1.20-16.fc22 @System 4.3 M python-doit noarch 0.28.0-1.fc22 @System 490 k python-inotify noarch 0.9.6-1.fc22 @System 263 k scrub x86_64 2.5.2-6.fc22 @System 120 k supermin x86_64 5.1.12-1.fc22 @System 1.7 M zerofree x86_64 1.0.3-3.fc22 @System 47 k Transaction Summary ================================================================================ Remove 23 Packages at least gcc, libguestfs-tools and python-doit were manually installed. The strange thing is that "dnf history userinstalled" doesn't list them. But I can find records in dnf history to prove that I manually installed them. So maybe userinstalled is not correctly populated? Will attach logs. dnf-1.0.1-2.fc22.noarch rpm-4.12.0.1-12.fc22.x86_64 libsolv-0.6.11-1.fc22.x86_64 hawkey-0.5.7-1.fc22.x86_64 librepo-1.7.16-1.fc22.x86_64 Created attachment 1053975 [details]
dnf autoremove -v
Created attachment 1053976 [details]
dnf history userinstalled
Created attachment 1053977 [details]
history record of installing gcc
Created attachment 1053978 [details]
history record of installing libguestfs-tools
Created attachment 1053979 [details]
history record of installing python-doit
Created attachment 1053980 [details]
debugdata from --debugsolver
*** Bug 1222076 has been marked as a duplicate of this bug. *** This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 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. |