amd64 cdebootstrap'ing failure
Hi,
I am trying to setup up a dual Opteron machine. So far I have got
it running with patched 2.6.0 kernel in chroot. However, I am
stuck in creating a 32/64 bit environment. Namely,
cdebootstrap -v --arch amd64 sarge /chroot/sarge-amd64 http://debian-amd64.alioth.debian.org/
fails at "installing important packages":
---------------------------------
...
O: Setting up modutils (2.4.25-0.biarch1) ...
P: Configuring package modutils
O: Architecture-specific modutils configuration not found, using defaults
O:
I: Installing important packages...
O: (Reading database ...
O: 4210 files and directories currently installed.)
O: Preparing to replace apt 0.5.14-subarch1 (using
.../apt_0.5.14-subarch1_amd64.deb) ...
O: Unpacking replacement apt ...
P: Unpacking package apt
O: Setting up apt (0.5.14-subarch1) ...
P: Configuring package apt
O:
O: Reading Package Lists..
O: COMPAT_ARCHS: i686 i586 i486 i386 all
O:
O: Building Dependency Tree..
O:
O: Suggested packages:
O: perl-modules debconf-doc whiptail dialog gnome-utils libgnome-perl
O: Recommended packages:
O: kbd
O: The following NEW packages will be installed:
O: adduser console-common console-data console-tools debconf
debconf-i18n
O: iputils-ping klogd lib64console libconsole liblocale-gettext-perl
libpopt0
O: libtext-charwidth-perl libtext-iconv-perl libtext-wrapi18n-perl
sysklogd
O: 0 upgraded, 16 newly installed, 0 to remove and 0 not upgraded.
O: Need to get 355kB/2035kB of archives.
O: After unpacking 8487kB of additional disk space will be used.
O: Err copy://debootstrap.invalid sarge/main console-tools
1:0.2.3dbs-43lib64
O: Failed to stat - stat (2 No such file or directory)
O: Err copy://debootstrap.invalid sarge/main libtext-wrapi18n-perl 0.06-1
O: Failed to stat - stat (2 No such file or directory)
O: Failed to fetch
copy://debootstrap.invalid/pool/sarge/libt/libtext-wrapi18n-perl/libtext-wrapi18n-perl_0.06-1_all.deb
Failed to stat - stat (2 No such file or directory)
O: Failed to fetch
copy://debootstrap.invalid/pool/console-tools/0.2.3dbs/console-tools_0.2.3dbs-43lib64_amd64.deb
Failed to stat - stat (2 No such file or directory)
O: E:
O: Unable to fetch some archives, maybe run apt-get update or try with
--fix-m
O: ssing?
E: Couldn't install root!
opt:/#
------------------------
How can I modify cdebootstrap process to fetch the "NEW packages" above
before entering to apt setup? Hmm, on the other hand,
/chroot/sarge-amd64/var/cache/apt/archives/
contains
console-tools_0.2.3dbs-43lib64_i386.deb
but no
console-tools_0.2.3dbs-43lib64_amd64.deb
libtext-wrapi18n-perl_0.06-1_all.deb
When I get these .deb files manually from
http://debian-amd64.alioth.debian.org/, do
rm /chroot/sarge-amd64/etc/modules.conf
and rerun cdebootstrap, then it fails as follows:
-----------------------
...
O: Setting up modutils (2.4.25-0.biarch1) ...
P: Configuring package modutils
O: Architecture-specific modutils configuration not found, using defaults
O:
I: Installing important packages...
O: (Reading database ...
O: 4210 files and directories currently installed.)
O: Preparing to replace apt 0.5.14-subarch1 (using
.../apt_0.5.14-subarch1_amd64.deb) ...
O: Unpacking replacement apt ...
P: Unpacking package apt
O: Setting up apt (0.5.14-subarch1) ...
P: Configuring package apt
O:
O: COMPAT_ARCHS:
O: i686 i586 i486 i386 all
O: Reading Package Lists..
O:
O: Building Dependency Tree..
O:
O: Suggested packages:
O: perl-modules debconf-doc whiptail dialog gnome-utils libgnome-perl
O: Recommended packages:
O: kbd
O: The following NEW packages will be installed:
O: adduser console-common console-data console-tools debconf
debconf-i18n
O: iputils-ping klogd lib64console libconsole liblocale-gettext-perl
libpopt0
O: libtext-charwidth-perl libtext-iconv-perl libtext-wrapi18n-perl
sysklogd
O: 0 upgraded, 16 newly installed, 0 to remove and 0 not upgraded.
O: Need to get 8424B/2035kB of archives.
O: After unpacking 8487kB of additional disk space will be used.
O: Err copy://debootstrap.invalid sarge/main libtext-wrapi18n-perl 0.06-1
O: Failed to stat - stat (2 No such file or directory)
O: Err copy://debootstrap.invalid sarge/main libtext-wrapi18n-perl 0.06-1
O: Failed to stat - stat (2 No such file or directory)
O: Failed to fetch
copy://debootstrap.invalid/pool/sarge/libt/libtext-wrapi18n-perl/libtext-wrapi18n-perl_0.06-1_all.deb
Failed to stat - stat (2 No such file or
directory)
O:
O: : Unable to fetch some archives, maybe
O: un apt-get update or try with --fix-missing?
E: Couldn't install root!
-----------------------
Now I am confused as something removed the
libtext-wrapi18n-perl_0.06-1_all.deb file (that I downloaded earlier) and
cdebootstrap fails because of that, right?
Any advice how to proceed is appreciated.
Thanks,
Pearu
Reply to: