Different kernels on my servers?

Knute Johnson ubuntu at knutejohnson.com
Wed Jun 10 15:28:25 UTC 2015


On 6/10/2015 08:00, andrew clarke wrote:
> On Wed 2015-06-10 07:43:54 UTC-0700, Knute Johnson (ubuntu at knutejohnson.com) wrote:
>
>> So I was getting another server up and running in case my old one died
>> and found they have different kernels.
>>
>> Old: Linux knutejohnson 3.2.0-30-generic #48-Ubuntu SMP Fri Aug 24
>> 16:52:48 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
>>
>> New: Linux knute3 3.16.0-38-generic #52~14.04.1-Ubuntu SMP Fri May 8
>> 09:43:57 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
>>
>> Both are 14.04.2LTS.  The new one had a kernel held back when I did my
>> update and upgrade so I did a dist-upgrade but it was still a 3.16
>> kernel before that.  The old computer was upgraded from an earlier
>> version of server but that shouldn't stop kernel upgrades? Do I have
>> something set somewhere to prevent my old server from upgrading the kernel?
> The 2012 in "Fri Aug 24 16:52:48 UTC 2012" would suggest you're still
> running a kernel from Ubuntu 12.04.
>
> I wonder if you've pinned the kernel? There are different ways you
> could've done that, explained at https://help.ubuntu.com/community/PinningHowto
>
> Among other things, on the old server I'd run:
>
> dpkg -l | grep linux-image
>
> and look in the first column for "hi" instead of "ii". For example my
> local machine has two kernels installed:
>
> ii  linux-image-3.13.0-52-generic               3.13.0-52.86
>                    amd64        Linux kernel image for version 3.13.0
> 		  on 64 bit x86 SMP
> ii  linux-image-3.13.0-53-generic               3.13.0-53.89
>                    amd64        Linux kernel image for version 3.13.0
> 		  on 64 bit x86 SMP
> ii  linux-image-extra-3.13.0-52-generic         3.13.0-52.86
>                    amd64        Linux kernel extra modules for version
> 		  3.13.0 on 64 bit x86 SMP
> ii  linux-image-extra-3.13.0-53-generic         3.13.0-53.89
>                    amd64        Linux kernel extra modules for version
> 		  3.13.0 on 64 bit x86 SMP
> ii  linux-image-generic                         3.13.0.53.60
>                    amd64        Generic Linux kernel image

knute at knutejohnson:/boot$ dpkg -l | grep linux-image
ii  linux-image-3.2.0-30-generic    3.2.0-30.48 amd64        Linux 
kernel image for version 3.2.0 on 64 bit x86 SMP

I've had this server running for a long time.  I'll check the link you 
gave me.

Thanks,

knute




More information about the ubuntu-users mailing list