Update problem


#21

root@WB:/tmp# bash -x ./install-globaleaks.sh
++ id -u

  • ‘[’ ‘!’ 0 = 0 ‘]’
  • ERR=0
  • echo ‘Checking preliminary packaging GlobaLeaks requirements’
    Checking preliminary packaging GlobaLeaks requirements
  • for REQ in apt-key apt-get gpg
  • which apt-key
  • echo ’ + apt-key requirement met’
  • apt-key requirement met
  • for REQ in apt-key apt-get gpg
  • which apt-get
  • echo ’ + apt-get requirement met’
  • apt-get requirement met
  • for REQ in apt-key apt-get gpg
  • which gpg
  • echo ’ + gpg requirement met’
  • gpg requirement met
  • ‘[’ 0 -ne 0 ‘]’
  • LOGFILE=./install.log
  • ASSUMEYES=0
  • EXPERIMENTAL=0
  • TEST=0
  • GLOBALEAKS_PGP_KEY=’
    -----BEGIN PGP PUBLIC KEY BLOCK-----

mQINBFFtX2EBEADWMQ9CpB55LcQzg1JS2oCzOcHN3oWQwfluIJltFPzbUC8KSTJr
rSKghSIzgA9C5ltoFgqwhZCiwQX0sFHLHw0+WQLXDqyRcJWCmL1GVIvAN1xW5aPA
jvZ14TJJiajYF+q0v2Lm8JCtD4hk1QcpJE+IOiSMMDqu9nM9ic8+xJZKYYhlCUWv
AWKTORhRhYhImJkV5P6soozv/rHizXnQW4rzsTPSlMh8cptVx4PL9ShIrmNC9oyI
dBFLGskOk9IxE6vW16YocQgwkFkT4KGIhvq3fUyJSj+AmoxmThvY+9Y5eN8FQdFh
/hH/ndU8+I9U/tDKFdII+A6tl0sbrnFKw0AG++dZ7ZMeRFKFi76xyGAS1Juqbgat
c35U3V6UF4RAHAc1GYMs2T+wZf1H0gBY+UinK78IJdN/ja4a2zbExpVcizlZxHJg
ImBVWjeTWbmOiKBRs6A/6wUbotBNma0QMCYgFvgwfjqxB27WUdsBhXS8iCIN+IHm
jm30s7dKyMCcsRW/En17jmou6i54URL1csNuwZXGD09W/DkJSXjmACjLP4u6QJuN
VFkABdndmKVJgN2jm/ZdgqH1SVP3dPVMOTdIsMwQrF7FTFKMNYUsgXh83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MFF5Agm4zIqpAiHM7p7NU0w==
=VudL
-----END PGP PUBLIC KEY BLOCK-----’

  • DISTRO=unknown
  • DISTRO_CODENAME=unknown
  • which lsb_release
    ++ lsb_release -is
  • DISTRO=Ubuntu
    ++ lsb_release -cs
  • DISTRO_CODENAME=bionic
  • REAL_DISTRO=Ubuntu
  • REAL_DISTRO_CODENAME=bionic
  • ‘[’ Ubuntu == LinuxMint ‘]’
    ++ mktemp -d
  • TMPDIR=/tmp/tmp.VP1Nz4XRZo
  • echo ‘’
  • echo ‘’
  • trap atexit EXIT
  • ‘[’ 0 -eq 1 ‘]’
  • echo ‘Detected OS: Ubuntu - bionic’
    Detected OS: Ubuntu - bionic
  • last_command check_distro
  • echo check_distro
  • grep -vqE ‘^bionic$’
  • echo bionic
  • grep -q ‘[g]lobaleaks’
  • ps aux
  • DO ‘apt-get -y update’
  • CMD=‘apt-get -y update’
  • ‘[’ -z ‘’ ‘]’
  • EXPECTED_RET=0
  • echo -n 'Running: “apt-get -y update”… ’
    Running: “apt-get -y update”… + eval apt-get -y update
  • STATUS=0
  • last_command apt-get -y update
  • echo apt-get
  • last_status 0
  • echo 0
  • ‘[’ 0 -eq 0 ‘]’
  • echo SUCCESS
    SUCCESS
  • which curl
  • echo ’ + curl requirement met’
  • curl requirement met
  • which netstat
  • echo ’ + netstat requirement met’
  • netstat requirement met
  • for SOCK in “0.0.0.0:80” “0.0.0.0:443” “127.0.0.1:8082” “127.0.0.1:8083”
  • DO ‘is_tcp_sock_free_check 0.0.0.0:80’
  • CMD=‘is_tcp_sock_free_check 0.0.0.0:80’
  • ‘[’ -z ‘’ ‘]’
  • EXPECTED_RET=0
  • echo -n 'Running: “is_tcp_sock_free_check 0.0.0.0:80”… ’
    Running: “is_tcp_sock_free_check 0.0.0.0:80”… + eval is_tcp_sock_free_check 0.0.0.0:80
  • STATUS=0
  • last_command is_tcp_sock_free_check 0.0.0.0:80
  • echo is_tcp_sock_free_check
  • last_status 0
  • echo 0
  • ‘[’ 0 -eq 0 ‘]’
  • echo SUCCESS
    SUCCESS
  • for SOCK in “0.0.0.0:80” “0.0.0.0:443” “127.0.0.1:8082” “127.0.0.1:8083”
  • DO ‘is_tcp_sock_free_check 0.0.0.0:443’
  • CMD=‘is_tcp_sock_free_check 0.0.0.0:443’
  • ‘[’ -z ‘’ ‘]’
  • EXPECTED_RET=0
  • echo -n 'Running: “is_tcp_sock_free_check 0.0.0.0:443”… ’
    Running: “is_tcp_sock_free_check 0.0.0.0:443”… + eval is_tcp_sock_free_check 0.0.0.0:443
  • STATUS=0
  • last_command is_tcp_sock_free_check 0.0.0.0:443
  • echo is_tcp_sock_free_check
  • last_status 0
  • echo 0
  • ‘[’ 0 -eq 0 ‘]’
  • echo SUCCESS
    SUCCESS
  • for SOCK in “0.0.0.0:80” “0.0.0.0:443” “127.0.0.1:8082” “127.0.0.1:8083”
  • DO ‘is_tcp_sock_free_check 127.0.0.1:8082’
  • CMD=‘is_tcp_sock_free_check 127.0.0.1:8082’
  • ‘[’ -z ‘’ ‘]’
  • EXPECTED_RET=0
  • echo -n 'Running: “is_tcp_sock_free_check 127.0.0.1:8082”… ’
    Running: “is_tcp_sock_free_check 127.0.0.1:8082”… + eval is_tcp_sock_free_check 127.0.0.1:8082
  • STATUS=0
  • last_command is_tcp_sock_free_check 127.0.0.1:8082
  • echo is_tcp_sock_free_check
  • last_status 0
  • echo 0
  • ‘[’ 0 -eq 0 ‘]’
  • echo SUCCESS
    SUCCESS
  • for SOCK in “0.0.0.0:80” “0.0.0.0:443” “127.0.0.1:8082” “127.0.0.1:8083”
  • DO ‘is_tcp_sock_free_check 127.0.0.1:8083’
  • CMD=‘is_tcp_sock_free_check 127.0.0.1:8083’
  • ‘[’ -z ‘’ ‘]’
  • EXPECTED_RET=0
  • echo -n 'Running: “is_tcp_sock_free_check 127.0.0.1:8083”… ’
    Running: “is_tcp_sock_free_check 127.0.0.1:8083”… + eval is_tcp_sock_free_check 127.0.0.1:8083
  • STATUS=0
  • last_command is_tcp_sock_free_check 127.0.0.1:8083
  • echo is_tcp_sock_free_check
  • last_status 0
  • echo 0
  • ‘[’ 0 -eq 0 ‘]’
  • echo SUCCESS
    SUCCESS
  • echo ’ + required TCP sockets open’
  • required TCP sockets open
  • grep -vqE ‘^(bionic|xenial|stretch)$’
  • echo bionic
  • echo ‘Adding GlobaLeaks PGP key to trusted APT keys’
    Adding GlobaLeaks PGP key to trusted APT keys
  • TMPFILE=/tmp/tmp.VP1Nz4XRZo/globaleaks_key
  • echo ’
    -----BEGIN PGP PUBLIC KEY BLOCK-----

