Debian package upgrades

Tagged:

Upgrading your Debian package should be as simple as running:

apt-get install aegir-provision

.. to update the backup. Note how you can upgrade aegir in steps. If you want to upgrade all packages in one shot, use:

apt-get install aegir-provision aegir-hostmaster

As during install, you can use the DEBUG variable to run drush in debugging:

env DEBUG=yes apt-get install aegir-hostmaster

Upgrading from non-Debian packages

The Debian package supports migrating from existing installs. Just install the package as if you were installing from scratch.

You will need to move /var/aegir/.drush/provision out of the way before going ahead:

tar cfz /var/aegir/backups/provision.tgz /var/aegir/.drush/provision
rm -rf /var/aegir/.drush/provision

#1

In the course of a normal update (adding php5-xsl) we were a little worried by the following messages:

The following extra packages will be installed:
  aegir-provision (..other php5 updates..)
The following packages will be REMOVED:
  aegir aegir-hostmaster (..other php5 updates..)
This - threatening to REMOVE an existing working Aegir infrastructure was a bit scary. Even if it will (probably?) be replaced. The original install was from koumbit yeah.

I'd have liked to see a message on this wiki page saying "If you get this message, it's OK to say 'Yes' and everything will be replaced safely". If that is the case... It is worrying. Can this be clarified?