Globaleaks Ugrade to latest: The repository 'http://deb.globaleaks.org trusty/ Release' does not have a Release file


#1

I’M FAILING TO UPGRADE TO THE LATEST VERSION
Description: Ubuntu 16.04.5 LTS
Release: 16.04
Codename: xenial

root@ip—:~# apt-get update && apt-get install globaleaks
Hit:1 http://us-west-2.ec2.archive.ubuntu.com/ubuntu xenial InRelease
Hit:2 http://us-west-2.ec2.archive.ubuntu.com/ubuntu xenial-updates InRelease
Get:3 http://us-west-2.ec2.archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]
Get:4 http://security.ubuntu.com/ubuntu xenial-security InRelease [109 kB]
Ign:5 http://deb.globaleaks.org trusty/ InRelease
Hit:6 http://archive.ubuntu.com/ubuntu xenial InRelease
Ign:7 http://deb.globaleaks.org trusty/ Release
Ign:8 http://deb.globaleaks.org trusty/ Packages
Ign:9 http://deb.globaleaks.org trusty/ Translation-en_US
Ign:10 http://deb.globaleaks.org trusty/ Translation-en
Ign:8 http://deb.globaleaks.org trusty/ Packages
Ign:9 http://deb.globaleaks.org trusty/ Translation-en_US
Ign:10 http://deb.globaleaks.org trusty/ Translation-en
Ign:8 http://deb.globaleaks.org trusty/ Packages
Ign:9 http://deb.globaleaks.org trusty/ Translation-en_US
Ign:10 http://deb.globaleaks.org trusty/ Translation-en
Ign:8 http://deb.globaleaks.org trusty/ Packages
Ign:9 http://deb.globaleaks.org trusty/ Translation-en_US
Ign:10 http://deb.globaleaks.org trusty/ Translation-en
Ign:8 http://deb.globaleaks.org trusty/ Packages
Ign:9 http://deb.globaleaks.org trusty/ Translation-en_US
Ign:10 http://deb.globaleaks.org trusty/ Translation-en
Err:8 http://deb.globaleaks.org trusty/ Packages
404 Not Found
Ign:9 http://deb.globaleaks.org trusty/ Translation-en_US
Ign:10 http://deb.globaleaks.org trusty/ Translation-en
Fetched 216 kB in 3s (63.3 kB/s)
Reading package lists… Done
W: The repository ‘http://deb.globaleaks.org trusty/ Release’ does not have a Release file.
N: Data from such a repository can’t be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch http://deb.globaleaks.org/trusty/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
root@ip----:~#


According to the document, I tried to run this too

cd /tmp/
wget https://deb.globaleaks.org/install-globaleaks.sh
chmod +x install-globaleaks.sh
bash -x ./install-globaleaks.sh
cat /etc/apt/sources.list.d/globaleaks.list

root@ip----:~# cd /tmp/
root@ip------:/tmp# wget https://deb.globaleaks.org/install-globaleaks.sh
–2019-02-05 16:10:35-- https://deb.globaleaks.org/install-globaleaks.sh
Resolving deb.globaleaks.org (deb.globaleaks.org)… 51.15.240.96
Connecting to deb.globaleaks.org (deb.globaleaks.org)|51.15.240.96|:443… connected.
HTTP request sent, awaiting response… 200 OK
Length: 11614 (11K) [text/plain]
Saving to: ‘install-globaleaks.sh’

install-globaleaks.sh 100%[==================================================================================================================>] 11.34K --.-KB/s in 0s

2019-02-05 16:10:36 (332 MB/s) - ‘install-globaleaks.sh’ saved [11614/11614]

root@ip----:/tmp# chmod +x install-globaleaks.sh
root@ip----:/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-----

mQINBFFtX2EBEADWMQ9CpB55LcQzg1JS2oCzOcHN3oWQwfluIJltFPzbUC8K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lBsjMiNd9VMO/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-----’


#2

Dear @jestboniface,

From the log you are reporting i identify that your failure in the update is due to the fact that your /etc/apt/sources.list.d/globaleaks is still pointed to trusty which repository has been deprecated.

I guess you just updated from ubuntu trusty to ubuntu xenial not following the instructions i passed to Fiona.
This is a wrong way to proceed and you should follow precisely the “Distribution Update” guide: http://docs.globaleaks.org/en/latest/UpgradeGuide.html#distribution-update

In particular i make you notice that the latests LTS version of ubuntu is Bionic and it is highly recommended to use that as it is the current officially supported version.


#3

Thanks, so I should rather upgrade to Bionic, right?


#4

No @jestboniface,

The upgrade to bionic would have been really experimental starting from a xenial release.
But as you are migrating from a trusty, it is necessary to start from scratch with the setup of an ubuntu server and then following the guide load on the new setup the data of the old setup.

please follow the precise instructions described in the section “Distribution Update” guide at http://docs.globaleaks.org/en/latest/UpgradeGuide.html#distribution-update