mQINBFFtX2EBEADWMQ9CpB55LcQzg1JS2oCzOcHN3oWQwfluIJltFPzbUC8KSTJr
rSKghSIzgA9C5ltoFgqwhZCiwQX0sFHLHw0+WQLXDqyRcJWCmL1GVIvAN1xW5aPA
jvZ14TJJiajYF+q0v2Lm8JCtD4hk1QcpJE+IOiSMMDqu9nM9ic8+xJZKYYhlCUWv
AWKTORhRhYhImJkV5P6soozv/rHizXnQW4rzsTPSlMh8cptVx4PL9ShIrmNC9oyI
dBFLGskOk9IxE6vW16YocQgwkFkT4KGIhvq3fUyJSj+AmoxmThvY+9Y5eN8FQdFh
/hH/ndU8+I9U/tDKFdII+A6tl0sbrnFKw0AG++dZ7ZMeRFKFi76xyGAS1Juqbgat
c35U3V6UF4RAHAc1GYMs2T+wZf1H0gBY+UinK78IJdN/ja4a2zbExpVcizlZxHJg
ImBVWjeTWbmOiKBRs6A/6wUbotBNma0QMCYgFvgwfjqxB27WUdsBhXS8iCIN+IHm
jm30s7dKyMCcsRW/En17jmou6i54URL1csNuwZXGD09W/DkJSXjmACjLP4u6QJuN
VFkABdndmKVJgN2jm/ZdgqH1SVP3dPVMOTdIsMwQrF7FTFKMNYUsgXh83SOwgZhT
nZEPXjeu6rXpeZNUu7/5xlcGixkGVYFwuFG2+Z4DuCOlP/r1ul8M/QUt9QARAQAB
tDVHbG9iYUxlYWtzIHNvZnR3YXJlIHNpZ25pbmcga2V5IDxpbmZvQGdsb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o/globaleaks_key’
  • ‘[’ -z ‘’ ‘]’
  • EXPECTED_RET=0
  • echo -n 'Running: “apt-key add /tmp/tmp.VP1Nz4XRZo/globaleaks_key”… ’
    Running: “apt-key add /tmp/tmp.VP1Nz4XRZo/globaleaks_key”… + eval apt-key add /tmp/tmp.VP1Nz4XRZo/globaleaks_key
  • STATUS=0
  • last_command apt-key add /tmp/tmp.VP1Nz4XRZo/globaleaks_key
  • echo apt-key
  • last_status 0
  • echo 0
  • ‘[’ 0 -eq 0 ‘]’
  • echo SUCCESS
    SUCCESS
  • DO ‘rm /tmp/tmp.VP1Nz4XRZo/globaleaks_key’
  • CMD=‘rm /tmp/tmp.VP1Nz4XRZo/globaleaks_key’
  • ‘[’ -z ‘’ ‘]’
  • EXPECTED_RET=0
  • echo -n 'Running: “rm /tmp/tmp.VP1Nz4XRZo/globaleaks_key”… ’
    Running: “rm /tmp/tmp.VP1Nz4XRZo/globaleaks_key”… + eval rm /tmp/tmp.VP1Nz4XRZo/globaleaks_key
  • STATUS=0
  • last_command rm /tmp/tmp.VP1Nz4XRZo/globaleaks_key
  • echo rm
  • last_status 0
  • echo 0
  • ‘[’ 0 -eq 0 ‘]’
  • echo SUCCESS
    SUCCESS
  • grep -qE ‘^(wheezy)$’
  • echo bionic
  • echo ‘Installing software-properties-common’
    Installing software-properties-common
  • DO ‘apt-get -y install software-properties-common’
  • CMD=‘apt-get -y install software-properties-common’
  • ‘[’ -z ‘’ ‘]’
  • EXPECTED_RET=0
  • echo -n 'Running: “apt-get -y install software-properties-common”… ’
    Running: “apt-get -y install software-properties-common”… + eval apt-get -y install software-properties-common
  • STATUS=0
  • last_command apt-get -y install software-properties-common
  • echo apt-get
  • last_status 0
  • echo 0
  • ‘[’ 0 -eq 0 ‘]’
  • echo SUCCESS
    SUCCESS
  • grep -qE ‘^(Ubuntu)$’
  • echo Ubuntu
  • grep -q ‘^deb .*universe’ /etc/apt/sources.list /etc/apt/sources.list.d/globaleaks.list /etc/apt/sources.list.d/globaleaks.list.distUpgrade /etc/apt/sources.list.d/globaleaks.list.save
  • ‘[’ -d /globaleaks/deb ‘]’
  • ‘[’ ‘!’ -f /etc/apt/sources.list.d/globaleaks.list ‘]’
  • DO ‘apt-get update -y’
  • CMD=‘apt-get update -y’
  • ‘[’ -z ‘’ ‘]’
  • EXPECTED_RET=0
  • echo -n 'Running: “apt-get update -y”… ’
    Running: “apt-get update -y”… + eval apt-get update -y
  • STATUS=0
  • last_command apt-get update -y
  • echo apt-get
  • last_status 0
  • echo 0
  • ‘[’ 0 -eq 0 ‘]’
  • echo SUCCESS
    SUCCESS
  • DO ‘apt-get install globaleaks -y’
  • CMD=‘apt-get install globaleaks -y’
  • ‘[’ -z ‘’ ‘]’
  • EXPECTED_RET=0
  • echo -n 'Running: “apt-get install globaleaks -y”… ’
    Running: “apt-get install globaleaks -y”… + eval apt-get install globaleaks -y
  • STATUS=0
  • last_command apt-get install globaleaks -y
  • echo apt-get
  • last_status 0
  • echo 0
  • ‘[’ 0 -eq 0 ‘]’
  • echo SUCCESS
    SUCCESS
  • last_command startup
  • echo startup
  • last_status 0
  • echo 0
  • i=0
  • ‘[’ 0 -lt 30 ‘]’
    ++ grep 127.0.0.1:8082
    ++ netstat -tln
  • X=
  • ‘[’ 1 -eq 0 ‘]’
  • i=1
  • sleep 1
  • ‘[’ 1 -lt 30 ‘]’
    ++ grep 127.0.0.1:8082
    ++ netstat -tln
  • X=
  • ‘[’ 1 -eq 0 ‘]’
  • i=2
  • sleep 1
  • ‘[’ 2 -lt 30 ‘]’
    ++ grep 127.0.0.1:8082
    ++ netstat -tln
  • X=
  • ‘[’ 1 -eq 0 ‘]’
  • i=3
  • sleep 1
  • ‘[’ 3 -lt 30 ‘]’
    ++ grep 127.0.0.1:8082
    ++ netstat -tln
  • X=
  • ‘[’ 1 -eq 0 ‘]’
  • i=4
  • sleep 1
  • ‘[’ 4 -lt 30 ‘]’
    ++ grep 127.0.0.1:8082
    ++ netstat -tln
  • X=
  • ‘[’ 1 -eq 0 ‘]’
  • i=5
  • sleep 1
  • ‘[’ 5 -lt 30 ‘]’
    ++ grep 127.0.0.1:8082
    ++ netstat -tln
  • X=
  • ‘[’ 1 -eq 0 ‘]’
  • i=6
  • sleep 1
  • ‘[’ 6 -lt 30 ‘]’
    ++ grep 127.0.0.1:8082
    ++ netstat -tln
  • X=
  • ‘[’ 1 -eq 0 ‘]’
  • i=7
  • sleep 1
  • ‘[’ 7 -lt 30 ‘]’
    ++ grep 127.0.0.1:8082
    ++ netstat -tln
  • X=
  • ‘[’ 1 -eq 0 ‘]’
  • i=8
  • sleep 1
  • ‘[’ 8 -lt 30 ‘]’
    ++ grep 127.0.0.1:8082
    ++ netstat -tln
  • X=
  • ‘[’ 1 -eq 0 ‘]’
  • i=9
  • sleep 1
  • ‘[’ 9 -lt 30 ‘]’
    ++ grep 127.0.0.1:8082
    ++ netstat -tln
  • X=
  • ‘[’ 1 -eq 0 ‘]’
  • i=10
  • sleep 1
  • ‘[’ 10 -lt 30 ‘]’
    ++ grep 127.0.0.1:8082
    ++ netstat -tln
  • X=
  • ‘[’ 1 -eq 0 ‘]’
  • i=11
  • sleep 1
  • ‘[’ 11 -lt 30 ‘]’
    ++ grep 127.0.0.1:8082
    ++ netstat -tln
  • X=
  • ‘[’ 1 -eq 0 ‘]’
  • i=12
  • sleep 1
  • ‘[’ 12 -lt 30 ‘]’
    ++ grep 127.0.0.1:8082
    ++ netstat -tln
  • X=
  • ‘[’ 1 -eq 0 ‘]’
  • i=13
  • sleep 1
  • ‘[’ 13 -lt 30 ‘]’
    ++ grep 127.0.0.1:8082
    ++ netstat -tln
  • X=
  • ‘[’ 1 -eq 0 ‘]’
  • i=14
  • sleep 1
  • ‘[’ 14 -lt 30 ‘]’
    ++ grep 127.0.0.1:8082
    ++ netstat -tln
  • X=
  • ‘[’ 1 -eq 0 ‘]’
  • i=15
  • sleep 1
  • ‘[’ 15 -lt 30 ‘]’
    ++ grep 127.0.0.1:8082
    ++ netstat -tln
  • X=
  • ‘[’ 1 -eq 0 ‘]’
  • i=16
  • sleep 1
  • ‘[’ 16 -lt 30 ‘]’
    ++ grep 127.0.0.1:8082
    ++ netstat -tln
  • X=
  • ‘[’ 1 -eq 0 ‘]’
  • i=17
  • sleep 1
  • ‘[’ 17 -lt 30 ‘]’
    ++ grep 127.0.0.1:8082
    ++ netstat -tln
  • X=
  • ‘[’ 1 -eq 0 ‘]’
  • i=18
  • sleep 1
  • ‘[’ 18 -lt 30 ‘]’
    ++ grep 127.0.0.1:8082
    ++ netstat -tln
  • X=
  • ‘[’ 1 -eq 0 ‘]’
  • i=19
  • sleep 1
  • ‘[’ 19 -lt 30 ‘]’
    ++ grep 127.0.0.1:8082
    ++ netstat -tln
  • X=
  • ‘[’ 1 -eq 0 ‘]’
  • i=20
  • sleep 1
  • ‘[’ 20 -lt 30 ‘]’
    ++ grep 127.0.0.1:8082
    ++ netstat -tln
  • X=
  • ‘[’ 1 -eq 0 ‘]’
  • i=21
  • sleep 1
  • ‘[’ 21 -lt 30 ‘]’
    ++ grep 127.0.0.1:8082
    ++ netstat -tln
  • X=
  • ‘[’ 1 -eq 0 ‘]’
  • i=22
  • sleep 1
  • ‘[’ 22 -lt 30 ‘]’
    ++ grep 127.0.0.1:8082
    ++ netstat -tln
  • X=
  • ‘[’ 1 -eq 0 ‘]’
  • i=23
  • sleep 1
  • ‘[’ 23 -lt 30 ‘]’
    ++ grep 127.0.0.1:8082
    ++ netstat -tln
  • X=
  • ‘[’ 1 -eq 0 ‘]’
  • i=24
  • sleep 1
  • ‘[’ 24 -lt 30 ‘]’
    ++ grep 127.0.0.1:8082
    ++ netstat -tln
  • X=
  • ‘[’ 1 -eq 0 ‘]’
  • i=25
  • sleep 1
  • ‘[’ 25 -lt 30 ‘]’
    ++ grep 127.0.0.1:8082
    ++ netstat -tln
  • X=
  • ‘[’ 1 -eq 0 ‘]’
  • i=26
  • sleep 1
  • ‘[’ 26 -lt 30 ‘]’
    ++ grep 127.0.0.1:8082
    ++ netstat -tln
  • X=
  • ‘[’ 1 -eq 0 ‘]’
  • i=27
  • sleep 1
  • ‘[’ 27 -lt 30 ‘]’
    ++ grep 127.0.0.1:8082
    ++ netstat -tln
  • X=
  • ‘[’ 1 -eq 0 ‘]’
  • i=28
  • sleep 1
  • ‘[’ 28 -lt 30 ‘]’
    ++ grep 127.0.0.1:8082
    ++ netstat -tln
  • X=
  • ‘[’ 1 -eq 0 ‘]’
  • i=29
  • sleep 1
  • ‘[’ 29 -lt 30 ‘]’
    ++ grep 127.0.0.1:8082
    ++ netstat -tln
  • X=
  • ‘[’ 1 -eq 0 ‘]’
  • i=30
  • sleep 1
  • ‘[’ 30 -lt 30 ‘]’
  • echo ‘Ouch! The installation is complete but GlobaLeaks failed to start.’
    Ouch! The installation is complete but GlobaLeaks failed to start.
  • last_status 1
  • echo 1
  • exit 1
  • atexit
  • echo ‘For Professional Support requests please visit: https://www.globaleaks.org/contact/
    For Professional Support requests please visit: https://www.globaleaks.org/contact/
  • echo ‘Please report encountered issues to the Community Forum at https://forum.globaleaks.org
    Please report encountered issues to the Community Forum at https://forum.globaleaks.org
  • ‘[’ 0 -eq 1 ‘]’
    ++ cat /tmp/tmp.VP1Nz4XRZo/last_command
  • LAST_COMMAND=startup
    ++ cat /tmp/tmp.VP1Nz4XRZo/last_status
  • LAST_STATUS=1
  • curl https://deb.globaleaks.org/install-globaleaks.sh -G -m 10 --data-urlencode DISTRO=bionic --data-urlencode LAST_COMMAND=startup --data-urlencode LAST_STATUS=1
  • rm -r /tmp/tmp.VP1Nz4XRZo

