This exists already.I have a suggestion for the elimination of non-required (un-depended ;) packages.
Why not have a separate program, let's call it
urpm-clean that looks in the RPM database and builds a
reverse tree with the most "depended" at the root. If
there are root-only packages (no depending packages),
give the user the option to delete them. There could
be a file of "must-have" (kernel, bash or whatever),
that would not be included or would be shown without
the option to remove them.
This way you and I can remove on demand and leave urpmi/urpme alone.
Hope this is the beginning of a good project. (for anyone looking for a challenge :)
http://eijk.homelinux.org/build/bin/min.sh
make a textfile containing the packages you want, one per line. Put it in /build/bin/.`hostname -f`
and run ./min.sh.
It'll show you what can be removed.
enjoy!
Stefan
smime.p7s
Description: S/MIME Cryptographic Signature
