Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #167510
| From | Diddier Hilarion <diddierhilarion@gmail.com> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: debootstrap mips jessie failure |
| Date | 2016-05-05 21:00 +0200 |
| Message-ID | <rvwFb-5rr-5@gated-at.bofh.it> (permalink) |
| References | <rul97-3f2-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Hi Sergey, I had the same problem recently in my case the problem was
caused by a fs error because i did the debootstrap in a ntfs fs,(it
caused a permission error). When i repeated the process in an ext4
partition the problem got solved.
Hope it will be the same problem.
On 02/05/16 07:05, Sergey Fedorov wrote:
> 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
>
Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread
debootstrap mips jessie failure Sergey Fedorov <serge.fdrv@gmail.com> - 2016-05-02 14:30 +0200 Re: debootstrap mips jessie failure Diddier Hilarion <diddierhilarion@gmail.com> - 2016-05-05 21:00 +0200
csiph-web