Pages

Wednesday, February 18, 2009

upgrading from sarge to lenny

One day I thought of taking a bold step and hence I started upgradin my desktop from debian sarge to debian lenny (For some it is the easiest thing to do.. but for some others it is certainly not.. I am in some others category)

in file etc/apt/source.list

deb http://mirrors.kernel.org/debian/ lenny main
deb http://security.debian.org/ lenny/updates main


apt-get upgrade gives error

W: There is no public key available for the following key IDs:
4D270D06F42584E6


apt-get install debian-keyring

apt-get update

again W: There is no public key available for the following key IDs:
4D270D06F42584E6
W: You may want to run apt-get update to correct these problems.

Now I stopped and enquired with Omshivu what to do.. He said it could be ignored. Well ignorance is bliss sometimes. So I moved ahead..

Hm.. my /var directory is full and it says unable to write log .. :| let me clean it up and go for lunch

It is already 4.00 and it says still 3h5m left for downloading and my openoffice is just vanished.



apt-get install aptitude

Oh .. so many libraries installed just for aptitude ..? and several service restarts .. and now ..

apt-get dist-upgrade
...
...
...
1229 packages upgraded, 445 newly installed, 128 to remove and 0 not upgraded.
Need to get 1785MB of archives. After unpacking 1374MB will be used.
...
...
...

Hum.. I could have uninstalled loads of applications. But did not do it. You should be punished for your sins.

It is still showing 3 hours left and now time for me to go home . :(

Next day morning :
I come and see my system is upgraded and ready. But what there is some message which says pidgin was not able to downloaded and written as their is not enough space on device.

I checked the space it looks ok. update-manager was showing 702 updates available. when I started it was hanging.. Hopeless situation.. I called up Shashi my linux guru. some hints by him.

I ran the apt-get dist-upgrade again ..

now it is

1273 upgraded, 493 newly installed, 27 to remove and 0 not upgraded.
Need to get 142MB/1907MB of archives.
After this operation, 1758MB of additional disk space will be used.
Do you want to continue [Y/n]? y

Now the actual replacement of packages started... One by one applications are getting better both features and feelings wise.

It asks lots of files and configurations to be kept back and or to install the maintainters versions. it left to you what you have to keep..

For me it was nice experience to see the upgraded system.. But my openoffice was not upgraded and old installation was removed as well.

I did apt-get install openoffice.org
then for the utility locate apt-get install locate

some not needed libraries.. run apt-get autoremove to free up some space ( be careful chances are that you may lose something you needed)

thats it.. you system is upgraded and runnning .. Now I had the kernel with HIGH MEM support and now it has gone need to recompile kernel for that..

Will do that sometime friday ,,

Till then good bye ..

No comments:

Post a Comment