Upgrade Debian: Etch to Lenny

De gacq wiki
Revisión del 10:48 18 jun 2009 de Gacq (discusión | contribuciones) (Default language for new lists in MailMan)
Saltar a: navegación, buscar

Add new public key if necessary

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 starting

salsauth not staring because now require run directory

courier-imap-ssl pop3-ssl SSl version

courier-imap-ssl does not work with fetchmail because of SSL version issue

Jun 15 20:17:28 oaky imapd-ssl: couriertls: connect: error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number

Comment out the following lines

/etc/courier/imapd-ssl
#TLS_PROTOCOL=TLS1
#TLS_STARTTLS_PROTOCOL=TLS1
/etc/courier/pop3d-ssl
#TLS_PROTOCOL=SSL3
#TLS_STARTTLS_PROTOCOL=TLS1

MoinMoin stop working

MoinMoin stop working (http error 500)

Trac stop working

Trac stop working

Default language for new lists in MailMan

Mailman switch default language to english, if you prefer another one change /etc/mailman/mm_cfg.py

DEFAULT_SERVER_LANGUAGE = 'es'

Kernel and Hypervisor not updated

Xen kernel not upgraded / Hypervisor not upgraded too

udev not installed anymore

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
Configure serial console

In /etc/inittab, change:

1:2345:respawn:/sbin/getty 38400 tty1

to:

1:2345:respawn:/sbin/getty 38400 hvc0
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

replace in each DomU config file /etc/xen/*.cfg

kernel      = '/boot/vmlinuz-2.6.26-2-xen-686'
ramdisk     = '/boot/initrd.img-2.6.26-2-xen-686'
Reboot
init 6