PDA

View Full Version : [SOLVED] I don't understand the upgrade process...



Mariane
June 1st, 2011, 02:07 PM
I just did



sudo apt-get update
sudo apt-get upgrade


and I was told I was up to date. Then up pops the notification saying I have 3 packages to update. Something like 5 seconds later. How can this be possible? Which information should I believe?

Mariane

TBABill
June 1st, 2011, 03:39 PM
Is your update manager set to notify you once per day at a set time? If so, could it be coincidence that you did it manually right before your system was set to advise you that it had updates?

I would always trust your terminal output before an automated tool, assuming you issued commands correctly (and it appears you did).

snowpine
June 1st, 2011, 03:58 PM
What were the 3 packages?

It is possible you need to:


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

"sudo apt-get upgrade" only does a partial upgrade; it will skip any upgrades that require adding or removing a package.

Mariane
June 2nd, 2011, 03:18 PM
They were about core... 2.6.26 or something like that... I don't remember.

I don't know if the reminder is set for any particular time, it must be on default settings because I never changed it.

As for dist-upgrading, I'll wait a few months before doing this.

Mariane

snowpine
June 2nd, 2011, 03:19 PM
They were about core... 2.6.26 or something like that... I don't remember.

I don't know if the reminder is set for any particular time, it must be on default settings because I never changed it.

As for dist-upgrading, I'll wait a few months before doing this.

Mariane

2.6.26 would be the Linux kernel. You need to use "dist-upgrade" to get new kernels. Not sure why you feel the need to wait a few months to get bug fixes and security patches to the most important part of your operating system, but it's your computer after all. :)

Mariane
June 2nd, 2011, 03:22 PM
dist-upgrade might get me Ubuntu 11.04 which is too recent to work properly.

Mariane

snowpine
June 2nd, 2011, 03:24 PM
dist-upgrade might get me Ubuntu 11.04 which is too recent to work properly.

Mariane

No it will not give you 11.04, I promise. You can type "man apt-get" if you don't believe me. Or use the Update Manager if you are unfamiliar with terminal commands. :)

Mariane
June 2nd, 2011, 03:44 PM
I chose to trust you and... You're right! It didn't! It just told me I was up-to-date.

Now I'm really confused. Did this change or was it always like that? And what is the CLI command for getting the next version of Ubuntu, then?

Mariane

snowpine
June 2nd, 2011, 04:01 PM
I chose to trust you and... You're right! It didn't! It just told me I was up-to-date.

Now I'm really confused. Did this change or was it always like that? And what is the CLI command for getting the next version of Ubuntu, then?

Mariane

Always like that as far back as 2008 when I started.

According to http://www.ubuntu.com/download/ubuntu/upgrade the command for a release upgrade is:


sudo do-release-upgrade

Mariane
June 2nd, 2011, 05:15 PM
Thank you very much snowpine.

Mariane