Package: multistrap
Version: 2.1.20
Severity: normal
Tags: patch

The filehandle MA used for adding architecture names into file var/lib/dpkg/arch
acually belongs to file etc/dpkg/dpkg.cfg.d/multiarch and is already closed.

The filehandle VMA should be used instead.

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages multistrap depends on:
ii  apt                            0.9.7.6
ii  libconfig-auto-perl            0.42-1
ii  liblocale-gettext-perl         1.05-7+b1
ii  libparse-debian-packages-perl  0.03-1
ii  perl                           5.14.2-15

Versions of packages multistrap recommends:
pn  emdebian-archive-keyring  <none>

Versions of packages multistrap suggests:
ii  fakeroot  1.18.4-2

-- no debconf information
--- orig/multistrap	2012-12-13 11:17:04.903840885 +0100
+++ modif/multistrap	2012-12-13 11:17:24.711759491 +0100
@@ -210,9 +210,9 @@
 		}
 		close (MA);
 		open (VMA, ">${dir}${dpkgdir}arch");
-		print MA "$host\n";
+		print VMA "$host\n";
 		foreach my $farch (@foreignarches) {
-			print MA "$farch\n";
+			print VMA "$farch\n";
 		}
 		close (VMA);
 	}

Reply via email to