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

Bug#703995: marked as done (apt-setup: preseeding apt-setup/multiarch breaks dpkg)

Your message dated Sat, 06 Apr 2013 18:32:35 +0000
with message-id <E1UOXul-0004G6-D8@franck.debian.org>
and subject line Bug#703995: fixed in apt-setup 1:0.79
has caused the Debian Bug report #703995,
regarding apt-setup: preseeding apt-setup/multiarch breaks dpkg
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 owner@bugs.debian.org

703995: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=703995
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: apt-setup
Version: 0.77
Severity: normal
Tags: patch

I wanted to try out preseeding apt-setup/multiarch to i386 but before
doing it, I reviewed apt-setup's handling of this option and I discovered
that it actually creates the configuration file used by the early Ubuntu
implementation of multiarch (which relied on the --foreign-architecture
command line option instead of the single dpkg --add-architecture call).
This means that it actually breaks dpkg since the current version of dpkg
doesn't underestand the --foreign-architecture command-line option.

Here's an untested patch:

--- a/generators/01setup
+++ b/generators/01setup
@@ -17,8 +17,7 @@ fi
 db_get apt-setup/multiarch
 if [ "$RET" ]; then
-       mkdir -p $ROOT/etc/dpkg/dpkg.cfg.d
        for arch in $RET; do
-               echo "foreign-architecture $arch"
-       done >$ROOT/etc/dpkg/dpkg.cfg.d/multiarch
+               chroot $ROOT dpkg --add-architecture $arch
+       done

IMO it would be nice to have this fixed in wheezy but it's not required


-- System Information:
Debian Release: 7.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

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

--- End Message ---
--- Begin Message ---
Source: apt-setup
Source-Version: 1:0.79

We believe that the bug you reported is fixed in the latest version of
apt-setup, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 703995@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
Cyril Brulebois <kibi@debian.org> (supplier of updated apt-setup 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 ftpmaster@debian.org)

Hash: SHA1

Format: 1.8
Date: Sat, 06 Apr 2013 20:11:42 +0200
Source: apt-setup
Binary: apt-setup-udeb apt-mirror-setup apt-cdrom-setup
Architecture: source all
Version: 1:0.79
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Cyril Brulebois <kibi@debian.org>
 apt-cdrom-setup - set up a CD in sources.list (udeb)
 apt-mirror-setup - set up a mirror in sources.list (udeb)
 apt-setup-udeb - Configure apt (udeb)
Closes: 703995
 apt-setup (1:0.79) unstable; urgency=low
   * Fix support for apt-setup/multiarch preseed option: call “dpkg
     --add-architecture $arch" for each architecture, instead of
     generating dpkg.cfg (used by early multiarch implementations);
     thanks, Raphaël Hertzog! (Closes: #703995)
 6395edd3f7e888af989d827d52fa7418c465eb77 1098 apt-setup_0.79.dsc
 16f727dd37b55d1eb0abb8f92cb50a36b15c3089 299711 apt-setup_0.79.tar.gz
 4a0537e3bd5ca7aef3effcae68a31e414bb24681 65490 apt-setup-udeb_0.79_all.udeb
 dd7c86ad9940d9a2df8105961df75298d57dd0bc 72908 apt-mirror-setup_0.79_all.udeb
 610494562d3b67153c680acab3cdbdd47f72846f 95580 apt-cdrom-setup_0.79_all.udeb
 4fd3decae5ceb67fda19ce9108f400f8365687185676016c32f84a92400f740f 1098 apt-setup_0.79.dsc
 34b7359f4870994cc559c9fbc1c75ab845be04d65b5454b8c90073d114d4a33a 299711 apt-setup_0.79.tar.gz
 ee382c0a76e961b86c494331ee7068313d0b285beb4d2ac61988870da3e681f1 65490 apt-setup-udeb_0.79_all.udeb
 3eb44779efeee8d85c9eaa2fb33712bc6b3b84952871bcb76cccaf35eb8ff37b 72908 apt-mirror-setup_0.79_all.udeb
 71a7f7facde9214881cef8de59ecdacf6a18eb8f92bb0b29ba29d3b633dff58c 95580 apt-cdrom-setup_0.79_all.udeb
 9652d5c8e8625893a36193418bf26490 1098 debian-installer extra apt-setup_0.79.dsc
 27c57a6cb65e9b2a73fcdac2758871b5 299711 debian-installer extra apt-setup_0.79.tar.gz
 fc6345a2cf236fca15a9ea6ce71c1fea 65490 debian-installer standard apt-setup-udeb_0.79_all.udeb
 92571335cd60ace877835d0309a1c447 72908 debian-installer extra apt-mirror-setup_0.79_all.udeb
 cd36bf128b7f56955f66387a5d0c009b 95580 debian-installer extra apt-cdrom-setup_0.79_all.udeb

Version: GnuPG v1.4.12 (GNU/Linux)


--- End Message ---

Reply to: