Bug 186306 - Missing dependencies after install
Missing dependencies after install
Status: CLOSED CURRENTRELEASE
Product: Fedora
Classification: Fedora
Component: anaconda (Show other bugs)
5
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Anaconda Maintenance Team
Mike McLean
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2006-03-22 14:55 EST by Phillip Sorensen
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version: f7t2
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-03-02 16:36:03 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
python script to find packages with no depends (1.22 KB, text/plain)
2006-03-22 14:55 EST, Phillip Sorensen
no flags Details

  None (edit)
Description Phillip Sorensen 2006-03-22 14:55:22 EST
Description of problem:

I have a little python script that I use to find the packages that have no other
packages depending on them.  This allows me to remove unwanted packages and
their dependencies.  Using this this with a number of different installs, I have
found that not all the dependencies are being installed.  

After installing the needed package to resolve the problem, an rpm -e shows that
 the new package is indeed dependent on another package.

Ones I have seem so far:

The default install needed binutils, gettext, and gstreamer-tools to be
installed for all dependencies to be met.

An install with all boxes unchecked (pseudo-minimal) needed ghostscript-fonts.

Another customized install with redhat-lsb selected in the installer needed over
30 packages when I removed and reinstalled with yum


Version-Release number of selected component (if applicable):

Fedora Core 5 released DVD / network install tree


How reproducible:

always, but different packages needed for different installs


Steps to Reproduce:
1. Do an install
2. run 'python depys.py' script I attached
  
Actual results:

script fails until dependencies are met

Expected results:

A list of packages with no packages that depend on them 


Additional info:
Comment 1 Phillip Sorensen 2006-03-22 14:55:23 EST
Created attachment 126499 [details]
python script to find packages with no depends
Comment 2 Paul Nasrat 2006-03-22 15:19:03 EST
There is already a script in yum-utils to do this:

package-cleanup --leaves you might want to check that out.

It is probable that the deps are deliberately cut due to whiteout.
Comment 3 Phillip Sorensen 2006-03-22 16:34:55 EST
I tried package-cleanup --problems on a fresh default install.  It came up with
the same results as my script (binutils, openjade, gstreamer-tools).
Comment 4 Chris Lumens 2007-02-27 14:45:46 EST
What's the status of this in F7?  Lots of stuff has changed on the anaconda side
of things, comps, and package deps themselves.
Comment 5 Phillip Sorensen 2007-03-02 16:11:25 EST
I just did a default install of Fedora 7 test 2. Both my script and the
package-cleanup utility ran without error.  The bug appears to be fixed. 

Note You need to log in before you can comment on or make changes to this bug.