Bug 653583

Summary: RFE: Orphaned Dependency Clean-up should handle loops
Product: [Fedora] Fedora Reporter: sawrub <sawrub>
Component: yumAssignee: Packaging Maintenance Team <packaging-team-maint>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: ffesti, james.antill, maxamillion, tcallawa, tim.lauridsen
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: 2018-07-18 21:29:38 UTC Type: ---
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 Flags
installation and removal logs none

Description sawrub 2010-11-15 18:10:14 UTC
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


How reproducible:
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.
  
Actual results:
There is difference in number listed for removal.

Expected results:
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.

Additional info:
Please ask will provide it.

Comment 1 sawrub 2010-11-15 18:12:21 UTC
Created attachment 460597 [details]
installation and removal logs

Comment 2 James Antill 2010-11-15 20:09:59 UTC
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).

Comment 3 seth vidal 2010-11-16 15:54:53 UTC
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.

Comment 4 Daniel Mach 2018-07-18 21:29:38 UTC
yum and related packages are no longer actively developed.
They are being replaced with dnf, dnf-utils, etc.

I'm closing this bug because it's most likely never going to be fixed.
If you still consider your bug report important, reopen it, please.

Comment 5 Daniel Mach 2018-07-18 21:32:50 UTC
yum and related packages are no longer actively developed.
They are being replaced with dnf, dnf-utils, etc.

I'm closing this bug because it's most likely never going to be fixed.
If you still consider your bug report important, reopen it, please.