Your message dated Wed, 18 Mar 2015 21:34:28 +0000
with message-id <e1yylbg-0003c8...@franck.debian.org>
and subject line Bug#773136: fixed in debsums 2.0.53
has caused the Debian Bug report #773136,
regarding debsums: modified files of arch-qualified (multiarch) packages are
not being reported
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
773136: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=773136
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: debsums
Version: 2.0.52+nmu2
Severity: important
Tags: patch
Hi,
here are the steps to reproduce the problem:
1. Let some package to be installed for several architectures (eg.
libssl1.0.0:amd64 and libssl1.0.0:i386)
2. Replace any file mentioned in *.md5sums (eg. replace
/usr/lib/x86_64-linux-gnu/libssl.so.1.0.0)
3. Try to run
$ debsums -c libssl1.0.0
nothing would be shown, although one file has been changed
Seems like the problem is in that debsums internally calls dpkg-query -S in
order to test whether
modified file actually belongs to the package being tested; dpkg-query results
with two-column output,
using colon (':') as column separator, however in multilib configuration
architecture constitutes full package name
via concatenation through exactly the same separator (eg. libssl1.0.0:amd64).
Consequently aforementioned test wrongfully fails, thus leading
modification-notification not to be shown.
I've attached simple patch that appear to fix the problem.
Sincerely,
Vladimir.
-- System Information:
Debian Release: 8.0
APT prefers experimental
APT policy: (990, 'experimental'), (500, 'testing-proposed-updates'), (500,
'stable-updates'), (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.18.0-rc6 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages debsums depends on:
ii dpkg 1.17.22
ii libdpkg-perl 1.17.22
ii libfile-fnmatch-perl 0.02-2+b1
ii perl 5.20.1-3
ii ucf 3.0030
debsums recommends no packages.
debsums suggests no packages.
-- no debconf information
-- debsums errors found:
debsums: changed file /usr/bin/debsums (from debsums package)
--- /tmp/debsums.orig 2014-12-15 00:29:26.374937420 +0300
+++ /usr/bin/debsums 2014-12-15 00:29:32.316997362 +0300
@@ -462,7 +462,7 @@
return 0;
}
- my $correct_package = `dpkg-query "--admindir=$DPKG" -S "$path" | awk -F: '{print \$1}'`;
+ 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";
--- End Message ---
--- Begin Message ---
Source: debsums
Source-Version: 2.0.53
We believe that the bug you reported is fixed in the latest version of
debsums, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 773...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Axel Beckert <a...@debian.org> (supplier of updated debsums package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Wed, 18 Mar 2015 20:35:02 +0100
Source: debsums
Binary: debsums
Architecture: source all
Version: 2.0.53
Distribution: unstable
Urgency: medium
Maintainer: Debian Perl Group <pkg-perl-maintain...@lists.alioth.debian.org>
Changed-By: Axel Beckert <a...@debian.org>
Description:
debsums - tool for verification of installed package files against MD5 chec
Closes: 773136
Changes:
debsums (2.0.53) unstable; urgency=medium
.
* Take package under maintenance of the Debian Perl Group
+ Move Maintainer to Uploaders
+ Set Maintainer to the Debian Perl Group
+ Update Vcs-* header to point to pkg-perl git repository
+ See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=744398#722 and
https://lists.debian.org/debian-perl/2015/01/msg00010.html for
discussions about moving to group maintenance.
* Add myself as Uploader.
* Canonicalize Vcs-* headers.
* Apply patch by Vladimir N. Solovyov to also report modified files of
arch-qualified (multiarch) packages. (Closes: #773136)
Checksums-Sha1:
2818158eb62cd899168d689947a193e12c8a5917 1671 debsums_2.0.53.dsc
1b80a197806829c21cb09db1079b6ebdec9e6844 46908 debsums_2.0.53.tar.xz
7558a72884300c5859e2f2f745a21a49598b117b 48250 debsums_2.0.53_all.deb
Checksums-Sha256:
45e9495152c216b7da7f8bac3c7a6c5bea3584ecb21853e8f39cdd89d75932fe 1671
debsums_2.0.53.dsc
3dfb176b244ed68974c73bc9c6dc44721718ecd2c52c34b2baf0be332456344e 46908
debsums_2.0.53.tar.xz
337ed6bcc51bd4f4ef5a0f8f7eaaf79181ea28b81783b02691c82045161298d1 48250
debsums_2.0.53_all.deb
Files:
2b6418fa4477dc21e609119a0394f042 1671 admin optional debsums_2.0.53.dsc
eca925df4607a6634f1b787fa9936727 46908 admin optional debsums_2.0.53.tar.xz
81ec07031e6ed7bc1de4c814f93fea57 48250 admin optional debsums_2.0.53_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCAAGBQJVCeRaAAoJEGvmY8daNcl1fdIP/0KgtYlwIjgsWXT7qoL3Xfty
OZ1TJAAU8NlidHptIx7RhsIivOEV51+DyYcEchwo/MhfWl4Fip1k4rHejgHfffCy
j5qyhDzKYYNoxsWHsFIpS+DeHlL6Q3xdYbz/TsTAWoVRCs+3I8OEpVv6aUrjfHoh
+JXYCjjrtbVWXU97Cp1Vp2wwphAF9aUbXHcgs73CrLJG0kp/A92+J46lJtuyKXBF
/9LBM+E5FCDGlmr5MN/IX0CHbNzElJqtJvNUWUXd2eTNTlA4tZgolroaqmhrddja
a+uZlfkhMhyzDooC087xn6JETy2WRQOiGcNGnyl+Hz5D9yRpZ0zydXIXx44toT5k
zwkxMj/w26fmgyZRoM9mmrCMSIrsOA58mP9KYrGbCf1jZAUsPudqjR2Gy0fEV3Mh
Fs7qhroBFdG5/pdAX5a5+UlmmMNfXwtx24qvM/wHd/6OuZEsn8rV0LZiKsFiyyYx
L3O3/GEY/L2o9A/MMcaD3dpT1RT8n7XO3auH21EblmHujmB2WKWeFSQ0CPrLg79f
c0Frxtzv72hInKagZT282jDhVPFN5TwBX14B8sdV2q+o2umyuOmU257jbU9dWGbL
tEbeQt+pTW7FoOKoYX6mRS2PYypA77foJcXpHQY+r4GeWY5lQwcM0z3nc1V2uBSm
iWZx675tp+MvA4EaHQJq
=62lL
-----END PGP SIGNATURE-----
--- End Message ---