[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

SUGGESTION: Re: Cleaning Debian Filesystem...



On Mon, 16 Jun 1997, Adrian Bridgett wrote:

> In article <[🔎] 199706152213.RAA04167@cs.tamu.edu> you wrote:
>  > Has anyone come up with a decent way to audit a filesystem... so the admin
>  > can wipe out tons of stuff that is only partially installed or not
>  > removed completely, etc. ?

Somebody once posted a script with the following description:

# $Id: dpkg-verify,v 1.4 1996-10-31 13:35:25-08 gobbel Exp $
#
# dpkg-verify: Given a list of packages, check to see if any of their
files
# are missing.  If so, optionally mark the associated package as requiring
# reinstallation, and produce a report listing the missing files.
Currently
# no way to check that the files are actually correct, only that they
exist.
# NOTE: the "mark" option is currently unimplemented, and may be a bad
idea.

This isn't what you want, but perhaps suggests a method.

The /var/lib/dpkg/info/*.list files should be a list of all installed
files. Comparing this to a listing of all the files in the potential
install target directories that a debian installation normally uses would
give a list of files for potential removal.

Or some variation on this idea.

...RickM...


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: