linuxd00
April 26th, 2008, 07:52 AM
There are different ways to upgrade:
supposedly you can run a script(do in root mode!) called cdromupgrade which is in the root of the alternate CD...
but that didnt work for me (the script crashed).
also using synaptic by adding all heron sources to sources.list but for me it just froze when trying to upgrade
and the using update manager but it also just froze when trying to upgrade...
an by command line! i think its the fastest and most simple(you only need to copy & paste 5 commands from this post!). this i will explain
I had the alternate CD and wanted to use it in order to save bandwidth. but the upgrade script just crashed.
So i added the CDrom manually to the sources(NEVER add a cd rom manually by editing sources.list)
First i mounted the ISO using (if you have a burned CDROM disk you can skip this)
sudo mount -o loop /path_to_the_ISO/ubuntu.iso /media/cdrom
then
sudo apt-cdrom add -d /media/cdrom -m
then
sudo apt-get update
sudo apt-get dist-upgrade
The problem was that the command line upgrader then wanted to upgrade but didnt seem to care about the CD... it still wanted to download 800 MB (or maybe it did i was not sure i later realized maybe it did)
so i decided to be sure it would upgrade only from the CD.
edit sources.list
sudo gedit /etc/apt/sources.list
and comment out all sources but the CDrom.(put a # in front)
and re-run update and upgrade commands above
The thing with this was that the upgrader now said it was going to deinstall all of my programs for which it didnt found a new version on the CD...(like 250!)
i should say that i have Xubuntu and Ubuntu installed... so now i think that the upgrader was going to upgrade Ubuntu normally but since the alternate CD was only for Ubuntu it was going to deinstall xubuntu(since it didnt have any packages for Heron Xubuntu on it). maybe if i had only ubuntu everything would have been ok...
Maybe somebody who tries this and doesnt have Xubuntu installed aditionally can tell their experiences?
just do the command and it will tell you how many programs its going to upgrade/deinstall/update... and you can choose to proceed or abort (y/n)
UP TO THIS POINT MY SYSTEM WASNT CHANGED AT ALL!(apart from my sources.list)
ok so i decided to go to uni and do a internet update(30MB bandwidth)... aborted the upgrade .Since nothing is changed it is still safe to do so
then i decommented the online sources and redid the dist-upgrade and pressed yes...
and then one 2 hours later i had heron running! :)
you shouldnt just leave as somewhere in between it will ask you if you want to keep some settings or accept new ones... i just pressed always enter(which selects the recommended settings. i wish i could find a way to do this automatically since i all recommended options worked perfectly)
It feels faster that gutsy on my Thinkpad X31 1,6ghz. :guitar:
Only things i had to fix was to deblacklist my Graphics card so DRI and thus Compiz would work again.
Also my third mouse button is gone.. but i think its only a matter of fixing something small.
Please share your experiences
supposedly you can run a script(do in root mode!) called cdromupgrade which is in the root of the alternate CD...
but that didnt work for me (the script crashed).
also using synaptic by adding all heron sources to sources.list but for me it just froze when trying to upgrade
and the using update manager but it also just froze when trying to upgrade...
an by command line! i think its the fastest and most simple(you only need to copy & paste 5 commands from this post!). this i will explain
I had the alternate CD and wanted to use it in order to save bandwidth. but the upgrade script just crashed.
So i added the CDrom manually to the sources(NEVER add a cd rom manually by editing sources.list)
First i mounted the ISO using (if you have a burned CDROM disk you can skip this)
sudo mount -o loop /path_to_the_ISO/ubuntu.iso /media/cdrom
then
sudo apt-cdrom add -d /media/cdrom -m
then
sudo apt-get update
sudo apt-get dist-upgrade
The problem was that the command line upgrader then wanted to upgrade but didnt seem to care about the CD... it still wanted to download 800 MB (or maybe it did i was not sure i later realized maybe it did)
so i decided to be sure it would upgrade only from the CD.
edit sources.list
sudo gedit /etc/apt/sources.list
and comment out all sources but the CDrom.(put a # in front)
and re-run update and upgrade commands above
The thing with this was that the upgrader now said it was going to deinstall all of my programs for which it didnt found a new version on the CD...(like 250!)
i should say that i have Xubuntu and Ubuntu installed... so now i think that the upgrader was going to upgrade Ubuntu normally but since the alternate CD was only for Ubuntu it was going to deinstall xubuntu(since it didnt have any packages for Heron Xubuntu on it). maybe if i had only ubuntu everything would have been ok...
Maybe somebody who tries this and doesnt have Xubuntu installed aditionally can tell their experiences?
just do the command and it will tell you how many programs its going to upgrade/deinstall/update... and you can choose to proceed or abort (y/n)
UP TO THIS POINT MY SYSTEM WASNT CHANGED AT ALL!(apart from my sources.list)
ok so i decided to go to uni and do a internet update(30MB bandwidth)... aborted the upgrade .Since nothing is changed it is still safe to do so
then i decommented the online sources and redid the dist-upgrade and pressed yes...
and then one 2 hours later i had heron running! :)
you shouldnt just leave as somewhere in between it will ask you if you want to keep some settings or accept new ones... i just pressed always enter(which selects the recommended settings. i wish i could find a way to do this automatically since i all recommended options worked perfectly)
It feels faster that gutsy on my Thinkpad X31 1,6ghz. :guitar:
Only things i had to fix was to deblacklist my Graphics card so DRI and thus Compiz would work again.
Also my third mouse button is gone.. but i think its only a matter of fixing something small.
Please share your experiences