Is there a way to upgrade from 8.04 to 10.4 that works?
I've tried to upgrade from 8.04 to 10.4, but no procedure seems to work.
I've tried the usual do-release-upgrade, and the "hack" posted in another thread, but I always get some errors about restarting bind and syslog services, so upgrade doesn't complete and I always have to recover from backup.
Is there a way to upgrade an existing 8.04 vps to 10.4 that works?
At last, upgrade was succesful!
Here are the steps I've taken:
#first of all, remove the problematic packages:
apt-get remove bind9 bind9-host sysklogd
#then install upgrade manager
apt-get install update-manager-core
#create hack for OpenVZ (thanks to ksb in another thread)
cat << EOF > /etc/init/openvz.conf
description "Fix OpenVZ"
start on startup
mount -t devpts devpts /dev/pts
mount -t tmpfs varrun /var/run
mount -t tmpfs varlock /var/lock
mkdir -p /var/run/network
chmod 664 /var/run/utmp
chown root.utmp /var/run/utmp
if [ "$(find /etc/network/ -name upstart -type f)" ]; then
chmod -x /etc/network/*/upstart || true
initctl emit filesystem --no-wait
initctl emit local-filesystems --no-wait
initctl emit virtual-filesystems --no-wait
exec /etc/init.d/rc 2
# then upgrade!
#after reboot reinstall a kernel logger, but not sysklogd
apt-get install syslog-ng
#I don't need bind, so I've not installed it
All times are GMT. The time now is 08:32 PM.