Upgrade Guide - 2langnic/GlobaLeaks GitHub Wiki
In order to upgrade GlobaLeaks the following commands should (in general) work:
apt-get update && apt-get install globaleaks
Upgrading versions before 2.60.42 will need the following commads to be executed: (replace $DISTRO_VERSION with one between precise, trusty, wheezy or jessie depending on your ubuntu/debian version)
echo "deb http://deb.globaleaks.org $DISTRO_VERSION/" > /etc/apt/sources.list
apt-get update && apt-get install globaleaks
To safely backup a GlobaLeaks installation, being able to restore it after upgrade if something went wrong, before upgrading type the following commands:
tar zcvfp /tmp/globaleaks-data-backup-pre-upgrade.tar.gz /var/globaleaks/ /etc/default/globaleaks
tar zcvfp /tmp/globaleaks-package-backup-pre-upgrade.tar.gz /var/cache/apt/archives/globaleaks*
If you are working with an hardware that do not use the GRUB bootloader, you should face a situation where the configuration of Globaleaks package fails in the postinstall script.
You can verify that you are in this situation looking for AppArmor opinion on this; type
aa-status
if the answer is something like "AppArmor not available in kernel" or you already know not having GRUB installed, you must deactivate it changing an option in Globaleaks conf file: open
vi /etc/default/globaleaks
and give zero value to option APPARMOR_SANDBOXING=1 . Then re-run the upgrade procedure.