upgrading through update manager

Asked by joshfan

tried to upgrade through update mang to the 8.04 and it messed my system up so someone on here suggested doing it through the terminal using:

sudo apt-get dist-upgrade

which i did and got this:

david@david-desktop:~$ sudo apt-get dist-upgrade
[sudo] password for david:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
david@david-desktop:~$

does this mean i can not upgrad with out wiping my drive and reinstalling with 8.04 CD i really don't want to if i do not have to.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu update-manager Edit question
Assignee:
No assignee Edit question
Solved by:
bhuvi
Solved:
Last query:
Last reply:
Revision history for this message
Isak Frants (isakfrants) said :
#1
Revision history for this message
Mark McKibben (manzabar) said :
#2

I've never had much luck with the update-manager for doing upgrades. My process tends to be:
1. sudo aptitude update
2. sudo update-manager -d
3. sudo aptitude upgrade
4. sudo aptitude autoclean
5. sudo aptitude dist-upgrade
6. Repeat Step 5 until it says there's nothing left to upgrade.
7. sudo dpkg --configure -a
8. sudo aptitude -s -f install

Note: aptitude is my preferred variant of apt, see the following article as to why I think it's better:
http://www.psychocats.net/ubuntu/aptitude

Revision history for this message
joshfan (dbyrns) said :
#3

OK followed your steps with the aptitude in terminal since the other did not work and it ends up with doing alot of stuff but in the end it ends with:

david@david-desktop:~$ sudo aptitude dist-upgrade
[sudo] password for david:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
david@david-desktop:~$

apperently i guess it thinks it has been upgraded and it has not, so i guess i will just be using 7.10 for a while.

Revision history for this message
Mark McKibben (manzabar) said :
#4

@joshfan: If after all those steps it still doesn't see anything to upgrade, maybe you need to double-check that your /etc/apt/sources.list shows hardy for all repos rather than gusty?

Revision history for this message
joshfan (dbyrns) said :
#5
Revision history for this message
joshfan (dbyrns) said :
#6

ok got a new massage during this, another install it says something about dbus not starting how do i fixs dbus.

Revision history for this message
joshfan (dbyrns) said :
#7

 OK i have one more bit of info it actually ran a distribution upgrade but it said it could only do a partial upgrade so i am total confused, And ready to give, up maybe i should just leave well enough alone and stay with 7.10 for now.

Revision history for this message
Isak Frants (isakfrants) said :
#8

You have Gutsy sources. As Manzabar says, maybe you should change them to Hardy.

gksudo gedit /etc/apt/sources.list

Change all "gutsy" into "hardy".

Revision history for this message
joshfan (dbyrns) said :
#9

Ok i changed the source.list.save and tryed to save it so my changes would stay but a box came up with a red slash saying:

Could not save the file /etc/apt/sources.list.save.

You do not have the permissions necessary to save the file. Please check that you typed the location correctly and try again.

how do i get permitions

Revision history for this message
Best bhuvi (bhuvanesh) said :
#10

you need to be root to modify system files.
alternatively you can use the command sudo which emulates the root account.

open a terminal and type:
sudo nautilus
and give your password,note that your password will not be echoed in screen.
after giving the password a nautilus window will appear browse through the file and modify it using text editor
now you will be able to save the changes.
be careful to backup the files you are modifying

Revision history for this message
joshfan (dbyrns) said :
#11

Thanks bhuvi, that solved my question.