#22
root@WB:/tmp# cat /etc/apt/sources.list.d/globaleaks.list
# deb http://deb.globaleaks.org xenial/ # disabled on upgrade to bionic

#23

Ok, there’s probably a bug, try to do this:
rm -f /etc/apt/sources.list.d/globaleaks.list

Then execute again the previous command and report output:


#24

root@WB:~# rm -f /etc/apt/sources.list.d/globaleaks.list
root@WB:~# clear
root@WB:~# bash -x ./install-globaleaks.sh
++ id -u

  • ‘[’ ‘!’ 0 = 0 ‘]’
  • ERR=0
  • echo ‘Checking preliminary packaging GlobaLeaks requirements’
    Checking preliminary packaging GlobaLeaks requirements
  • for REQ in apt-key apt-get gpg
  • which apt-key
  • echo ’ + apt-key requirement met’
  • apt-key requirement met
  • for REQ in apt-key apt-get gpg
  • which apt-get
  • echo ’ + apt-get requirement met’
  • apt-get requirement met
  • for REQ in apt-key apt-get gpg
  • which gpg
  • echo ’ + gpg requirement met’
  • gpg requirement met
  • ‘[’ 0 -ne 0 ‘]’
  • LOGFILE=./install.log
  • ASSUMEYES=0
  • EXPERIMENTAL=0
  • TEST=0
  • GLOBALEAKS_PGP_KEY=’
    -----BEGIN PGP PUBLIC KEY BLOCK-----

