Different kernels on my servers?
Knute Johnson
ubuntu at knutejohnson.com
Wed Jun 10 17:10:35 UTC 2015
On 6/10/2015 09:39, Robert Heller wrote:
> At Wed, 10 Jun 2015 09:26:13 -0700 "Ubuntu user technical support, not for general discussions" <ubuntu-users at lists.ubuntu.com> wrote:
>
>>
>>
>> On 6/10/2015 09:16, Nils Kassube wrote:
>>> Knute Johnson wrote:
>>>> On 6/10/2015 08:11, Nils Kassube wrote:
>>>>> Knute Johnson wrote:
>>>>>> 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.
>>>>> If you want to use the 3.16 kernel with 14.04, you should install
>>>>> the
>>>>> package "linux-generic-lts-utopic".
>>>> Would my new download of 14.04.2LTS have that package in it? There
>>>> were no kernel upgrades from 2012?
>>> Ah, now I see the problem. Are you sure the old server is running 14.04?
>>> Then there must have been an error during the upgrade from a previous
>>> release because the default kernel for 14.04 was 3.13.0. Do you have the
>>> package linux-generic or linux-server installed on the old machine?
>> Welcome to Ubuntu 14.04.2 LTS (GNU/Linux 3.2.0-30-generic x86_64)
>>
>> Neither it appears and that may be part of the problem. There is a
>> generic kernel in /boot but no package.
>>
>> knute at knutejohnson:/boot$ ls
>> abi-3.2.0-30-generic memtest86+.bin
>> config-3.2.0-30-generic memtest86+.elf
>> grub memtest86+_multiboot.bin
>> initrd.img-3.2.0-30-generic System.map-3.2.0-30-generic
>> lost+found vmlinuz-3.2.0-30-generic
>>
>> knute at knutejohnson:/boot$ dpkg-query -l *generic*
>> dpkg-query: no packages found matching abi-3.2.0-30-generic
>> dpkg-query: no packages found matching config-3.2.0-30-generic
>> dpkg-query: no packages found matching initrd.img-3.2.0-30-generic
>> dpkg-query: no packages found matching System.map-3.2.0-30-generic
>> dpkg-query: no packages found matching vmlinuz-3.2.0-30-generic
> Umm..
>
> Try this:
>
> dpkg-query -l \*generic\*
>
> dpkg-query takes wildcards for package names, not filenames. You need to
> escape the wildcards you pass, because otherwise the *shell* will expand any
> that happen to match files.
Thanks for that!
knute at knutejohnson:~/bin$ dpkg-query -l \*generic\*
Desired=Unknown/Install/Remove/Purge/Hold
|
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-============-============-=================================
ii linux-headers- 3.13.0-53.89 amd64 Linux kernel headers for
version
ii linux-headers- 3.13.0.53.60 amd64 Generic Linux kernel headers
rc linux-image-3. 3.2.0-29.46 amd64 Linux kernel image for
version 3.
ii linux-image-3. 3.2.0-30.48 amd64 Linux kernel image for
version 3.
So I've got newer headers but not kernel.
--
Knute Johnson
More information about the ubuntu-users
mailing list