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

Bug#752180: debian-cd: doesn't work on multiarch enabled system

Package: debian-cd
Version: 3.1.15
Severity: important

I wanted to generate an ISO on my amd64 with multi-arch enabled and it
failed with:
for ARCH in amd64; do \
	ARCH=$ARCH /home/rhertzog/deb/core/debian-cd/tools/apt-selection check; \
Lecture des listes de paquets…
Construction de l'arbre des dépendances…
Vous pouvez lancer « apt-get -f install » pour corriger ces problèmes.
Les paquets suivants contiennent des dépendances non satisfaites :
 dmsetup : Est en conflit avec: dmsetup:i386
 dmsetup:i386 : Dépend: libc6:i386 (>= 2.4)
                Dépend: libudev0:i386 (>= 0.140) mais il n'est pas installé
                Est en conflit avec: dmsetup
E: Dépendances manquantes. Essayez d'utiliser l'option -f.
Makefile:276: recipe for target 'correctstatus' failed
make[1]: *** [correctstatus] Error 100
make[1]: Leaving directory '/home/rhertzog/deb/core/debian-cd'
Makefile:222: recipe for target '/ext/mirror/tmp/apt/status' failed
make: *** [/ext/mirror/tmp/apt/status] Error 2

The problem is clearly related to multi-arch since the conflicts mention i386
packages while I was trying to build amd64 ISO on a amd64 system.

The underlying problem is that apt automaticallys includes foreign architecture
when dpkg --print-foreign-architectures returns something. The APT invocations made
by debian-cd should include the required parameter to avoid this:
apt-cache -o APT::Architectures::=$ARCH


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

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

Versions of packages debian-cd depends on:
ii  apt                        1.0.4
ii  bc                         1.06.95-9
ii  bzip2                      1.0.6-5
ii  cpp                        4:4.9.0-3
ii  curl                       7.37.0-1+b1
ii  dctrl-tools [grep-dctrl]   2.23
ii  dpkg-dev                   1.17.11~20140614200133.268
ii  genisoimage                9:1.1.11-2
pn  libcompress-zlib-perl      <none>
pn  libdigest-md5-perl         <none>
ii  libdpkg-perl               1.17.11~20140614200133.268
ii  lynx                       2.8.8pre5-1
ii  lynx-cur                   2.8.8pre5-1
ii  make                       4.0-8
ii  perl [libdigest-sha-perl]  5.18.2-4
ii  tofrodos                   1.7.13+ds-1
ii  xorriso                    1.3.2-1

Versions of packages debian-cd recommends:
ii  dosfstools       3.0.26-2
ii  hfsutils         3.2.6-12
ii  isolinux         3:6.03~pre17+dfsg-1
ii  mtools           4.0.18-1
ii  netpbm           2:10.0-15+b2
ii  syslinux-common  3:6.03~pre17+dfsg-1

debian-cd suggests no packages.

-- no debconf information

Reply to: