Different kernels on my servers?

Robert Heller heller at deepsoft.com
Wed Jun 10 16:39:59 UTC 2015


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.

You could also have done:

cd /boot
dpkg-query -S `pwd`/*generic*

and found which packages (if any) the matching files are from.

> 
> 
> > Anyway, I'm not sure if 14.04.2 would include linux-generic-lts-utopic
> > or the standard linux-generic.
> >
> 
> I didn't install it separately in any case.
> 

-- 
Robert Heller             -- 978-544-6933
Deepwoods Software        -- Custom Software Services
http://www.deepsoft.com/  -- Linux Administration Services
heller at deepsoft.com       -- Webhosting Services
                        




More information about the ubuntu-users mailing list