Bug#526978: debootstrap exit 1 in amd64 arch only for no reason
Package: debootstrap
Version: 0.3.3.2etch1
Severity: grave
Justification: renders package unusable
execution in 64-bit:
[root@kayak /root]# LC_ALL=C debootstrap --verbose --exclude=dhcp-client,info etch /data/fai/nfsroot/QC/amd64/live/filesystem.dir http://etch.apt.mydomain/debian/base/amd64
I: Validating Packages
I: Resolving dependencies of required packages...
I: Resolving dependencies of base packages...
I: Checking component main on http://etch.apt.wul.qc.ec.gc.ca/debian/base/amd64...
I: Validating adduser
I: Validating apt
I: Validating apt-utils
I: Validating aptitude
I: Validating base-files
.....
I: Configuring klogd...
I: Configuring tasksel-data...
I: Configuring sysklogd...
I: Configuring tasksel...
I: Base system installed successfully.
[root@kayak /root]# echo $?
1
The execution ends with an error message of "1" although it states "I:
Base system installed successfully."
---------------
Now here is the same execution on 32-bit:
LC_ALL=C call_verbose debootstrap --exclude=dhcp-client,info etch /data/fai/nfsroot/QC/i386/live/filesystem.dir http://etch.apt.mydomain/debian/base/i386
The execution:
[root@turbulence:~]# debootstrap --verbose --exclude=dhcp-client,info etch /data/fai/nfsroot/QC/i386/live/filesystem.dir http://etch.apt.mydomain/debian/base/i386
I: Validating Packages
I: Resolving dependencies of required packages...
I: Resolving dependencies of base packages...
I: Checking component main on http://etch.apt.wul.qc.ec.gc.ca/debian/base/i386...
I: Retrieving adduser
I: Validating adduser
I: Retrieving apt
I: Validating apt
I: Retrieving apt-utils
I: Validating apt-utils
I: Retrieving aptitude
I: Validating aptitude
I: Retrieving base-files
I: Validating base-files
....
I: Configuring klogd...
I: Configuring tasksel-data...
I: Configuring sysklogd...
I: Configuring tasksel...
I: Base system installed successfully.
[root@turbulence:~]# echo $?
0
This time everything is running smoothly ...
-- System Information:
Debian Release: 4.0
APT prefers oldstable
APT policy: (500, 'oldstable'), (500, 'stable')
Architecture: amd64 (x86_64)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.24-etchnhalf.1-amd64
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Versions of packages debootstrap depends on:
ii binutils 2.17-3 The GNU assembler, linker and bina
ii wget 1.10.2-2 retrieves files from the web
debootstrap recommends no packages.
-- no debconf information
Reply to: