E: No such script: /usr/share/debootstrap/scripts/bionic
Giszmo opened this issue · comments
Leo Wandersleb commented
Trying to do a gitian build I followed the instructions here to create a virtualbox VM and setup gitian where I get to the part Setting up the Gitian image which fails with this error:
gitianuser@debian:~/gitian-builder$ bin/make-base-vm --lxc --arch amd64 --suite bionic
[sudo] password for gitianuser:
E: No such script: /usr/share/debootstrap/scripts/bionic
Additional Debug Information
# history
1 echo "%sudo ALL=NOPASSWD: /usr/bin/lxc-start" > /etc/sudoers.d/gitian-lxc
2 echo "%sudo ALL=NOPASSWD: /usr/bin/lxc-execute" >> /etc/sudoers.d/gitian-lxc
3 echo '#!/bin/sh -e' > /etc/rc.local
4 echo 'brctl addbr br0' >> /etc/rc.local
5 echo 'ip addr add 10.0.3.1/24 broadcast 10.0.3.255 dev br0' >> /etc/rc.local
6 echo 'ip link set br0 up' >> /etc/rc.local
7 echo 'firewall-cmd --zone=trusted --add-interface=br0' >> /etc/rc.local
8 echo 'exit 0' >> /etc/rc.local
9 chmod +x /etc/rc.local
10 echo 'export USE_LXC=1' >> /home/gitianuser/.profile
11 echo 'export GITIAN_HOST_IP=10.0.3.1' >> /home/gitianuser/.profile
12 echo 'export LXC_GUEST_IP=10.0.3.5' >> /home/gitianuser/.profile
13 reboot
$ history
1 mkdir .ssh
2 vi .ssh/authorized_keys
3 sudo apt-get install git ruby apt-cacher-ng qemu-utils debootstrap lxc python-cheetah parted kpartx bridge-utils make ubuntu-archive-keyring curl firewalld
4 sudo -s
5 wget http://archive.ubuntu.com/ubuntu/pool/universe/v/vm-builder/vm-builder_0.12.4+bzr494.orig.tar.gz
6 echo "76cbf8c52c391160b2641e7120dbade5afded713afaa6032f733a261f13e6a8e vm-builder_0.12.4+bzr494.orig.tar.gz" | sha256sum -c
7 tar -zxvf vm-builder_0.12.4+bzr494.orig.tar.gz
8 cd vm-builder-0.12.4+bzr494
9 sudo python setup.py install
10 cd ..
11 git clone https://github.com/devrandom/gitian-builder.git
12 git clone https://github.com/bitcoin/bitcoin
13 git clone https://github.com/bitcoin-core/gitian.sigs.git
14 git clone https://github.com/bitcoin-core/bitcoin-detached-sigs.git
15 cd gitian-builder
16 bin/make-base-vm --lxc --arch amd64 --suite bionic # For releases after and including 0.17.0
17 bin/make-base-vm --lxc --arch amd64 --suite trusty # For releases before 0.17.0
$ ls /usr/share/debootstrap/scripts/{bionic,trusty}
ls: cannot access /usr/share/debootstrap/scripts/bionic: No such file or directory
/usr/share/debootstrap/scripts/trusty
Leo Wandersleb commented
Moved issue to devrandom/gitian-builder.