[PLUG] ls listing with apt package column
Paul Heinlein
heinlein at madboa.com
Fri Dec 10 22:52:48 UTC 2010
I'll note that you need to be very careful about which directories you
scan for package ownership.
* /bin, /sbin, /usr/bin and /usr/sbin should be OK
* /usr/include should be OK
On the other hand, /lib, /usr/lib and the various lib32 and lib64
alternatives will have all sorts of symlinks that are created at
installation time and not owned by a package. It's also the place
where stuff like locally built CPAN or Python modules might show up
unless you're extra careful.
/usr/share is so big (over 30,000 files on Debian machine used for
development) that it wouldn't surprise me to see non-package stuff
lost in there -- though it'd be sort of interesting to find out.
Anyway, be careful where you look...
--
Paul Heinlein <> heinlein at madboa.com <> http://www.madboa.com/
More information about the PLUG
mailing list