Printing a list packages that no package depends on
Hi,
I have been asked whether pkg-order can print a list of all
packages that no other packages depend on (useful in deciding whether
to delete a shared library package or not).
Well, all the required smarts is already in the pkg-order
libraries. All one has to do is gather in the status file, run a
depends on it to fill out the data structure, and run is_target for
all the packages (optionally only a list of packages one wants to
check).
I may write a small (~=30 line) wrapper script that calls all
the library routines in sequence for one, if there is interest in
such a beast, and if I can figure out what to call it ;-).
manoj
--
"You cannot depend on your eyes when your imagination is out of
focus." Mark Twain
Manoj Srivastava <url:mailto:srivasta@acm.org>
Mobile, Alabama USA <url:http://www.datasync.com/%7Esrivasta/>
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org .
Trouble? e-mail to templin@bucknell.edu .
Reply to: