Package: debootstrap Version: 1.0.52 I'm trying to install a Debian chroot environment under a QNAP NAS with Intel Atom processor (i386 - 32 bit). I'm able to download and install Debian squeeze correctly using this command and the lastest debootstrap (v1.0.52):
[/share/HDA_DATA/debootstrap] # ./usr/sbin/debootstrap --no-check-gpg --no- check-certificate --arch i386 squeeze /share/HDA_DATA/newdebian http://ftp.it. debian.org/debian ## cut ## I: Configuring iptables... I: Configuring gpgv... I: Configuring gnupg... I: Configuring debian-archive-keyring... I: Configuring apt... I: Configuring libept1... I: Configuring apt-utils... I: Configuring aptitude... I: Configuring tasksel-data... I: Configuring tasksel... I: Base system installed successfully. However, if I clear the output folder and try to do the same with 'wheezy' I get: [/share/HDA_DATA/debootstrap] # ./usr/sbin/debootstrap --no-check-gpg --no- check-certificate --arch i386 wheezy /share/HDA_DATA/newdebian http://ftp.it. debian.org/debian ## cut ## I: Configuring apt... I: Configuring libcwidget3... I: Configuring aptitude... W: Failure while configuring base packages. This will be re-attempted up to five times. W: See /share/HDA_DATA/newdebian/debootstrap/debootstrap.log for details (possibly the package apt is at fault) I: Configuring apt... W: Failure while configuring base packages. This will be re-attempted up to five times. W: See /share/HDA_DATA/newdebian/debootstrap/debootstrap.log for details (possibly the package apt is at fault) W: Failure while configuring base packages. This will be re-attempted up to five times. W: See /share/HDA_DATA/newdebian/debootstrap/debootstrap.log for details (possibly the package apt is at fault) W: Failure while configuring base packages. This will be re-attempted up to five times. W: See /share/HDA_DATA/newdebian/debootstrap/debootstrap.log for details (possibly the package apt is at fault) W: Failure while configuring base packages. This will be re-attempted up to five times. W: See /share/HDA_DATA/newdebian/debootstrap/debootstrap.log for details (possibly the package apt is at fault) With 'sid' the result is the same: [/share/HDA_DATA/debootstrap] # ./usr/sbin/debootstrap --no-check-gpg --no- check-certificate --arch i386 sid /share/HDA_DATA/newdebian http://ftp.it. debian.org/debian ## cut ## I: Configuring apt... I: Configuring wget... I: Configuring libcwidget3... I: Configuring aptitude... I: Configuring iputils-ping... I: Configuring libc-bin... W: Failure while configuring base packages. This will be re-attempted up to five times. W: See /share/HDA_DATA/newdebian/debootstrap/debootstrap.log for details (possibly the package apt is at fault) I: Configuring apt... W: Failure while configuring base packages. This will be re-attempted up to five times. W: See /share/HDA_DATA/newdebian/debootstrap/debootstrap.log for details (possibly the package apt is at fault) W: Failure while configuring base packages. This will be re-attempted up to five times. W: See /share/HDA_DATA/newdebian/debootstrap/debootstrap.log for details (possibly the package apt is at fault) W: Failure while configuring base packages. This will be re-attempted up to five times. W: See /share/HDA_DATA/newdebian/debootstrap/debootstrap.log for details (possibly the package apt is at fault) W: Failure while configuring base packages. This will be re-attempted up to five times. W: See /share/HDA_DATA/newdebian/debootstrap/debootstrap.log for details (possibly the package apt is at fault) By looking to the debootstrap.log file of both wheezy and sid, the error message is the following (I don't know if I'm allowed to attach the comple log): ## cut ## Setting up apt (0.9.8.2) ... gpg: fatal: can't disable core dumps: Bad address secmem usage: 0/0 bytes in 0/0 blocks of pool 0/0 gpg: fatal: can't disable core dumps: Bad address secmem usage: 0/0 bytes in 0/0 blocks of pool 0/0 dpkg: error processing apt (--configure): subprocess installed post-installation script returned error exit status 2 dpkg: dependency problems prevent configuration of tasksel: tasksel depends on apt; however: Package apt is not configured yet. Googling I've found this thread which summarizes my same issue: http://forums.debian.net/viewtopic.php?f=10&t=87879 but, unfortunately, without any answer. About a year ago I installed sid correctly by using this method, so something must have gone wrong with debootstrap recently. I cannot remember now what version of debootstrap I used (probably around v1. 0.30), but it worked. Details on the QNAP environment: [/share/HDA_DATA/debootstrap] # uname -a Linux NAS 2.6.33.2 #1 SMP Fri Mar 2 04:25:15 CST 2012 i686 unknown [/share/HDA_DATA/debootstrap] # ls -l /lib/libc.so.6 lrwxrwxrwx 1 admin administ 13 Mar 1 2012 /lib/libc.so.6 -> libc- 2.6.1.so* [/share/HDA_DATA/debootstrap] # gcc -v Using built-in specs. Target: i686-unknown-linux-gnu Configured with: ../gcc-4.2.1/configure --build=i386-pc-linux-gnu --host=i686- unknown-linux-gnu --target=i686-unknown-linux-gnu --prefix=/opt --disable-nls -- disable-static --with-as=/home/slug/optware/ts509/toolchain/i686-unknown-linux- gnu/bin/i686-unknown-linux-gnu-as --with- ld=/home/slug/optware/ts509/toolchain/i686-unknown-linux-gnu/bin/i686-unknown- linux-gnu-ld --enable-languages=c,c++ --disable-multilib Thread model: posix gcc version 4.2.1 Feel free to contact me if you need further info or tests. Thanks, virtualdj -- To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1688427830.11751511372190592098.JavaMail.actor@webmail30