Upgrade Debian: Etch to Lenny

De gacq wiki
Saltar a: navegación, buscar

Add new public key

gpg --keyserver wwwkeys.eu.pgp.net --recv-keys  9AA38DCD55BE302B
gpg --armor --export 9AA38DCD55BE302B | sudo apt-key add -

Update packages

1) Edit /etc/apt/sources.list and replace "etch" to "lenny"

2) Do the upgrade

aptitude update
aptitude install dpkg aptitude apt
aptitude full-upgrade

Configuration files:

  • Except special configurations overwrite /etc/securetty

Problems generated by the upgrade:

  • salsauth not staring because now require run directory
  • courier-imap-ssl does not work with fetchmail because of SSL version issue
  • MoinMoin stop working (http error 500)
  • Trac stop working
  • Mailman switch default language english
  • Xen kernel not upgraded / Hypervisor not upgraded too
  • udev

Notes for Xen users

My way:

DomUs

foreach DomU in DomUs do {

Upgrade DomU
aptitude update
aptitude install dpkg aptitude apt
aptitude full-upgrade
Install kernel modules
aptitude install linux-modules-2.6.26-2-xen-686
Install udev
aptitude install udev
Shutdown
init 0

}

Dom0

Upgrade Dom0
aptitude update
aptitude install dpkg aptitude apt
aptitude full-upgrade
Install xen kernel and hypervisor
aptitude install xen-linux-system-2.6.26-2-xen-686
aptitude install xen-hypervisor-3.2-1-i386
Change kernel and initrd for all DomUs


Reboot