PDA

View Full Version : [ubuntu] [SOLVED] Why are my two Ubuntu PCs not updating to same version



MaxMax
June 8th, 2008, 03:26 PM
Hello, I installed 8.04 on my two computers (one desktop and one laptop). When I am notified to upgrade either of them, I do. However, the laptop is always a few digits behind the desktop, and stays that way until the next upgrade cycle. It never catches up to the desktop's latest version. Currently :

Laptop:

Release 8.04 (hardy)
Kernel Linux 2.6.26-16-generic
GNOME 2.22.1

Desktop:

Release 8.04 (hardy)
Kernel Linux 2.6.24-18-generic
GNOME 2.22.2

Is there a reason for that? Is there a way to force the laptop to upgrade to the ACTUAL latest version?

Thanks for any help/info -- Max

tonym
June 8th, 2008, 04:55 PM
Check the /etc/apt/sources.list files on the two machines. Are they the same?

Sef
June 8th, 2008, 04:59 PM
Is there a way to force the laptop to upgrade to the ACTUAL latest version?

Applications > Accessories > Terminal

then type in this code:


sudo apt-get update && sudo apt-get dist-upgrade

MaxMax
June 9th, 2008, 02:27 AM
Thank you Tonym, Thank you Sef,

I compared the two /etc/apt/sources.list files. The one on the laptop had all but one line commented out. Here is an excerpt:


# Line commented out by installer because it failed to verify:

# deb http://security.ubuntu.com/ubuntu gutsy-security main

# Line commented out by installer because it failed to verify:

# deb-src http://security.ubuntu.com/ubuntu gutsy-security main

# Line commented out by installer because it failed to verify:

# deb http://security.ubuntu.com/ubuntu gutsy-security universe

# Line commented out by installer because it failed to verify:

# deb-src http://security.ubuntu.com/ubuntu gutsy-security universe

# Line commented out by installer because it failed to verify:

# deb http://security.ubuntu.com/ubuntu gutsy-security multiverse

# Line commented out by installer because it failed to verify:

deb http://archive.ubuntu.com/ubuntu/ hardy main restricted multiverse universe

# deb-src http://security.ubuntu.com/ubuntu gutsy-security multiverse

So I made a backup copy and then I copied the /etc/apt/sources.list from the desktop.

After a reboot, nothing seemed to change, so I ran the first part of the command suggested by Sef:


sudo apt-get update

I then ran the second part of the command:


sudo apt-get dist-upgrade

It offered to upgrade a bunch of software, which I didn't want to do right away, so I replied no to the prompt.

However, somewhere along the way, one (or all) of those steps fixed the problem, because shortly after, the GNOME update notice appeared and now both Laptop and Desktop are running the same version.

Thanks!