| Summary: | dnf autoremove still try to remove essential packages or packages that should not be removed !! | ||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | yousifjkadom <yousifjkadom> | ||||||||||||||||||||
| Component: | dnf | Assignee: | rpm-software-management | ||||||||||||||||||||
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||||||||||||
| Severity: | high | Docs Contact: | |||||||||||||||||||||
| Priority: | unspecified | ||||||||||||||||||||||
| Version: | 24 | CC: | jsilhan, mluscon, packaging-team-maint, pnemade, rpm-software-management, vmukhame, yousifjkadom | ||||||||||||||||||||
| Target Milestone: | --- | ||||||||||||||||||||||
| Target Release: | --- | ||||||||||||||||||||||
| Hardware: | x86_64 | ||||||||||||||||||||||
| OS: | Linux | ||||||||||||||||||||||
| Whiteboard: | |||||||||||||||||||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||||||||||||||||
| Doc Text: | Story Points: | --- | |||||||||||||||||||||
| Clone Of: | Environment: | ||||||||||||||||||||||
| Last Closed: | 2016-10-07 14:36: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: | |||||||||||||||||||||
| Attachments: |
|
||||||||||||||||||||||
|
Description
yousifjkadom@yahoo.com
2016-10-07 11:19:20 UTC
run dnf autoremove --debugsolver and attach 'debugdata' directory. Hi. I did what you command me. But I have 2 folders (directory): - "debugdata" - "debugdata-autoremove" Attachments system here does not allow for folder attachment. It only allows for individual files attachments. For that I attached files inside folder "debugdata". If further information needed please inform me. Created attachment 1208163 [details]
fedora.repo.gz
Created attachment 1208164 [details]
rpmfusion-free.repo.gz
Created attachment 1208165 [details]
rpmfusion-free-updates.repo.gz
Created attachment 1208166 [details]
rpmfusion-nonfree.repo.gz
Created attachment 1208167 [details]
rpmfusion-nonfree-updates.repo.gz
Created attachment 1208169 [details]
solver.result
Created attachment 1208170 [details]
@System.repo.gz
Created attachment 1208171 [details]
testcase.t
Created attachment 1208172 [details]
updates.repo.gz
Packages are not marked as "userinstalled". Just do "dnf mark install ..." on packages which you want to keep. Not a bug !! I'm should marking the packages !! Dear. Please be patient with me. In Debian there is command: sudo apt-get autoremove Above command detect by ITSELF unusable packages that their removal will NEVER cause injury or crash of system because these package are NOT USED AT ALL. In Fedora, command: sudo dnf autoremove should have the same function as that of "sudo apt-get autoremove" in Debian, isn't it ?? You ask me to "mark package(s) you like to remain" !! If I'm already know them so why I use autoremove ?!! How I know every package if used or unused ? This should be the function of "dnf autoremove" not me ! Other thing, 2 packages, "youtube-dl" & "xorg-x11-server-common", are not installed by me. They are came from updating system or being installed by default, so why I should mark them ? If there is need to "mark them", isn't the system who should "mark them" to be not removed by autoremove ? I does not understand why not a bug ?!! If not a bug, simply this mean that DNF is not clever tool !! Not clever tool in Linux ??!!! (In reply to yousifjkadom from comment #13) > Not a bug !! I'm should marking the packages !! > > Dear. Please be patient with me. In Debian there is command: > > sudo apt-get autoremove > > Above command detect by ITSELF unusable packages that their removal will > NEVER cause injury or crash of system because these package are NOT USED AT > ALL. > > In Fedora, command: > > sudo dnf autoremove > > should have the same function as that of "sudo apt-get autoremove" in > Debian, isn't it ?? Idea is same, but it should not be 100%-same. > > You ask me to "mark package(s) you like to remain" !! If I'm already know > them so why I use autoremove ?!! How I know every package if used or unused > ? This should be the function of "dnf autoremove" not me ! Even there was some bug, DNF doesn't know if package is used by you or not (e.g. some filesystem corruption), so it assumes that they are not and tries to remove them. > > Other thing, 2 packages, "youtube-dl" & "xorg-x11-server-common", are not > installed by me. They are came from updating system or being installed by > default, so why I should mark them ? If there is need to "mark them", isn't > the system who should "mark them" to be not removed by autoremove ? If youtube-dl was pulled by dependency and later became unnecessary, then it can be safely autoremoved. As for xorg-x11-server-common, it can be that you removed some other packages like xorg-x11-drv-intel, so that package is not anymore required. > > I does not understand why not a bug ?!! If not a bug, simply this mean that > DNF is not clever tool !! Not clever tool in Linux ??!!! !! ? !! To dear Igor Gnatenko Your statement: "As for xorg-x11-server-common, it can be that you removed some other packages like xorg-x11-drv-intel, so that package is not anymore required." Dear here why we are very afraid: I did not touch any thing related to xorg-xll-drv-intel. I did not know about this package unless when I run autoremove. This is exactly the problem. Here is the question. I installed & removed the following: rdour avidemux Pitivi LiVES OpenShot FlowBlade I do not remember whether I installed then erased KpassX on my real Fedora or on live USB Fedora I installed & still on my system the following: - audacity - wget - uGet - KDEnlive - VLC - GNOME Password generator - gtk-recordmydesktop - GoldenDict (Golden Dictionary) - pdfedit During the time of installation & removing above application: I used Yum extender (DNF) & it was set "not to erase unused requirements" This is all my history. I use Fedora since only 2 months. Before 2 weeks or so I activated "erase unuse requirements" in Yum extender (DNF) BUT I NEVER ERASE OR REMOVE ANY PACKAGE OR APPLICATION FROM THAT TIME WHEN I ACTIVATED THIS OPTION TILL NOW !! So, how xorg became not used !! Is this related to fact that I have 2 graphics: - Intel HD Graghics 5500 (well integrated with motherboard) Supported by Fedora - AMD Radeon R7 M265 dedicated VGA 2GB NOT SUPPORTED YET BY Fedora. Does AMD Radeon dedicated VGA being not supported till now, is responsible ? |