Server Howtos
If you have done a few Etch to Lenny in place upgrades then you will know this isnt entirely straight forward. My most recent upgrade was a production VPS, and i jot a few notes below...
Do the usual things, full backup, change your apt sources.list then
aptitude update
At this point new apt source integrity checksum issues surface. Errors like:
W: GPG error: http://ftp.nz.debian.org lenny Release: The following signatures couldn`t be verified ... etc
The way i resolved this was to manually update the keys using
apt-key update
Then its recomended to first upgrade apt, although ive havent always done this:
aptitude install apt dpkg aptitude
Finally, lenny has changed the upgrade syntax from dist-upgrade to full-upgrade:
aptitude full-upgrade
For me the upgrade went OK except:
Viirtual hosts issues*
However with apache a few changes in the way things are done in lenny prevented apache starting.
1. latest apache has a default VirtualHost entry in
/etc/apache2/ports.conf
So if you have an existing /etc/apache2/conf.d/virtual.conf delete it.
Presence of the duplicate results in virtual host errors.
2. VirtualHost directives now must have a port number
eg
NameVirtualHost *:80
<virtualhost *:80>
In frustration i decided to start again with apache:
apt-get --purge remove apache2 apache2-common
mv /etc/apache2 /etc/apache2-etch
aptitude install apache2 libapache2-mod-php5 php5-mysql php5-gd
Then copied over my old virtual host config, then fixed the virtual host issues, a2ensite`d all the hosts, and it was then good to go. Note that youll have to go back and copy any apache conf tweaks you had like keepalivetimeout, max-keepaliverequest and timeout.