Steve M. Robbins wrote:
> The md5sum of modified files is not updated, result is that
> the repackaged .deb has lintian errors.
> 
> With no files modified, the repacked deb is fine:
> 
> steve@riemann{tmp}fakeroot -u dpkg-repack dump
> dpkg-deb: building package `dump' in `./dump_0.4b44-1_amd64.deb'.
> steve@riemann{tmp}lintian dump_0.4b44-1_amd64.deb 
> N: 4 tags overridden (4 errors)
> 
> 
> Modify a file, lintian error:
> 
> steve@riemann{tmp}sudo xemacs /usr/share/lintian/overrides/dump 
> Warning: Missing charsets in String to FontSet conversion
> steve@riemann{tmp}fakeroot -u dpkg-repack dump
> dpkg-deb: building package `dump' in `./dump_0.4b44-1_amd64.deb'.
> steve@riemann{tmp}lintian dump_0.4b44-1_amd64.deb 
> E: dump: md5sum-mismatch usr/share/lintian/overrides/dump
> N: 4 tags overridden (4 errors)

It's not clear to me that dpkg-repack should hide modified files
by regenerating md5sums. They could as easily be disk corruption
as intentional; indeed it's very shady to be modifying files
provided by a package; your modifications would be lost on upgrade,
etc.

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature

Reply via email to