Hello Javier,

On Thu, Mar 17, 2005 at 02:09:21PM +0100, Javier Fern�ndez-Sanguino Pe�a wrote:

> On Thu, Mar 17, 2005 at 01:41:12PM +0100, Christoph Martin wrote:
> 
> > tiger should check only the files of a package which are in the
> > <package>.list file.
> 
> It already does, if it's failing there it's either a bug in the check or a 
> bug in coreutils, if it replaces the files it should replace the Md5sums as 
> listed in the /var/lib/dpkg/info database.

Do you mean the coreutils package should replace the MD5 sum of 
/usr/bin/dircolors in the fileutils.md5sum file?

I could reproduce this while upgrading from woody to testing.

The only /var/lib/dpkg/info/fileutils.* file modified during the upgrade
is /var/lib/dpkg/info/fileutils.list (among others, the /usr/bin/dircolors
entry was removed).

Here is a description of what happens:
All MD5 sums of the /var/lib/dpkg/info/*.md5sums files are tested (except
doc, etc.)
If the checksum differ (this is the case for the MD5 sum of
/usr/bin/dircolors in fileutils.md5sum), it checks if the file is diverted
(this is not the case), and checks if the file is not a conffile.


If the behavior of the coreutils package is right, this could be fixed by
checking if $package is also the package owner of the $file with 'dpkg
-S', or by checking if the file is in $package.list (probably better).


hth,
-- 
Nekral

Reply via email to