created on 15 May 2008, by Syndication, read more…
This tutorial will explain how to upgrade Ubuntu Server from Feisty to Hardy
Step 1: Feisty to Gusty Upgrade
first be sure your feisty up-to-date
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
if everything ok, ready for upgrade to gusty.
nano /etc/apt/source.list
all change "feisty" to "gutsy"
save and exit (ctrl-x, yes)
sudo apt-get update sudo apt-get dist-upgrade
(one package doesn't upgrade : mailscanner but this step its fix: nano /etc/init.d/mailscanner
around 124 line (do_stop function) add 'exit 0'
do_stop() { exit 0 # Return # 0 if daemon has been stopped # 1 if daemon was already stopped # 2 if daemon could not be stopped # other if a failure occurred start-stop-daemon --stop --retry=TERM/30 --name $NAME RETVAL="$?" [ "$RETVAL" = 2 ] && return 2
# Remove lockfile for cronjobs if [ $RETVAL -eq 0 ]; then rm -f /var/lock/subsys/mailscanner touch $stopped_lockfile fi
}
save and exit.
and re-apply sudo apt-get dist-upgrade
command. its works. there some warning related with mailscanner but not important (for now)
and reboot
my server is gutsy, now.
step 2. Gutsy to Hardy upgrade
nano /etc/apt/source.list
all change "gutsy" to "hardy"
save and exit (ctrl-x, yes)
sudo apt-get update sudo apt-get dist-upgrade
one package doesn't upgrade : mailscanner but no problem
reboot
mailscanner fix:
first backup your mailscanner folder. (/etc/mailscanner)