apt-get upgrade doesn't upgrade the Kernel but dist-upgrade does

Lance lbsolost at yahoo.com
Fri Apr 27 21:21:51 UTC 2012


You can expect me to forget a great deal more in the future. I've been diagnosed with dementia. That said there is no absolute way to know how quickly I'll decline ;^)

Lance

--- On Fri, 4/27/12, Ali Linx (amjjawad) <amjjawad at gmail.com> wrote:

From: Ali Linx (amjjawad) <amjjawad at gmail.com>
Subject: Re: apt-get upgrade doesn't upgrade the Kernel but dist-upgrade does
To: "Lance" <lbsolost at yahoo.com>
Cc: "lubuntu user list" <lubuntu-users at lists.ubuntu.com>
Date: Friday, April 27, 2012, 3:21 PM

You forgot to reply to all, Lance :D

Update Manager, the GUI application/tool, will do these three functions:
1- sudo apt-get update
2- sudo apt-get upgrade
3- sudo apt-get dist-upgrade


I'm NOT talking here about the Update Manager, I'm talking about Terminal Commands that you run to do a specific task. Having that said, from experience, dist-upgrade is the only command that can upgrade my Kernel.


On my Test PC, I upgraded the Kernel form 3.2.0-21-generic >> 3.2.0-24-generic and that has been done via dist-upgrade because apt-get upgrade did NOT upgrade the Kernel :)

I did not say it will upgrade to the latest distro, I said it will upgrade the kernel.


By the way, NOT only Kernels, some packages can't be upgraded unless you run dist-upgrade :)



On Fri, Apr 27, 2012 at 11:11 PM, Lance <lbsolost at yahoo.com> wrote:

I'd think that should not be the case. I've just been using update-manager since Beta 2 (to test it for bugs) and I'm up to 3.2.0-24 w/o ever having to use apt-get dist-upgrade.


That said "dist-upgrade" is generally misunderstood, that is many still believe that it will upgrade to the latest distro but that's hardly true unless one has changed the software sources.

Lance


--- On Fri, 4/27/12, Ali Linx (amjjawad) <amjjawad at gmail.com> wrote:


From: Ali Linx (amjjawad) <amjjawad at gmail.com>
Subject: Re: apt-get upgrade doesn't upgrade the Kernel but dist-upgrade does
To: "Michael Basse" <ubuntu at alpha-unix.de>

Cc: "lubuntu user list" <lubuntu-users at lists.ubuntu.com>
Date: Friday, April 27, 2012,
 1:16 PM

Hi again, Michael and thanks for your reply :)

Yes indeed, I know it's not a bug but we had a discussion (myself and other members) on the Forum and Facebook Group of Lubuntu (https://www.facebook.com/groups/lubuntu.official/) about upgrading a Beta Version to a Stable Version but just doing:


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

I was telling them you also need to do: sudo apt-get dist-upgrade 
in order to get the latest kernel in the repositories.

So, I'm correct about dist-upgrade :)



Thanks!

On Fri, Apr 27, 2012 at 9:12 PM, Michael Basse <ubuntu at alpha-unix.de> wrote:


Hi,

its not a bug its a feature. see also man apt-get



upgrade will only upgrade packages if other packages are not changed

because of that. When doing a kernel-upgrade, the metapackge will pull

in a new package (the kernel). So another package will be changed and

for that there is dist-upgrade.



Kind regards



Michael



Am 27.04.2012 18:45, schrieb Ali Linx (amjjawad):

> Hi,

>

> http://ubuntuforums.org/showpost.php?p=11873556&postcount=227

>

> That Sub-Forum got closed now because 12.04 is released.

> I'd like to continue that discussion over here.

>

> I'm now sitting with 3 machines, my main laptop and two test machines

> (laptop and PC).

> On my Test machines, I'm running Lubuntu 12.04 right now which is upgraded

> from Lubuntu 12.04 Beta2.

>

> I just confirmed and made sure that my note on the above link is true.

> "sudo apt-get upgrade" will never update my Kernel unless I do "sudo

> apt-get dist-upgrade".

>

> I just need one person to confirm that :)

>

> I'm upgrading the Kernel right one on my test PC from 3.2.0-21 to 3.2.0.24

> by using "dist-upgrade".

>

> On my test laptop, I have done that already last night following the same

> approach because, again, apt-get upgrade never upgrade my kernel.

>

>

>

>

>

>






-- 
Best Regards,
amjjawad
Lubuntu Support Team Co-ordinator


Lubuntu Communication Team Administrator
Lubuntu One Stop Thread


My Wiki Page | My Launchpad | My Ubuntu Forum Profile






-----Inline Attachment Follows-----

-- 
Lubuntu-users mailing list
Lubuntu-users at lists.ubuntu.com

Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/lubuntu-users




-- 
Best Regards,
amjjawad
Lubuntu Support Team Co-ordinator

Lubuntu Communication Team Administrator
Lubuntu One Stop Thread

My Wiki Page | My Launchpad | My Ubuntu Forum Profile




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/lubuntu-users/attachments/20120427/216fe6d2/attachment.html>


More information about the Lubuntu-users mailing list