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

Re: check package consistency



Peter Shtinkov <shtinkov@spnet.net> writes:

> I am using Debian hamm. I had problems with my disk (fsck found bad
> blocks).
> Can I check with dpkg which packet need to be reinstalled ?
> Thanks !

AFIAK there is no option to dpkg which performs such a test.

But it is rather easy to write one: Use the information in
/var/lib/dpkg/info/*.md5sums and perl to compare the checksums of the
files.  (It seems the .md5sums is missing for a lot of packages,
though).

HTH,

Jens
---
Jens.Ritter@weh.rwth-aachen.de   grimaldi@debian.org
Key ID: 2048/E451C639 Jens Ritter
Key fingerprint: 5F 3D 43 1E 24 1E CC 48  1E 05 93 3A A7 10 73 37 

Nothing works better as it is supposed to. (Steven Chu)


--  
Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null


Reply to: