Upgrade Etch to Lenny

Upgrade Debian 4.0(Etch) to Debian 5.0(Lenny)

Friends now let we see how to upgrade debian 4.0<etch> to debian 5.0 <lenny>

First the conversion is such comlexity….though we have to try..and also we should backup our data..it is possible to damage your system depens upon hardware..so be careful,,

Step—->Take All updates of Etch
so,type the following command in your terminal

# apt-get update
# apt-get upgrade

Step—->Reboot ur system

# reboot

step—–>Update Etch repository

first you have to take backup /etc/apt/sources.list of Etch
Then type the following on your terminal

  • # cp /etc/apt/sources.list /etc/apt/sources.list.etch

Open the sources of etch

  • # vi /etc/apt/sources.list

After that Add the following to ur opened sources.list of etch

# Main

deb http://ftp.iitm.ac.in/debian lenny main contrib non-free
deb-src http://ftp.iitm.ac.in/debian lenny main contrib non-free

# Security

deb http://security.debian.org/ lenny/updates main contrib non-free
deb-src http://security.debian.org/ lenny/updates main contrib non-free

save it as well as close it.For server you shouldn’t follow the above steps

please the behind steps for server system because server updates should be stable released..so that follow behind

# Main

deb http://http.us.debian.org/debian/ stable main non-free contrib

# Source

deb-src http://http.us.debian.org/debian/ stable main non-free contrib

# Security

deb http://security.debian.org/ stable/updates main contrib non-free

Step—> Upgrade Debian from 4.0 to 5.0

For upgrading the core tools of linux ,type the following

# aptitude update
# apt-get install apt aptitude or # aptitude update apt aptitude

the above command has been installed libc6 other library tools for debian


now type in terminal

# aptitude upgrade
# aptitude install <
For upgrading xdm,kdm etc..>

step—>Update Entire distro
By type the following as before
# aptitude dist-upgrade

Step—->Check it out

You have to check whether the updates have successfully installed or not

type as before

# uname -a //For checking the kernal of lenny to etch

The output will be like this:

Linux debian.nixcraft.in 2.6.26-1-amd64 #1 SMP Sun Feb 25 17:57:00 UTC 2009 x86_64 GNU/Linux

Then type the folloewing for verify the debian version

# cat /etc/debian_version

If you have followed the above statements your output will be

5.0 //debian version (lenny)

Then you can verify your system’s logfiles,ports as well as fire wall setting by providing the approprate command….

If you have any doubt from this you can feel free to ask my friend

Advertisements

About Navaneethan

mixed feelings...
This entry was posted in Debian, Free Software and tagged . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s