mQINBFFtX2EBEADWMQ9CpB55LcQzg1JS2oCzOcHN3oWQwfluIJltFPzbUC8KSTJr
rSKghSIzgA9C5ltoFgqwhZCiwQX0sFHLHw0+WQLXDqyRcJWCmL1GVIvAN1xW5aPA
jvZ14TJJiajYF+q0v2Lm8JCtD4hk1QcpJE+IOiSMMDqu9nM9ic8+xJZKYYhlCUWv
AWKTORhRhYhImJkV5P6soozv/rHizXnQW4rzsTPSlMh8cptVx4PL9ShIrmNC9oyI
dBFLGskOk9IxE6vW16YocQgwkFkT4KGIhvq3fUyJSj+AmoxmThvY+9Y5eN8FQdFh
/hH/ndU8+I9U/tDKFdII+A6tl0sbrnFKw0AG++dZ7ZMeRFKFi76xyGAS1Juqbgat
c35U3V6UF4RAHAc1GYMs2T+wZf1H0gBY+UinK78IJdN/ja4a2zbExpVcizlZxHJg
ImBVWjeTWbmOiKBRs6A/6wUbotBNma0QMCYgFvgwfjqxB27WUdsBhXS8iCIN+IHm
jm30s7dKyMCcsRW/En17jmou6i54URL1csNuwZXGD09W/DkJSXjmACjLP4u6QJuN
VFkABdndmKVJgN2jm/ZdgqH1SVP3dPVMOTdIsMwQrF7FTFKMNYUsgXh83SOwgZhT
nZEPXjeu6rXpeZNUu7/5xlcGixkGVYFwuFG2+Z4DuCOlP/r1ul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TRO=unknown
  • DISTRO_CODENAME=unknown
  • which lsb_release
    ++ lsb_release -is
  • DISTRO=Ubuntu
    ++ lsb_release -cs
  • DISTRO_CODENAME=bionic
  • REAL_DISTRO=Ubuntu
  • REAL_DISTRO_CODENAME=bionic
  • ‘[’ Ubuntu == LinuxMint ‘]’
    ++ mktemp -d
  • TMPDIR=/tmp/tmp.HE7Yk3NTZU
  • echo ‘’
  • echo ‘’
  • trap atexit EXIT
  • ‘[’ 0 -eq 1 ‘]’
  • echo ‘Detected OS: Ubuntu - bionic’
    Detected OS: Ubuntu - bionic
  • last_command check_distro
  • echo check_distro
  • grep -vqE ‘^bionic$’
  • echo bionic
  • grep -q ‘[g]lobaleaks’
  • ps aux
  • DO ‘apt-get -y update’
  • CMD=‘apt-get -y update’
  • ‘[’ -z ‘’ ‘]’
  • EXPECTED_RET=0
  • echo -n 'Running: “apt-get -y update”… ’
    Running: “apt-get -y update”… + eval apt-get -y update
  • STATUS=0
  • last_command apt-get -y update
  • echo apt-get
  • last_status 0
  • echo 0
  • ‘[’ 0 -eq 0 ‘]’
  • echo SUCCESS
    SUCCESS
  • which curl
  • echo ’ + curl requirement met’
  • curl requirement met
  • which netstat
  • echo ’ + netstat requirement met’
  • netstat requirement met
  • for SOCK in “0.0.0.0:80” “0.0.0.0:443” “127.0.0.1:8082” “127.0.0.1:8083”
  • DO ‘is_tcp_sock_free_check 0.0.0.0:80’
  • CMD=‘is_tcp_sock_free_check 0.0.0.0:80’
  • ‘[’ -z ‘’ ‘]’
  • EXPECTED_RET=0
  • echo -n 'Running: “is_tcp_sock_free_check 0.0.0.0:80”… ’
    Running: “is_tcp_sock_free_check 0.0.0.0:80”… + eval is_tcp_sock_free_check 0. 0.0.0:80
  • STATUS=0
  • last_command is_tcp_sock_free_check 0.0.0.0:80
  • echo is_tcp_sock_free_check
  • last_status 0
  • echo 0
  • ‘[’ 0 -eq 0 ‘]’
  • echo SUCCESS
    SUCCESS
  • for SOCK in “0.0.0.0:80” “0.0.0.0:443” “127.0.0.1:8082” “127.0.0.1:8083”
  • DO ‘is_tcp_sock_free_check 0.0.0.0:443’
  • CMD=‘is_tcp_sock_free_check 0.0.0.0:443’
  • ‘[’ -z ‘’ ‘]’
  • EXPECTED_RET=0
  • echo -n 'Running: “is_tcp_sock_free_check 0.0.0.0:443”… ’
    Running: “is_tcp_sock_free_check 0.0.0.0:443”… + eval is_tcp_sock_free_check 0 .0.0.0:443
  • STATUS=0
  • last_command is_tcp_sock_free_check 0.0.0.0:443
  • echo is_tcp_sock_free_check
  • last_status 0
  • echo 0
  • ‘[’ 0 -eq 0 ‘]’
  • echo SUCCESS
    SUCCESS
  • for SOCK in “0.0.0.0:80” “0.0.0.0:443” “127.0.0.1:8082” “127.0.0.1:8083”
  • DO ‘is_tcp_sock_free_check 127.0.0.1:8082’
  • CMD=‘is_tcp_sock_free_check 127.0.0.1:8082’
  • ‘[’ -z ‘’ ‘]’
  • EXPECTED_RET=0
  • echo -n 'Running: “is_tcp_sock_free_check 127.0.0.1:8082”… ’
    Running: “is_tcp_sock_free_check 127.0.0.1:8082”… + eval is_tcp_sock_free_chec k 127.0.0.1:8082
  • STATUS=0
  • last_command is_tcp_sock_free_check 127.0.0.1:8082
  • echo is_tcp_sock_free_check
  • last_status 0
  • echo 0
  • ‘[’ 0 -eq 0 ‘]’
  • echo SUCCESS
    SUCCESS
  • for SOCK in “0.0.0.0:80” “0.0.0.0:443” “127.0.0.1:8082” “127.0.0.1:8083”
  • DO ‘is_tcp_sock_free_check 127.0.0.1:8083’
  • CMD=‘is_tcp_sock_free_check 127.0.0.1:8083’
  • ‘[’ -z ‘’ ‘]’
  • EXPECTED_RET=0
  • echo -n 'Running: “is_tcp_sock_free_check 127.0.0.1:8083”… ’
    Running: “is_tcp_sock_free_check 127.0.0.1:8083”… + eval is_tcp_sock_free_chec k 127.0.0.1:8083
  • STATUS=0
  • last_command is_tcp_sock_free_check 127.0.0.1:8083
  • echo is_tcp_sock_free_check
  • last_status 0
  • echo 0
  • ‘[’ 0 -eq 0 ‘]’
  • echo SUCCESS
    SUCCESS
  • echo ’ + required TCP sockets open’
  • required TCP sockets open
  • grep -vqE ‘^(bionic|xenial|stretch)$’
  • echo bionic
  • echo ‘Adding GlobaLeaks PGP key to trusted APT keys’
    Adding GlobaLeaks PGP key to trusted APT keys
  • TMPFILE=/tmp/tmp.HE7Yk3NTZU/globaleaks_key
  • echo ’
    -----BEGIN PGP PUBLIC KEY BLOCK-----

