On Fri, Dec 10, 2010 at 12:31 AM, Daniel Hedlund <[email protected]>
wrote:
>Someone posted a script on FSLint's issue tracker that sounds like it
>does what you want:
>http://code.google.com/p/fslint/issues/detail?id=46

On Fri, Dec 10, 2010 at 9:46 AM, Paul Mullen <[email protected]> wrote:

> "dpkg -S" does that.  It'll produce the package that any file argument
> may have come from.  You can use shell globbing to feed it an entire
> directory's worth of files.
>
>

Both of these almost do the trick! The find-cruft script gives a system wide
list of files with no obvious package origin and dpkg -S /usr/bin/* will do
the same on a per directory/file glob level. The one thing they are not
doing is looking at /etc/alternatives. For instance the package
xtightvncviewer created the following softlinks
/usr/bin/vncviewer -> /etc/alternatives/vncviewer
and
/etc/alternatives/vncviewer -> /usr/bin/xtightvncviewer

The package origin of these soft links are not reported, but it might be
possible to add that ability to the find-cruft script.

Thanks,
Bill
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to