Red Hat Bugzilla – Bug 653583
RFE: Orphaned Dependency Clean-up should handle loops
Last modified: 2016-04-20 08:57:18 EDT
Description of problem:
i installed VLC and its downloaded 38 packages as dependencies, now when i’m trying to remove VLC its just listing 17 packages as dependences for VLC.
So here is the question that the difference between install and erase call was around 3 hrs, so where are the other packages not getting depended upon. They were not needed earlier, but all of a sudden now they are needed.
I expected all of the 38 to be listed for removal, please explain where are the others left out.
Version-Release number of selected component (if applicable):
yum.noarch 3.2.28-14.fc14 @fedora-yum-rawhide
Reproduced once as described in description.
Steps to Reproduce:
1. Install VLC
2. Try erasing VLC, using yum
3. See the difference in the count of packages that were installed and then the one selected for removal.
There is difference in number listed for removal.
I expect all of the packages that were installed to be listed for removal. Since they were needed only for VLC. No other package was installed without dependencies i.e. broken dependencies, since its a fresh install of F14.
Please ask will provide it.
Created attachment 460597 [details]
installation and removal logs
The problem is that we have:
qt requires qt-sqlite
qt-sqlite requires qt
...so when you install vlc you get both, as requirments. But when you come to remove vlc, each one stops the other from being removed (as we don't currently look for loops).
qt doesn't require qt-sqlite
qt-sqlite does require qt though.
I agree we need to break loops better - but the above isn't one.