TekTonic - Community Forums
Get Support
Live Chat
Community Forum
The talkative Tektonic member community

Go Back   TekTonic - VPS Hosting - Community Forums > Distributions > Ubuntu

Reply
 
Thread Tools Display Modes
  #1  
Old 02-03-2011, 09:31 AM
fchimeno fchimeno is offline
Junior Member
 
Join Date: May 2007
Posts: 9
Default Is there a way to upgrade from 8.04 to 10.4 that works?

Hi!

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?

Thanks!

Fernando
Reply With Quote
  #2  
Old 02-03-2011, 08:30 PM
fchimeno fchimeno is offline
Junior Member
 
Join Date: May 2007
Posts: 9
Default 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)
mkdir /etc/init/
cat << EOF > /etc/init/openvz.conf
description "Fix OpenVZ"
start on startup
task
pre-start script
mount -t devpts devpts /dev/pts
mount -t tmpfs varrun /var/run
mount -t tmpfs varlock /var/lock
mkdir -p /var/run/network
touch /var/run/utmp
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
fi
end script
script
start networking
initctl emit filesystem --no-wait
initctl emit local-filesystems --no-wait
initctl emit virtual-filesystems --no-wait
init 2
exec /etc/init.d/rc 2
end script
EOF

# then upgrade!
do-release-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
Reply With Quote
  #3  
Old 02-04-2011, 01:28 AM
matta matta is offline
TekTonic Principal
 
Join Date: Aug 2006
Posts: 879
Default

Glad to see you got it!
__________________
Matt Ayres
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:27 AM.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.