Re: dpkg suggestion
>>"Raul" == Raul Miller <firstname.lastname@example.org> writes:
Raul> Manoj Srivastava <email@example.com> wrote:
Raul> Probably you'd want to exclude packages which provide executables,
Raul> or the result would be unmanageably large.
>> There is no easy way to do that while just looking at Packages
>> files; the only reasonably accurrate way would be to run "file" on
>> suspect files (those in bin, or sbin directories, and possibly in
>> /usr/lib as well). That solution is unmangeably slow. (I have
>> complaints already that the pkg-nodep is too slow as it is).
Raul> We're talking about installed packages, so /var/lib/dpkg/info/*.list
Raul> should be available [through some appropriate interface].
And how does that help us determine if a package has
executables? Are you suggesting we just eliminate every package with
files in bin and sbin directories? The file permissions are not
present in the info files. Also, What about a package that provides a
shared library as well as an executable (the jpeg stuff does, I
__> dpkg -l | grep ^ii | wc -l
__> pkg-nodep | wc -l
The government has just completed work on a missile that turned out
to be a bit of a boondoggle; nicknamed "Civil Servant", it won't work
and they can't fire it.
Manoj Srivastava <firstname.lastname@example.org> <http://www.datasync.com/%7Esrivasta/>
Key C7261095 fingerprint = CB D9 F4 12 68 07 E4 05 CC 2D 27 12 1D F5 E8 6E