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
always, but different packages needed for different installs
Steps to Reproduce:
1. Do an install
2. run 'python depys.py' script I attached
script fails until dependencies are met
A list of packages with no packages that depend on them
Created attachment 126499 [details]
python script to find packages with no depends
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.
I tried package-cleanup --problems on a fresh default install. It came up with
the same results as my script (binutils, openjade, gstreamer-tools).
What's the status of this in F7? Lots of stuff has changed on the anaconda side
of things, comps, and package deps themselves.
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.