Bug#637363: debootstrap 1.0.35 fails to accept --arch=amd64 on CentOS 5.6 system
debootstrap was install per the manual install method in section "D.3.2.
Install debootstrap" of
# /usr/sbin/debootstrap --arch=amd64 squeeze /mnt/deb /http://ftp.us.debian.org/debian
E: Couldn't work out current architecture
Removing the "=" makes no difference.
This is on an up-to-date CentOS 5.6 system:
# uname -a
Linux xxx.yyy.local 2.6.18-194.11.4.el5 #1 SMP Tue Sep 21 05:04:09 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
I suggest that debootstrap should accept the --arch specification rather
than try to "work out" what it is by whatever method. Or if its attempt to
"work out" the architecture fails, it should offer the user a chance to over
ride its failure and simply accept the architecture specified.