Re: verifying deb installation
On 2001-09-15 04:23:17+0200, Wessel Dankers wrote:
> > * how do I get dpkg to check the manifest list of the installed packages
> > against the files installed, and reinstall the missing ones? *
> find /var/lib/dpkg/info -name '*.list' | sort | uniq | while read f
> do if [ ! -e "$f" ]; then echo "$f is missing";fi;done
Sorry, that should be:
find /var/lib/dpkg/info -name '*.list' | xargs cat | sort | uniq | while read f
do if [ ! -e "$f" ]; then echo "$f is missing";fi;done
It doesn't take diversions into account, so be sure to check
/var/lib/dpkg/diversions as well.
--
Wessel Dankers <wsl@nl.linux.org>
working as designed
Reply to: