Package: debsums
Version: 2.0.48+nmu1
Severity: normal
Tags: patch

Hi,

debsums musst pass the admindir to dpkg-divert, otherwise dpkg-divert
reports the diversions of the host system and not of the subsystem, which
might differ.

% diff -u /usr/bin/debsums /tmp/debsums
--- /usr/bin/debsums    2010-05-11 23:46:48.000000000 +0200
+++ /tmp/debsums        2010-11-02 11:51:55.493098508 +0100
@@ -216,7 +216,7 @@
 }
 
 my %diversion;
-for (`/usr/sbin/dpkg-divert --list`)
+for (`/usr/sbin/dpkg-divert --list --admindir $admindir`)
 {
     my ($by) = /^(local) diversion/ ? $1 : / by (\S+)$/;
     $diversion{$1} = [$2, $by]

Bye, Jörg.

-- System Information:
Debian Release: unstable/experimental
  APT prefers unstable
  APT policy: (900, 'unstable'), (700, 'experimental')
Architecture: powerpc (ppc)

Kernel: Linux 2.6.36+
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages debsums depends on:
ii  debconf [debconf-2.0]        1.5.36      Debian configuration management sy
ii  perl                         5.10.1-15   Larry Wall's Practical Extraction 
ii  ucf                          3.0025+nmu1 Update Configuration File: preserv

debsums recommends no packages.

debsums suggests no packages.

-- Configuration Files:
/etc/default/debsums changed [not included]

-- debconf information excluded

Attachment: signature.asc
Description: Digital signature http://en.wikipedia.org/wiki/OpenPGP

Reply via email to