Closed pietdevaere closed 1 year ago
It also failed on my other machine
piet@artevelde:~$ sudo apt-get install scion-bootstrapper
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
scion-daemon scion-dispatcher scion-tools
The following NEW packages will be installed:
scion-bootstrapper scion-daemon scion-dispatcher scion-tools
0 upgraded, 4 newly installed, 0 to remove and 103 not upgraded.
Need to get 61.4 MB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 https://packages.netsec.inf.ethz.ch/debian all/main amd64 scion-dispatcher amd64 4.6.2 [5’302 kB]
Get:2 https://packages.netsec.inf.ethz.ch/debian all/main amd64 scion-daemon amd64 4.6.2 [6’867 kB]
Get:3 https://packages.netsec.inf.ethz.ch/debian all/main amd64 scion-tools amd64 4.6.3 [44.0 MB]
Get:4 https://packages.netsec.inf.ethz.ch/debian all/main amd64 scion-bootstrapper amd64 0.0.7 [5’210 kB]
Fetched 61.4 MB in 2s (31.5 MB/s)
Selecting previously unselected package scion-dispatcher.
(Reading database ... 675475 files and directories currently installed.)
Preparing to unpack .../scion-dispatcher_4.6.2_amd64.deb ...
Unpacking scion-dispatcher (4.6.2) ...
Selecting previously unselected package scion-daemon.
Preparing to unpack .../scion-daemon_4.6.2_amd64.deb ...
Unpacking scion-daemon (4.6.2) ...
Selecting previously unselected package scion-tools.
Preparing to unpack .../scion-tools_4.6.3_amd64.deb ...
Unpacking scion-tools (4.6.3) ...
Selecting previously unselected package scion-bootstrapper.
Preparing to unpack .../scion-bootstrapper_0.0.7_amd64.deb ...
Unpacking scion-bootstrapper (0.0.7) ...
Setting up scion-daemon (4.6.2) ...
Adding system user `scion' (UID 132) ...
Adding new user `scion' (UID 132) with group `nogroup' ...
Not creating home directory `/home/scion'.
Setting up scion-dispatcher (4.6.2) ...
Setting up scion-tools (4.6.3) ...
Setting up scion-bootstrapper (0.0.7) ...
[*] Using wlp0s20f3 to bootstrap SCION endhost ...
dpkg: error processing package scion-bootstrapper (--configure):
installed scion-bootstrapper package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
scion-bootstrapper
E: Sub-process /usr/bin/dpkg returned an error code (1)
piet@artevelde:~$ uname -r
6.2.0-31-generic
piet@artevelde:~$ cat /etc/*-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Ubuntu 22.04.2 LTS"
PRETTY_NAME="Ubuntu 22.04.2 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.2 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy
piet@artevelde:~$ cat /proc/version
Linux version 6.2.0-31-generic (buildd@lcy02-amd64-032) (x86_64-linux-gnu-gcc-11 (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #31~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Aug 16 13:45:26 UTC 2
Thank you for the information provided.
From the log output you quote in your message, you can see that the post-installation step fails:
installed scion-bootstrapper package post-installation script subprocess returned error exit status 1
The post-installation step of the scion-bootstrapper package sets up the environment for running the scion-bootstrapper and then runs the scion-bootstrapper.
To see the reason(s) why running the scion-bootstrapper failed in the post-installation step of the package installation, you can run sudo journalctl -u 'scion-bootstrapper@*.service'
.
The most likely reason is that the default configuration provided by the package enforces strict security settings and does not apply to your current network environment.
So please follow the installation instructions provided by your network operator and rerun the post-installation step using the command sudo dpkg scion-bootstrapper --configure
(or in case the package is already configured and you need to reconfigure it using an updated configuration, run sudo dpkg-reconfigure scion-bootstrapper
).
You can run dpkg --status scion-bootstrapper
to check again the installation status of the package after having executed those steps.
Otherwise please also provide also the tail of the output of the command sudo journalctl -u 'scion-bootstrapper@*.service'
and the content of the file /etc/scion/bootstrapper.toml
after applying the changes as instructed.
Thanks, indeed, I had to let the installation fail, then allow for an insecure network configuration, and then reinstall the bootstrapper. It works now!
I tried to install the bootstrapper on my machine, but the installation failed.