» tagged pages
» logout

sorted by: recent | see : popular
Content Tagged with upgrde + to

How to Upgrade Ubuntu Server from Feisty (7.04) to Hardy (8.04)

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)

sudo cp -R /etc/mailscanner /etc/mailscanner_backup


sudo apt-get remove --purge mailscanner

(if removing results same error, around 124 line (do_stop function) add 'exit 0')

wget http://http.us.debian.org/debian/pool/main/m/mailscanner/mailscanner_4.68.8-1_all.deb
sudo dpkg -i mailscanner_4.68.8-1_all.deb

and

nano /etc/default/mailscanner

# Uncomment this line once MailScanner has been fully configured.
#
run_mailscanner=1

save and exit..

replace your backup mailscanner folder (/etc/mailscanner)

sudo cp -R /etc/mailscanner_backup /etc/mailscanner

/etc/init.d/mailscanner start

Ubuntu: OnlyUbuntu Tutorials

How to Upgrade Ubuntu Server from Feisty (7.04) to Hardy (8.04)

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)

sudo cp -R /etc/mailscanner /etc/mailscanner_backup


sudo apt-get remove --purge mailscanner

(if removing results same error, around 124 line (do_stop function) add 'exit 0')

wget http://http.us.debian.org/debian/pool/main/m/mailscanner/mailscanner_4.68.8-1_all.deb
sudo dpkg -i mailscanner_4.68.8-1_all.deb

and

nano /etc/default/mailscanner

# Uncomment this line once MailScanner has been fully configured.
#
run_mailscanner=1

save and exit..

replace your backup mailscanner folder (/etc/mailscanner)

sudo cp -R /etc/mailscanner_backup /etc/mailscanner

/etc/init.d/mailscanner start

Ubuntu: Only Ubuntu

Upgrade Ubuntu 6.10 (Edgy Eft) to Ubuntu 7.04 (Feisty Fawn)

Ubuntu 7.04 is the current Stable version of the Ubuntu operating system. The common name given to this release from the time of its early development was “Feisty Fawn”.


We can Use Two methods to upgrade Ubuntu Edgy to Ubuntu Feisty

1) Using GUI

2) Using apt-get

Upgrading Ubuntu Edgy to Ubuntu Feisty

Method 1 - Using GUI

If you want to upgrade using GUI use the following command

gksu “update-manager -c ”

“-c” switch tells it to look for upgrades at all.

You should see the following screen here Now you can see 7.04 is available for upgrade click on upgrade


Now you should see the release notes as follows here you need to click on upgrade


Once you click on upgrade you might get the error "Authentication failed"


You need to fix the above error for this open the terminal and type the "gpg" and press enter once you see the following message

gpg:Go ahead and type your message ...

Press Ctrl+C and then start the install process again.

Now you should see the following screen downloading upgrade tool


You need to enter root password and click ok


Preparing the upgrade in progress


You need to confirm the upgrade process by clicking "Start Upgrade"


Download in progress for all the required packages for Upgrade


Installation in progress


If you click on Terminal to see detailed installation in progress


Cleaning Up is in Progress


You need to restart the system to complete the Upgrade by clicking "Restart Now"

Method 2 - Using apt-get

Edit your /etc/apt/sources.list as root. Change every occurrence of edgy to feisty.

Use any prefered editor. If you have a CD-ROM line in your file, then remove it.

sudo vi /etc/apt/sources.list

or

use the following Simple command

sudo sed -e ’s/\edgy/ feisty/g’ -i /etc/apt/sources.list

Now you need to update the source list using the following command

sudo apt-get update

Upgrade using the following command

sudo apt-get dist-upgrade

Double check your process was finished properly using the following commd

sudo apt-get -f install

sudo dpkg --configure -a

Now you need to Reboot your machine to take your new ubuntu 7.04 installation to effect all changes.

Testing Your Upgrade

You can check the ubuntu version installed using the following command

sudo lsb_release -a

Output Looks like below

Distributor ID: Ubuntu
Description: Ubuntu feisty (development branch)
Release: 7.04
Codename: feisty

or

Just type the following command in your terminal

cat /etc/issue

Output Lokks like below

Ubuntu feisty (development branch) \n \l

Ubuntu: Only Ubuntu