mQINBFFtX2EBEADWMQ9CpB55LcQzg1JS2oCzOcHN3oWQwfluIJltFPzbUC8KSTJr
rSKghSIzgA9C5ltoFgqwhZCiwQX0sFHLHw0+WQLXDqyRcJWCmL1GVIvAN1xW5aPA
jvZ14TJJiajYF+q0v2Lm8JCtD4hk1QcpJE+IOiSMMDqu9nM9ic8+xJZKYYhlCUWv
AWKTORhRhYhImJkV5P6soozv/rHizXnQW4rzsTPSlMh8cptVx4PL9ShIrmNC9oyI
dBFLGskOk9IxE6vW16YocQgwkFkT4KGIhvq3fUyJSj+AmoxmThvY+9Y5eN8FQdFh
/hH/ndU8+I9U/tDKFdII+A6tl0sbrnFKw0AG++dZ7ZMeRFKFi76xyGAS1Juqbgat
c35U3V6UF4RAHAc1GYMs2T+wZf1H0gBY+UinK78IJdN/ja4a2zbExpVcizlZxHJg
ImBVWjeTWbmOiKBRs6A/6wUbotBNma0QMCYgFvgwfjqxB27WUdsBhXS8iCIN+IHm
jm30s7dKyMCcsRW/En17jmou6i54URL1csNuwZXGD09W/DkJSXjmACjLP4u6QJuN
VFkABdndmKVJgN2jm/ZdgqH1SVP3dPVMOTdIsMwQrF7FTFKMNYUsgXh83SOwgZhT
nZEPXjeu6rXpeZNUu7/5xlcGixkGVYFwuFG2+Z4DuCOlP/r1ul8M/QUt9QARAQAB
tDVHbG9iYUxlYWtzIHNvZnR3YXJlIHNpZ25pbmcga2V5IDxpbmZvQGdsb2JhbGVh
a3Mub3JnPokCVQQTAQIAPwIbAwYLCQgHAwIGFQgCCQoLB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u7jcf1pSbhPwMoghppu0nZIY
ugYjIczSd/GEyYG+VseJ+lnyIWRtzPzta4aZKWRCd1z6Ks3QFrYC4zeS8RXGRjok
YLLUKTf8Pv7Ls3hE0WEOpHWFTlkd9ft0mS95ABEBAAGJAjwEGAECACYCGwwWIQSz
U5Iq5EV3SFWed3gy5nkmJARQCAUCWspIGgUJDwCDOQAKCRAy5nkmJARQCPFEEADD
20IU5hIfL0dXrqJQhlVYT2GhDnjjlK03EpjWgNETTmA3J2Eccy7zWUGvtBgbE1wk
4T+hF0RnRaG7TMZ3Y6lBsjMiNd9VMO/MPDk7iFmYnM/wH+lg2QwdFIvOwYn1WlI0
E0dqFTZv5XG+UaFrUjhP9HLXjqm09b9OJa3hdDE3uUXl33EGTOc4d1MqN9xfINge
w94pApSzQD0q//WEu5+Um8pIRDsWwR2Qork0M0EUTBk0EstEzpxZRbbP3X/w7y7L
Ws0Bksncd2eSxzFugI4I8xpdwChVrYgrjMB/ckmM4pMrSfDsuWf/A2uMjvsIItgI
N93P/nURvsTJDD/R+kRqk8yDibtCnZqTssj876CqMIgTh8+L+N0D61Uh3NSQVh9l
YckPQoGYXa4dlKIUuqYMkQzrjkuKyUrqNCYUk+WuZacWz/WrXgxgNEM5+v8RehLC
5kXQWUc30gHRJFwjavzP49eKkh5burVuQWoR9g3rkWHCDKTZ76/RybLEihCSWlhY
uWINnV2zmop/UYkiw/UoG7Vh7+9blf1jMrj5OqETyZNdqSkyYODpKX7Tkiv1QTVp
TToHe4Peu9TsMemG8VZlpC/d1uQuWmsFBUNqZrKORcYrgJkdMqnXIrRzIZZfGGkb
8xnheFem0ZbRw6lAjfrMFF5Agm4zIqpAiHM7p7NU0w==
=VudL
-----END PGP PUBLIC KEY BLOCK-----’

  • DO ‘apt-key add /tmp/tmp.HE7Yk3NTZU/globaleaks_key’
  • CMD=‘apt-key add /tmp/tmp.HE7Yk3NTZU/globaleaks_key’
  • ‘[’ -z ‘’ ‘]’
  • EXPECTED_RET=0
  • echo -n 'Running: “apt-key add /tmp/tmp.HE7Yk3NTZU/globaleaks_key”… ’
    Running: “apt-key add /tmp/tmp.HE7Yk3NTZU/globaleaks_key”… + eval apt-key add /tmp/tmp.HE7Yk3NTZU/globaleaks_key
  • STATUS=0
  • last_command apt-key add /tmp/tmp.HE7Yk3NTZU/globaleaks_key
  • echo apt-key
  • last_status 0
  • echo 0
  • ‘[’ 0 -eq 0 ‘]’
  • echo SUCCESS
    SUCCESS
  • DO ‘rm /tmp/tmp.HE7Yk3NTZU/globaleaks_key’
  • CMD=‘rm /tmp/tmp.HE7Yk3NTZU/globaleaks_key’
  • ‘[’ -z ‘’ ‘]’
  • EXPECTED_RET=0
  • echo -n 'Running: “rm /tmp/tmp.HE7Yk3NTZU/globaleaks_key”… ’
    Running: “rm /tmp/tmp.HE7Yk3NTZU/globaleaks_key”… + eval rm /tmp/tmp.HE7Yk3NTZ U/globaleaks_key
  • STATUS=0
  • last_command rm /tmp/tmp.HE7Yk3NTZU/globaleaks_key
  • echo rm
  • last_status 0
  • echo 0
  • ‘[’ 0 -eq 0 ‘]’
  • echo SUCCESS
    SUCCESS
  • grep -qE ‘^(wheezy)$’
  • echo bionic
  • echo ‘Installing software-properties-common’
    Installing software-properties-common
  • DO ‘apt-get -y install software-properties-common’
  • CMD=‘apt-get -y install software-properties-common’
  • ‘[’ -z ‘’ ‘]’
  • EXPECTED_RET=0
  • echo -n 'Running: “apt-get -y install software-properties-common”… ’
    Running: “apt-get -y install software-properties-common”… + eval apt-get -y in stall software-properties-common
  • STATUS=0
  • last_command apt-get -y install software-properties-common
  • echo apt-get
  • last_status 0
  • echo 0
  • ‘[’ 0 -eq 0 ‘]’
  • echo SUCCESS
    SUCCESS
  • grep -qE ‘^(Ubuntu)$’
  • echo Ubuntu
  • grep -q ‘^deb .*universe’ /etc/apt/sources.list /etc/apt/sources.list.d/global eaks.list.distUpgrade /etc/apt/sources.list.d/globaleaks.list.save
  • ‘[’ -d /globaleaks/deb ‘]’
  • ‘[’ ‘!’ -f /etc/apt/sources.list.d/globaleaks.list ‘]’
  • echo ‘deb http://deb.globaleaks.org bionic/’
  • DO ‘apt-get update -y’
  • CMD=‘apt-get update -y’
  • ‘[’ -z ‘’ ‘]’
  • EXPECTED_RET=0
  • echo -n 'Running: “apt-get update -y”… ’
    Running: “apt-get update -y”… + eval apt-get update -y
  • STATUS=0
  • last_command apt-get update -y
  • echo apt-get
  • last_status 0
  • echo 0
  • ‘[’ 0 -eq 0 ‘]’
  • echo SUCCESS
    SUCCESS
  • DO ‘apt-get install globaleaks -y’
  • CMD=‘apt-get install globaleaks -y’
  • ‘[’ -z ‘’ ‘]’
  • EXPECTED_RET=0
  • echo -n 'Running: “apt-get install globaleaks -y”… ’
    Running: “apt-get install globaleaks -y”… + eval apt-get install globaleaks -y
  • STATUS=0
  • last_command apt-get install globaleaks -y
  • echo apt-get
  • last_status 0
  • echo 0
  • ‘[’ 0 -eq 0 ‘]’
  • echo SUCCESS
    SUCCESS
  • last_command startup
  • echo startup
  • last_status 0
  • echo 0
  • i=0
  • ‘[’ 0 -lt 30 ‘]’
    ++ grep 127.0.0.1:8082
    ++ netstat -tln
  • X='tcp 0 0 127.0.0.1:8082 0.0.0.0:* LISTEN ’
  • ‘[’ 0 -eq 0 ‘]’
  • echo ‘Install script completed.’
    Install script completed.
    ++ awk ‘{split($4,a,"/");print a[1]}’
    ++ /sbin/ip -4 -o addr show
  • IPS=‘127.0.0.1
    80.211.137.28’
  • echo ‘GlobaLeaks should be reachable at:’
    GlobaLeaks should be reachable at:
  • for IP in $IPS
  • echo ‘+ http://127.0.0.1
  • http://127.0.0.1
  • for IP in $IPS
  • echo ‘+ http://80.211.137.28
  • http://80.211.137.28
  • exit 0
  • atexit
  • echo ‘For Professional Support requests please visit: https://www.globaleaks.org/contact/
    For Professional Support requests please visit: https://www.globaleaks.org/contact/
  • echo ‘Please report encountered issues to the Community Forum at https://forum.globaleaks.org
    Please report encountered issues to the Community Forum at https://forum.globaleaks.org
  • ‘[’ 0 -eq 1 ‘]’
    ++ cat /tmp/tmp.HE7Yk3NTZU/last_command
  • LAST_COMMAND=startup
    ++ cat /tmp/tmp.HE7Yk3NTZU/last_status
  • LAST_STATUS=0
  • curl https://deb.globaleaks.org/install-globaleaks.sh -G -m 10 --data-urlencode DISTRO=bionic --data-urlencode LAST_COMMAND=startup --data-urlencode LAST_STATUS=0
  • rm -r /tmp/tmp.HE7Yk3NTZU

#26

Thanks, now the site started correctly


#27

Ok, applied code modification to improve install script always updating sources.list.

See https://github.com/globaleaks/GlobaLeaks/commit/f638b3138afb50cfab7ff46387b0e00676236234

Thanks for help in debugging the issue