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

debsums seriously broken in stable



Hi,

debsums is seriously broken in stable due to #744398 and this affects
piuparts.d.o badly, so currently I've manually+hackishly installed debsums
from the 2.0.52+nmu2 upload on piu-slave-bm-a.d.o, where I need it.

But I (and DSA) would like to use a packaged version, so I wonder if the
following patch would be suitable for a stable upload:

https://bugs.debian.org/cgi-bin/bugreport.cgi?msg=99;filename=744398-nmu.patch;att=1;bug=744398

Alternativly I could backport debsums and use that, but AIUI serious bugs in
stable should be fixed there properly.

What do you think? Shall I open a bug against release.d.o to track this
request or...?


cheers,
	Holger

diff --git a/debsums b/debsums
index 9319f27..edea289 100755
--- a/debsums
+++ b/debsums
@@ -462,6 +462,13 @@ sub is_localepurge_file {
            return 0;
        }
 
+       my $correct_package = `dpkg-query "--admindir=$DPKG" -S "$path" | awk -F: '{print \$1}'`;
+       chomp($correct_package);
+       if ($pack ne $correct_package) {
+           #print "$pack != $correct_package\n";
+           return 0;
+       }
+

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: