Package: cdebootstrap
Version: 0.5.8+b1
Severity: normal

Ubuntu Precise amd64 defaults to multiarch with i386 as foreign
architecture. This causes apt-get to look for a binary-i386/Packages
file via the bootstrap method and cdebootstrap only provides the
binary-amd64/Packages file.

The simple solution to this is to limit the soruces.list entry to
amd64 only, or more generic to the native architecture:

diff -Nru cdebootstrap-0.5.8ubuntu1+ql1/src/frontend/standalone/main.c
cdebootstrap-0.5.8ubuntu1+ql2/src/frontend/standalone/main.c
--- cdebootstrap-0.5.8ubuntu1+ql1/src/frontend/standalone/main.c
 2011-07-26 00:32:18.000000000 +0200
+++ cdebootstrap-0.5.8ubuntu1+ql2/src/frontend/standalone/main.c
 2012-05-16 13:41:53.000000000 +0200
@@ -270,7 +270,7 @@
       break;
   }
 
-  snprintf (line, sizeof line, "deb %s://%s%s %s main", scheme, mirror_host, 
mirror_path, suite_name);
+  snprintf (line, sizeof line, "deb [arch=%s] %s://%s%s %s main", arch, 
scheme, mirror_host, mirror_path, suite_name);
 
   if (foreign_script)
     fprintf (foreign_script, "\necho '%s' > /etc/apt/sources.list\n\n", line);


MfG
        Goswin

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

Kernel: Linux 3.2.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=de_DE (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash

Versions of packages cdebootstrap depends on:
ii  debian-archive-keyring      2010.08.28
ii  gpgv                        1.4.12-4
ii  libbz2-1.0                  1.0.6-1
ii  libc6                       2.13-27
ii  libdebian-installer-extra4  0.80
ii  libdebian-installer4        0.80
ii  liblzma5                    5.1.1alpha+20110809-3
ii  wget                        1.13.4-2
ii  zlib1g                      1:1.2.3.4.dfsg-3

cdebootstrap recommends no packages.

cdebootstrap suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to