Differences between revisions 1 and 5 (spanning 4 versions)
Revision 1 as of 2010-10-13 23:02:46
Size: 3348
Editor: HolgerLevsen
Comment: copied from http://wiki.debian.org/DebianEdu/Documentation/Lenny/... and modified slightly
Revision 5 as of 2012-01-26 03:44:34
Size: 3314
Editor: ?David Prévot
Comment: Remove line (that broke the CategoryPermalink catch on XML)
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
/!\ Before explaining how to upgrade, please note, that you do this update on your productive server on your own risk. '''Debian Edu/Skolelinux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law.''' /!\ Before reading this upgrade guide, please note that live updates to your production servers are carried out at your own risk. '''Debian Edu/Skolelinux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law.'''
Line 7: Line 7:
Please read this chapter completly before attempting to upgrade. Please read this chapter completely before attempting to upgrade.
Line 11: Line 11:
Upgrading Debian from one distribution to the next is generally rather easy. For Debian Edu this is unfortunatly not yet true as we heavily modify configuration files in ways we shouldn't do. (See Debian bug DebianBug:311188 for more information.) Upgrading is still possible but might requiere some work. Upgrading Debian from one distribution to the next is generally rather easy. For Debian Edu this is unfortunately not yet true as we heavily modify configuration files in ways we shouldn't. (See Debian bug DebianBug:311188 for more information.) Upgrading is still possible but may require some work.
Line 15: Line 15:
If you want to be sure that after the upgrade everything works like before , you should test the upgrade on (a) test systems, which are configured the same way as your production machines. There you can test the upgrade without risk and see if everything works as it should. If you want to be sure that after the upgrade everything works as before, you should test the upgrade on a test system or systems configured the same way as your production machines. There you can test the upgrade without risk and see if everything works as it should.
Line 17: Line 17:
Make sure to also read the [[http://www.debian.org/releases/stable/installmanual|information about the Debian lenny release]] from its installation manual. Make sure to also read the information about the current Debian Stable release in its [[http://www.debian.org/releases/stable/installmanual|installation manual]].
Line 19: Line 19:
Also it might be wise to wait a bit and keep running etch for some more weeks, so that others can test the upgrade, experience problems and document them here. Debian Edu etch will receive continued support for some time in the future, but when Debian [[http://www.debian.org/security/faq#lifespan|ceases support for etch]], Debian Edu will (have to) do that too. This is expected to happen on Febrary 16th, 2010. It may also be wise to wait a bit and keep running Oldstable for a few weeks longer, so that others can test the upgrade and document any problems they experience. The Oldstable release of Debian Edu will receive continued support for some time after the next Stable release, but when Debian [[http://www.debian.org/security/faq#lifespan|ceases support for Oldstable]], Debian Edu will necessarily do the same.
Line 21: Line 21:
== Upgrades from Debian Edu lenny == == Upgrades from Debian Edu Lenny ==
Line 27: Line 27:
 1. Edit {{{/etc/apt/sources.list}}} and replace all occurances of "lenny" with "squeeze".  1. Edit {{{/etc/apt/sources.list}}} and replace all occurrences of "lenny" with "squeeze".
Line 34: Line 34:
FIXME: described needed changed to ldap FIXME: described required changes to LDAP
Line 40: Line 40:
Remove {{{/opt/ltsp/i386}}} (or {{{/opt/ltsp/amd64}}}, depending on your setup. If you have enough diskspace, consider backing it up. Remove {{{/opt/ltsp/i386}}} (or {{{/opt/ltsp/amd64}}}, depending on your setup). If you have enough diskspace, consider backing it up.
Line 46: Line 46:
== Upgrades from older Debian Edu / Skolelinux installations (before lenny) == == Upgrades from older Debian Edu / Skolelinux installations (before Lenny) ==
Line 48: Line 48:
To upgrade from any older release, you will need to upgrade to the lenny based Debian Edu release first, before you can follow the instructions provided above. How to upgrade to lenny is described in the [[DebianEdu/Documentation/Lenny|Manual for Debian Edu lenny]]. The manual for lenny covers instructions to upgrades from the previous release, etch. And that covers the previous one from that! To upgrade from any older release, you will need to upgrade to the Lenny-based Debian Edu release first, before you can follow the instructions provided above. Instructions are given in the [[DebianEdu/Documentation/Lenny|Manual for Debian Edu Lenny]] of how to upgrade to Lenny from the previous release, Etch, and the Etch manual covers the one before that!
Line 50: Line 50:
----

Upgrades

/!\ Before reading this upgrade guide, please note that live updates to your production servers are carried out at your own risk. Debian Edu/Skolelinux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law.

Please read this chapter completely before attempting to upgrade.

General notes on upgrading

Upgrading Debian from one distribution to the next is generally rather easy. For Debian Edu this is unfortunately not yet true as we heavily modify configuration files in ways we shouldn't. (See Debian bug 311188 for more information.) Upgrading is still possible but may require some work.

In general, upgrading the servers is more difficult than the workstations and the main-server is the most difficult to upgrade. The diskless machines are easy, as their chroot environment can be deleted and recreated, if you haven't modified it. If you have, the chroot is basically a workstation chroot anyway, so rather easy to upgrade.

If you want to be sure that after the upgrade everything works as before, you should test the upgrade on a test system or systems configured the same way as your production machines. There you can test the upgrade without risk and see if everything works as it should.

Make sure to also read the information about the current Debian Stable release in its installation manual.

It may also be wise to wait a bit and keep running Oldstable for a few weeks longer, so that others can test the upgrade and document any problems they experience. The Oldstable release of Debian Edu will receive continued support for some time after the next Stable release, but when Debian ceases support for Oldstable, Debian Edu will necessarily do the same.

Upgrades from Debian Edu Lenny

/!\ Be prepared: make sure you have tested the upgrade from Lenny in a test environment or have backups ready to be able to go back.

The basic upgrade operation

  1. Edit /etc/apt/sources.list and replace all occurrences of "lenny" with "squeeze".

  2. run apt-get update

  3. run apt-get upgrade

  4. run apt-get dist-upgrade

LDAP service needs to repaired

FIXME: described required changes to LDAP

Recreating an LTSP chroot

On the LTSP server(s) the LTSP chroot should be recreated. The new chroot will automatically support both thin-clients and diskless workstations.

Remove /opt/ltsp/i386 (or /opt/ltsp/amd64, depending on your setup). If you have enough diskspace, consider backing it up.

Recreate the chroot by running debian-edu-ltsp && ltsp-make-client as root.

Of course you can also upgrade the chroot as usual.

Upgrades from older Debian Edu / Skolelinux installations (before Lenny)

To upgrade from any older release, you will need to upgrade to the Lenny-based Debian Edu release first, before you can follow the instructions provided above. Instructions are given in the Manual for Debian Edu Lenny of how to upgrade to Lenny from the previous release, Etch, and the Etch manual covers the one before that!

CategoryPermalink