You are here

Howto Upgrade a Cluster Machine to Ubuntu 14.04

Upgrading should be approached in the following way:

  1. upgrade the software to be fully in sync with the upstream repositories by running the commands apt-get update, apt-get upgrade and TheoDue_ServerUpgrade until self consistency (i.e. they all perform no more changes).
  2. Run the appropriate Ubuntu release-upgrade procedures and reboot the machine. On pesenti I used (Sat. June 7)
    1. slogin via ssh
    2. /usr/lib/theodue/TheoDue_CleanupKernels.e    removes all extraneous kernel images
    3. apt-get purge `dpkg -l | grep texlive | awk '{print $2}'`   removes texlive packages, which create some trouble during the installation process
    4. apt-get autoremove removes unneeded stuff and frees some storag
    5. do-release-upgrade -d, which crashed due to some emacs-related problems (which have been taken care of in one of the latest TheoDue_ServerUpgrade changes)
    6. This was followed by a bunch of apt-get update / apt-get dist-upgrade / TheoDue_ServerUpgrade / runs to self-consistency.
    7. Finally, all uninstalled but configured packages are removed using dpkg --purge `dpkg -l | grep '^rc' | awk '{print $2}'`
  3. Run the already installed TheoDue_ServerUpgrade script again. Make sure that afterwards the comment lines have been removed again from the file /etc/apt/sources.list.d/theodue.list, so that our internal packages are found. If, for some reason, the comments are not removed, do this manually.
  4. Perform once more the self-consistency operations described in 1. Reboot the machine. If this doesn't work, explain what's wrong and send e-mail to eckhard.spohr@uni-due.de.



 

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer with minor local changes