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

Steve yorvik.ubunto at googlemail.com
Fri Apr 27 19:53:19 UTC 2012


On Fri, 27 Apr 2012 22:16:44 +0400
"Ali Linx (amjjawad)" <amjjawad at gmail.com> wrote:

> 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.
> >
This question turns up every few months. Basically upgrade will not add or remove packages, dist-upgrade will.

-- 
Steve <yorvik.ubunto at googlemail.com>



More information about the Lubuntu-users mailing list