Diferencia entre revisiones de «Upgrade Debian: Etch to Lenny»
De gacq wiki
(→Notes for Xen users) |
|||
Línea 28: | Línea 28: | ||
foreach DomU in DomUs do { | foreach DomU in DomUs do { | ||
;Upgrade DomU | ;Upgrade DomU | ||
+ | aptitude update | ||
+ | aptitude install dpkg aptitude apt | ||
+ | aptitude full-upgrade | ||
;Install kernel modules | ;Install kernel modules | ||
Línea 41: | Línea 44: | ||
== Dom0 == | == Dom0 == | ||
;Upgrade Dom0 | ;Upgrade Dom0 | ||
+ | aptitude update | ||
+ | aptitude install dpkg aptitude apt | ||
+ | aptitude full-upgrade | ||
;Install xen kernel and hypervisor | ;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 | ;Change kernel and initrd for all DomUs | ||
+ | |||
+ | |||
;Reboot | ;Reboot |
Revisión del 22:37 17 jun 2009
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