cpo@LR2.wue3:~$ add sys im https://s3.amazonaws.com/s3-us.vyos.io/snapshot/vyos-1.3.0-epa1/generic-iso/vyos-1.3.0-epa1-amd64.iso
+ VRF=default
+ '[' 2 -gt 0 ']'
+ case "$1" in
+ [[ --url != *=* ]]
+ shift
+ NEW_ISO=https://s3.amazonaws.com/s3-us.vyos.io/snapshot/vyos-1.3.0-epa1/generic-iso/vyos-1.3.0-epa1-amd64.iso
+ shift
+ '[' 0 -gt 0 ']'
+ source /opt/vyatta/sbin/install-functions
++ '[' -e /etc/default/vyatta ']'
++ . /etc/default/vyatta
++++ shopt -p extglob
+++ _vyatta_extglob='shopt -u extglob'
+++ shopt -s extglob
+++ eval shopt -u extglob
++++ shopt -u extglob
+++ unset _vyatta_extglob
+++ '[' -r /etc/default/vyatta-cfg ']'
+++ source /etc/default/vyatta-cfg
++++ '[' -n /opt/vyatta/etc/shell/level/admin ']'
++++ return
+++ '[' -r /etc/default/vyatta-local-env ']'
++ : /opt/vyatta
++ : /opt/vyatta
++ : /opt/vyatta/bin
++ : /opt/vyatta/etc
++ trap 'progress_indicator stop; exit 1' 1
++ trap 'progress_indicator stop; exit 1' 2
++ INST_ROOT=/mnt/inst_root
++ WRITE_ROOT=/mnt/wroot
++ READ_ROOT=/mnt/squashfs
++ CD_ROOT=/mnt/cdrom
++ CD_SQUASH_ROOT=/mnt/cdsquash
++ VYATTA_CFG_DIR=/opt/vyatta/etc/config
++ VYATTA_NEW_CFG_DIR=/config
+ '[' -f /etc/profile.d/vyos-system-proxy.sh ']'
+ export INSTALL_LOG=/tmp/install-2298.log
+ INSTALL_LOG=/tmp/install-2298.log
+ export PROGRESS_PID=2298
+ PROGRESS_PID=2298
+ PART_FILE=
+ TEMP_DIR=/var/tmp/install-image.2298
+ '[' -z '' ']'
+ '[' -n '' ']'
+ '[' -n '' ']'
++ id -u
+ '[' 0 '!=' 0 ']'
+ trap sig_handler INT KILL
+ trap exit_handler EXIT
+ is_live_cd_boot
+ grep -q -e '^overlay.*/filesystem.squashfs' /proc/mounts
+ return 1
+ is_live_cd_boot
+ grep -q -e '^overlay.*/filesystem.squashfs' /proc/mounts
+ return 1
+ '[' -z https://s3.amazonaws.com/s3-us.vyos.io/snapshot/vyos-1.3.0-epa1/generic-iso/vyos-1.3.0-epa1-amd64.iso ']'
+ set_up_new_iso
+ url_scheme=https
+ '[' https '!=' https://s3.amazonaws.com/s3-us.vyos.io/snapshot/vyos-1.3.0-epa1/generic-iso/vyos-1.3.0-epa1-amd64.iso ']'
+ '[' https = http -o https = https -o https = ftp -o https = tftp -o https = scp ']'
+ fetch_iso_by_url
+ mkdir /var/tmp/install-image.2298
+ echo 'Trying to fetch ISO file from https://s3.amazonaws.com/s3-us.vyos.io/snapshot/vyos-1.3.0-epa1/generic-iso/vyos-1.3.0-epa1-amd64.iso'
Trying to fetch ISO file from https://s3.amazonaws.com/s3-us.vyos.io/snapshot/vyos-1.3.0-epa1/generic-iso/vyos-1.3.0-epa1-amd64.iso
+ '[' -n '' ']'
+ AUTH=
++ awk '{print $2}'
++ cat /opt/vyatta/etc/version
+ vyos_version=1.3.0-rc6
+ filename=/var/tmp/install-image.2298/vyos-1.3.0-epa1-amd64.iso
+ ip vrf exec default curl -L -H 'User-Agent: VyOS/1.3.0-rc6' -f -o /var/tmp/install-image.2298/vyos-1.3.0-epa1-amd64.iso https://s3.amazonaws.com/s3-us.vyos.io/snapshot/vyos-1.3.0-epa1/generic-iso/vyos-1.3.0-epa1-amd64.iso
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 316M 100 316M 0 0 10.4M 0 0:00:30 0:00:30 --:--:-- 10.2M
+ curlerror=0
+ '[' 0 -eq 51 ']'
+ '[' 0 -ne 0 ']'
+ '[' '!' -e /var/tmp/install-image.2298/vyos-1.3.0-epa1-amd64.iso ']'
+ echo 'ISO download succeeded.'
ISO download succeeded.
+ echo 'Checking SHA256 (256-bit) checksum...'
Checking SHA256 (256-bit) checksum...
+ ip vrf exec default curl -L -H 'User-Agent: VyOS/1.3.0-rc6' -f -o /var/tmp/install-image.2298/vyos-1.3.0-epa1-amd64.iso.sha256 https://s3.amazonaws.com/s3-us.vyos.io/snapshot/vyos-1.3.0-epa1/generic-iso/vyos-1.3.0-epa1-amd64.iso.sha256
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (22) The requested URL returned error: 403 Forbidden
+ '[' 22 -ne 0 ']'
+ echo 'Unable to fetch SHA256 checksum file.'
Unable to fetch SHA256 checksum file.
+ echo -n 'Do you want to continue without checksum verification? (yes/no) [yes] '
Do you want to continue without checksum verification? (yes/no) [yes] ++ get_response Yes 'Yes No Y N'
+++ tolower Yes
+++ tr '[:upper:]' '[:lower:]'
+++ echo Yes
++ local ldefault=yes
+++ tolower 'Yes No Y N'
+++ tr '[:upper:]' '[:lower:]'
+++ echo 'Yes No Y N'
++ local 'loptions=yes no y n'
++ '[' '' == gui2_rest ']'
++ read myresponse
yes
+++ tolower yes
+++ tr '[:upper:]' '[:lower:]'
+++ echo yes
++ myresponse=yes
++ '[' -z yes ']'
++ '[' -n 'yes no y n' ']'
++ for token in $loptions
++ '[' yes == yes ']'
++ echo -n yes
++ return 0
+ response=yes
+ '[' yes == no ']'
+ '[' yes == n ']'
+ rm -f /var/tmp/install-image.2298/vyos-1.3.0-epa1-amd64.iso.sha256
+ '[' -e /var/tmp/install-image.2298/vyos-1.3.0-epa1-amd64.iso.sha256 ']'
+ echo 'Checking for digital signature file...'
Checking for digital signature file...
+ ip vrf exec default curl -L -H 'User-Agent: VyOS/1.3.0-rc6' -f -o /var/tmp/install-image.2298/vyos-1.3.0-epa1-amd64.iso.asc https://s3.amazonaws.com/s3-us.vyos.io/snapshot/vyos-1.3.0-epa1/generic-iso/vyos-1.3.0-epa1-amd64.iso.asc
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 833 100 833 0 0 1589 0 --:--:-- --:--:-- --:--:-- 1589
+ '[' 0 -ne 0 ']'
+ '[' -e /var/tmp/install-image.2298/vyos-1.3.0-epa1-amd64.iso.asc ']'
+ echo 'Found it. Checking digital signature...'
Found it. Checking digital signature...
+ gpg --keyring /etc/apt/trusted.gpg --verify /var/tmp/install-image.2298/vyos-1.3.0-epa1-amd64.iso.asc
gpg: keyblock resource '/etc/apt/trusted.gpg': No such file or directory
gpg: assuming signed data in '/var/tmp/install-image.2298/vyos-1.3.0-epa1-amd64.iso'
gpg: Signature made Tue 28 Sep 2021 04:23:07 PM CEST
gpg: using RSA key 0694A9230F5139BF834BA458FD220285A0FE6D7E
gpg: Can't check signature: No public key
+ '[' 2 -ne 0 ']'
+ echo 'Signature check FAILED.'
Signature check FAILED.
+ echo -n 'Do you want to continue anyway? (yes/no) [no] '
Do you want to continue anyway? (yes/no) [no] ++ get_response No 'Yes No Y N'
+++ tolower No
+++ tr '[:upper:]' '[:lower:]'
+++ echo No
++ local ldefault=no
+++ tolower 'Yes No Y N'
+++ tr '[:upper:]' '[:lower:]'
+++ echo 'Yes No Y N'
++ local 'loptions=yes no y n'
++ '[' '' == gui2_rest ']'
++ read myresponseThe keyring we try to validate against does not exist.
cpo@LR2.wue3:~$ cat /etc/apt/trusted.gpg cat: /etc/apt/trusted.gpg: No such file or directory