Package: debootstrap
Version: 0.3.1.6
Severity: normal

Trying to cross-strap a mipsel system, I ran this command on my laptop:

debootstrap --resolve-deps --arch mipsel --foreign sid sid 
http://ftp.de.debian.org/debian

Then I copied that tree over to a mipsel machine, chrooted into it, and ran
/debootstrap/debootstrap --second-stage, which failed with the error in the
Subject.

  if [ "${from#null:}" != "$from" ]; then
    error 1 NOTPREDL "%s was not pre-downloaded" "${from#null:}"

Seems to me that since MIRRORS is set to "null:" in --second-stage mode, the
above test will always succeed in second-stage, and debootstrap will always
error out.

FWIW, /var/lib/apt/lists was empty except for the
debootstrap.invalid_dists_sid_Release file.

I worked around this by editing /debootstrap/debootstrap and setting MIRRORS
to a real working url. Then it worked, although not cleanly:

I have no [EMAIL PROTECTED]:/# /debootstrap/debootstrap --arch mipsel 
--second-stage

I: Retrieving Packages
I: Retrieving Packages
/debootstrap/functions: line 837: 
//var/lib/apt/lists/debootstrap.invalid_dists_sid_main_binary-mipsel_Packages: 
No such file or directory
/debootstrap/functions: line 837: 
//var/lib/apt/lists/debootstrap.invalid_dists_sid_main_binary-mipsel_Packages: 
No such file or directory
I: Installing core packages...
I: Unpacking required packages...
I: Unpacking base-files...
I: Unpacking base-passwd...
I: Unpacking bash...
I: Unpacking bsdutils...
I: Unpacking coreutils...

etc

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.4.27
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages debootstrap depends on:
ii  binutils             2.16.1cvs20050902-1 The GNU assembler, linker and bina
ii  wget                 1.10.1-1            retrieves files from the web

debootstrap recommends no packages.

-- no debconf information

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature

Reply via email to