[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

debootstrap mips jessie failure



Hi,

I can't make jessie chroot system for mips or mipsel. How I do:

# Prepare chroot
prepare_chroot() {
    suit=$1
    target=$2
    chroot_name=$3
    arch=${4:-`dpkg --print-architecture`}
    extra_packages="ccache"
    user=`id -un`
    root_user=$user
    if test "$arch" != "`dpkg --print-architecture`"; then
        foreign=true
        debootstrap_extra_opts="$debootstrap_extra_opts --arch=$arch --foreign"
    fi
    case $suit in
        jessie|sid) mirror="http://httpredir.debian.org/debian/" ;;
    esac
    sudo su -c '\
mkdir -p '$target' &&
debootstrap --variant=buildd '"$debootstrap_extra_opts"' --include='$extra_packages' '$suit' '$target' '$mirror' &&
tee /etc/schroot/chroot.d/'$chroot_name'.conf >/dev/null <<EOF
['$chroot_name']
directory='$target'
type=directory
users='$user'
root-users='$root_user'
EOF
'
    if test -n "$foreign"; then
        schroot -c $chroot_name -u root -- /debootstrap/debootstrap --second-stage
    fi
}

prepare_chroot jessie /srv/chroot/jessie-mips jessie-mips mips

What I get:

W: Failure while configuring required packages.
W: See //debootstrap/debootstrap.log for details (possibly the package package is at fault)

debootstrap.log is here: http://paste.debian.net/678886/

I can't figure out
myself what's going wrong. Could anybody help me or I'd better report a bug?

Kind regards,
Sergey


Reply to: