Upgrade to 15.10

Asked by John MacMenigall

Just upgraded form 15.04 to 15.10, the upgrade apparently ran smoothly but the kernel in use is still 3.19 & 4.2 is not loading - command 'dpkg -l|grep linux-image|awk {'print $2'}' gives the response :-

linux-image-3.19.0-30-generic
linux-image-3.19.0-32-generic
linux-image-4.2.0-17-generic
linux-image-extra-3.19.0-30-generic
linux-image-extra-3.19.0-32-generic
linux-image-extra-4.2.0-17-generic
fred@fred-System:~$

so the 4.2 kernel is present but not in use.

Also, the Ctrl key doesn't work and Num lock appears to have acquired a mind of its own, switching on & off depending on the program used (Terminal causes it to switch off), Scroll Lock doesn't work at all, not that I've found a use for it!

Please advise.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
Last query:
Last reply:
Revision history for this message
Rusty Shackleford (shackleford071250) said :
#1

Have you run

sudo update-grub

and rebooted?

Revision history for this message
John MacMenigall (fred575) said :
#2

Rustyn
Thanks for this, I ran that command and got:

fred@fred-System:~$ sudo update-grub
[sudo] password for fred:
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-3.19.0-32-generic
Found initrd image: /boot/initrd.img-3.19.0-32-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
Found Microsoft Windows XP Home Edition on /dev/sdb1
done
fred@fred-System:~$

Am about to try the reboot but from the above, it's not looking hopeful . . .

Revision history for this message
John MacMenigall (fred575) said :
#3

Rusty
Having rebooted, it's still showing the kernel as 3.19 and it hasn't improved the behaviour of the Ctrl or Num Lock keys either!
I notice that someone else has mentioned problems with these keys (also the Alt key altho that seems to be working OK on my keyboard), Num Lock has now decided (on its own) that loading the browser turns it off . . .

Revision history for this message
Manfred Hampl (m-hampl) said :
#4

For getting some more information about the status of your system to tackle the kernel installation issue, please provide the output of the following diagnostic commands

uname -a
lsb_release -crid
sudo dpkg --audit
sudo apt-get update
df -h
ls -l /boot

Revision history for this message
John MacMenigall (fred575) said :
#5

Manfred
Many thanks for your response, sorry to have taken so long to reply, commands and the results of those commands are :-

fred@fred-System:~$ uname -a
Linux fred-System 3.19.0-32-generic #37-Ubuntu SMP Wed Oct 21 10:23:06 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
fred@fred-System:~$ lsb_release -crid
Distributor ID: Ubuntu
Description: Ubuntu 15.10
Release: 15.10
Codename: wily
fred@fred-System:~$ sudo dpkg --audit
[sudo] password for fred:
fred@fred-System:~$ sudo apt-get update
Hit http://archive.canonical.com wily InRelease
Hit http://gb.archive.ubuntu.com wily InRelease
Get:1 http://gb.archive.ubuntu.com wily-updates InRelease [64.4 kB]
Hit http://gb.archive.ubuntu.com wily-backports InRelease
Get:2 http://gb.archive.ubuntu.com wily-security InRelease [64.4 kB]
Get:3 http://gb.archive.ubuntu.com wily-proposed InRelease [218 kB]
Hit http://archive.canonical.com wily/partner amd64 Packages
Hit http://archive.canonical.com wily/partner i386 Packages
Hit http://archive.canonical.com wily/partner Translation-en
Hit http://gb.archive.ubuntu.com wily/main Sources
Hit http://gb.archive.ubuntu.com wily/restricted Sources
Hit http://gb.archive.ubuntu.com wily/universe Sources
Hit http://gb.archive.ubuntu.com wily/multiverse Sources
Hit http://gb.archive.ubuntu.com wily/main amd64 Packages
Hit http://gb.archive.ubuntu.com wily/restricted amd64 Packages
Hit http://gb.archive.ubuntu.com wily/universe amd64 Packages
Hit http://gb.archive.ubuntu.com wily/multiverse amd64 Packages
Hit http://gb.archive.ubuntu.com wily/main i386 Packages
Hit http://gb.archive.ubuntu.com wily/restricted i386 Packages
Hit http://gb.archive.ubuntu.com wily/universe i386 Packages
Hit http://gb.archive.ubuntu.com wily/multiverse i386 Packages
Hit http://gb.archive.ubuntu.com wily/main Translation-en_GB
Hit http://gb.archive.ubuntu.com wily/main Translation-en
Hit http://gb.archive.ubuntu.com wily/multiverse Translation-en_GB
Hit http://gb.archive.ubuntu.com wily/multiverse Translation-en
Hit http://gb.archive.ubuntu.com wily/restricted Translation-en_GB
Hit http://gb.archive.ubuntu.com wily/restricted Translation-en
Hit http://gb.archive.ubuntu.com wily/universe Translation-en_GB
Hit http://gb.archive.ubuntu.com wily/universe Translation-en
Get:4 http://gb.archive.ubuntu.com wily-updates/main Sources [2,212 B]
Get:5 http://gb.archive.ubuntu.com wily-updates/restricted Sources [28 B]
Get:6 http://gb.archive.ubuntu.com wily-updates/universe Sources [28 B]
Get:7 http://gb.archive.ubuntu.com wily-updates/multiverse Sources [28 B]
Get:8 http://gb.archive.ubuntu.com wily-updates/main amd64 Packages [3,532 B]
Get:9 http://gb.archive.ubuntu.com wily-updates/restricted amd64 Packages [28 B]
Get:10 http://gb.archive.ubuntu.com wily-updates/universe amd64 Packages [1,465 B]
Get:11 http://gb.archive.ubuntu.com wily-updates/multiverse amd64 Packages [28 B]
Get:12 http://gb.archive.ubuntu.com wily-updates/main i386 Packages [3,522 B]
Get:13 http://gb.archive.ubuntu.com wily-updates/restricted i386 Packages [28 B]
Get:14 http://gb.archive.ubuntu.com wily-updates/universe i386 Packages [1,464 B]
Get:15 http://gb.archive.ubuntu.com wily-updates/multiverse i386 Packages [28 B]
Get:16 http://gb.archive.ubuntu.com wily-updates/main Translation-en [1,701 B]
Get:17 http://gb.archive.ubuntu.com wily-updates/multiverse Translation-en [28 B]
Get:18 http://gb.archive.ubuntu.com wily-updates/restricted Translation-en [28 B]
Get:19 http://gb.archive.ubuntu.com wily-updates/universe Translation-en [1,115 B]
Hit http://gb.archive.ubuntu.com wily-backports/main Sources
Hit http://gb.archive.ubuntu.com wily-backports/restricted Sources
Hit http://gb.archive.ubuntu.com wily-backports/universe Sources
Hit http://gb.archive.ubuntu.com wily-backports/multiverse Sources
Hit http://gb.archive.ubuntu.com wily-backports/main amd64 Packages
Hit http://gb.archive.ubuntu.com wily-backports/restricted amd64 Packages
Hit http://gb.archive.ubuntu.com wily-backports/universe amd64 Packages
Hit http://gb.archive.ubuntu.com wily-backports/multiverse amd64 Packages
Hit http://gb.archive.ubuntu.com wily-backports/main i386 Packages
Hit http://gb.archive.ubuntu.com wily-backports/restricted i386 Packages
Hit http://gb.archive.ubuntu.com wily-backports/universe i386 Packages
Hit http://gb.archive.ubuntu.com wily-backports/multiverse i386 Packages
Hit http://gb.archive.ubuntu.com wily-backports/main Translation-en
Hit http://gb.archive.ubuntu.com wily-backports/multiverse Translation-en
Hit http://gb.archive.ubuntu.com wily-backports/restricted Translation-en
Hit http://gb.archive.ubuntu.com wily-backports/universe Translation-en
Get:20 http://gb.archive.ubuntu.com wily-security/main Sources [1,738 B]
Get:21 http://gb.archive.ubuntu.com wily-security/restricted Sources [28 B]
Get:22 http://gb.archive.ubuntu.com wily-security/universe Sources [28 B]
Get:23 http://gb.archive.ubuntu.com wily-security/multiverse Sources [28 B]
Get:24 http://gb.archive.ubuntu.com wily-security/main amd64 Packages [2,781 B]
Get:25 http://gb.archive.ubuntu.com wily-security/restricted amd64 Packages [28 B]
Get:26 http://gb.archive.ubuntu.com wily-security/universe amd64 Packages [1,138 B]
Get:27 http://gb.archive.ubuntu.com wily-security/multiverse amd64 Packages [28 B]
Get:28 http://gb.archive.ubuntu.com wily-security/main i386 Packages [2,788 B]
Get:29 http://gb.archive.ubuntu.com wily-security/restricted i386 Packages [28 B]
Get:30 http://gb.archive.ubuntu.com wily-security/universe i386 Packages [1,139 B]
Get:31 http://gb.archive.ubuntu.com wily-security/multiverse i386 Packages [28 B]
Get:32 http://gb.archive.ubuntu.com wily-security/main Translation-en [1,509 B]
Get:33 http://gb.archive.ubuntu.com wily-security/multiverse Translation-en [28 B]
Get:34 http://gb.archive.ubuntu.com wily-security/restricted Translation-en [28 B]
Get:35 http://gb.archive.ubuntu.com wily-security/universe Translation-en [1,032 B]
Get:36 http://gb.archive.ubuntu.com wily-proposed/multiverse amd64 Packages [28 B]
Get:37 http://gb.archive.ubuntu.com wily-proposed/restricted amd64 Packages [28 B]
Get:38 http://gb.archive.ubuntu.com wily-proposed/main amd64 Packages [8,910 B]
Get:39 http://gb.archive.ubuntu.com wily-proposed/universe amd64 Packages [5,908 B]
Get:40 http://gb.archive.ubuntu.com wily-proposed/multiverse i386 Packages [28 B]
Get:41 http://gb.archive.ubuntu.com wily-proposed/restricted i386 Packages [28 B]
Get:42 http://gb.archive.ubuntu.com wily-proposed/main i386 Packages [8,169 B]
Get:43 http://gb.archive.ubuntu.com wily-proposed/universe i386 Packages [4,584 B]
Get:44 http://gb.archive.ubuntu.com wily-proposed/main Translation-en_GB [96.5 kB]
Get:45 http://gb.archive.ubuntu.com wily-proposed/main Translation-en [5,763 B]
Get:46 http://gb.archive.ubuntu.com wily-proposed/multiverse Translation-en_GB [93.8 kB]
Get:47 http://gb.archive.ubuntu.com wily-proposed/multiverse Translation-en [853 B]
Get:48 http://gb.archive.ubuntu.com wily-proposed/restricted Translation-en_GB [3,479 B]
Get:49 http://gb.archive.ubuntu.com wily-proposed/restricted Translation-en [28 B]
Get:50 http://gb.archive.ubuntu.com wily-proposed/universe Translation-en_GB [9,550 B]
Get:51 http://gb.archive.ubuntu.com wily-proposed/universe Translation-en [3,361 B]
Fetched 615 kB in 5s (103 kB/s)
Reading package lists... Done
fred@fred-System:~$ df -h
Filesystem Size Used Avail Use% Mounted on
udev 1.9G 0 1.9G 0% /dev
tmpfs 396M 6.4M 389M 2% /run
/dev/sdc1 455G 54G 378G 13% /
tmpfs 2.0G 156K 2.0G 1% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 2.0G 0 2.0G 0% /sys/fs/cgroup
cgmfs 100K 0 100K 0% /run/cgmanager/fs
tmpfs 396M 80K 396M 1% /run/user/1000
fred@fred-System:~$ ls -l /boot
total 42096
-rw-r--r-- 1 root root 1271689 Oct 21 12:54 abi-3.19.0-32-generic
-rw-r--r-- 1 root root 177782 Oct 21 12:54 config-3.19.0-32-generic
drwxr-xr-x 5 root root 4096 Oct 24 00:24 grub
-rw-r--r-- 1 root root 30833764 Oct 23 20:07 initrd.img-3.19.0-32-generic
-rw-r--r-- 1 root root 182704 Aug 27 14:04 memtest86+.bin
-rw-r--r-- 1 root root 184380 Aug 27 14:04 memtest86+.elf
-rw-r--r-- 1 root root 184840 Aug 27 14:04 memtest86+_multiboot.bin
-rw------- 1 root root 3622220 Oct 21 12:54 System.map-3.19.0-32-generic
-rw------- 1 root root 6623936 Oct 21 12:54 vmlinuz-3.19.0-32-generic
fred@fred-System:~$
fred@fred-System:~$

I should also mention that this affects my desktop PC, I also have the same problem with my laptop having just 'upgraded' that (apart from the keyboard problem which doesn't seem to affect the laptop), so am wondering if this is a bug?

Revision history for this message
Manfred Hampl (m-hampl) said :
#6

ok, the output confirms that the system shows itself as Ubuntu wily. But there are no traces of a 4.2 kernel in the /boot directory.

Please provide also the output of the following commands:

dpkg -l | grep linux-image
apt-get --simulate dist-upgrade

Revision history for this message
John MacMenigall (fred575) said :
#7

Manfred
Thank you once again for taking the trouble, commands and response as follows:

fred@fred-System:~$ dpkg -l | grep linux-image
rc linux-image-3.19.0-30-generic 3.19.0-30.34 amd64 Linux kernel image for version 3.19.0 on 64 bit x86 SMP
ii linux-image-3.19.0-32-generic 3.19.0-32.37 amd64 Linux kernel image for version 3.19.0 on 64 bit x86 SMP
rc linux-image-4.2.0-17-generic 4.2.0-17.20 amd64 Linux kernel image for version 4.2.0 on 64 bit x86 SMP
rc linux-image-extra-3.19.0-30-generic 3.19.0-30.34 amd64 Linux kernel extra modules for version 3.19.0 on 64 bit x86 SMP
ii linux-image-extra-3.19.0-32-generic 3.19.0-32.37 amd64 Linux kernel extra modules for version 3.19.0 on 64 bit x86 SMP
rc linux-image-extra-4.2.0-17-generic 4.2.0-17.20 amd64 Linux kernel extra modules for version 4.2.0 on 64 bit x86 SMP
fred@fred-System:~$ apt-get --simulate dist-upgrade
NOTE: This is only a simulation!
      apt-get needs root privileges for real execution.
      Keep also in mind that locking is deactivated,
      so don't depend on the relevance to the real current situation!
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
fred@fred-System:~$

Revision history for this message
Manfred Hampl (m-hampl) said :
#8

Interesting: The code "rc" for the 4.2 kernel packages indicates that these packages were installed, but later removed, leaving just some configuration files behind.

Is this a desktop system or a server?

What is the output of the commands

dpkg -l | grep -i -e '-desktop '
dpkg -l | grep -i -e '-generic'
apt-get --simulate install linux-generic

Revision history for this message
John MacMenigall (fred575) said :
#9

Manfred

It's a desktop system (don't have much use for a server . . .)

Output as follows:

fred@fred-System:~$ dpkg -l | grep -i -e '-desktop '
ii libunity-scopes-json-def-desktop 7.1.4+15.10.20151002-0ubuntu1 all binding to get places into the launcher - desktop def file
ii ubuntu-desktop 1.341 amd64 The Ubuntu desktop system
fred@fred-System:~$ dpkg -l | grep -i -e '-generic'
ii libaccount-plugin-generic-oauth 0.12+15.10.20150723-0ubuntu1 amd64 GNOME Control Center account plugin for single signon - generic OAuth
rc linux-image-3.19.0-30-generic 3.19.0-30.34 amd64 Linux kernel image for version 3.19.0 on 64 bit x86 SMP
ii linux-image-3.19.0-32-generic 3.19.0-32.37 amd64 Linux kernel image for version 3.19.0 on 64 bit x86 SMP
rc linux-image-4.2.0-17-generic 4.2.0-17.20 amd64 Linux kernel image for version 4.2.0 on 64 bit x86 SMP
rc linux-image-extra-3.19.0-30-generic 3.19.0-30.34 amd64 Linux kernel extra modules for version 3.19.0 on 64 bit x86 SMP
ii linux-image-extra-3.19.0-32-generic 3.19.0-32.37 amd64 Linux kernel extra modules for version 3.19.0 on 64 bit x86 SMP
rc linux-image-extra-4.2.0-17-generic 4.2.0-17.20 amd64 Linux kernel extra modules for version 4.2.0 on 64 bit x86 SMP
ii plainbox-provider-resource-generic 0.19-2 amd64 CheckBox generic resource jobs provider
fred@fred-System:~$ apt-get --simulate install linux-generic
NOTE: This is only a simulation!
      apt-get needs root privileges for real execution.
      Keep also in mind that locking is deactivated,
      so don't depend on the relevance to the real current situation!
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  linux-headers-4.2.0-17 linux-headers-4.2.0-17-generic linux-headers-generic
  linux-image-4.2.0-17-generic linux-image-extra-4.2.0-17-generic
  linux-image-generic thermald
Suggested packages:
  fdutils linux-doc-4.2.0 linux-source-4.2.0 linux-tools
The following NEW packages will be installed
  linux-generic linux-headers-4.2.0-17 linux-headers-4.2.0-17-generic
  linux-headers-generic linux-image-4.2.0-17-generic
  linux-image-extra-4.2.0-17-generic linux-image-generic thermald
0 to upgrade, 8 to newly install, 0 to remove and 1 not to upgrade.
Inst linux-image-4.2.0-17-generic (4.2.0-17.21 Ubuntu:15.10/wily-proposed [amd64])
Inst linux-image-extra-4.2.0-17-generic (4.2.0-17.21 Ubuntu:15.10/wily-proposed [amd64])
Inst linux-image-generic (4.2.0.17.19 Ubuntu:15.10/wily-proposed [amd64])
Inst linux-headers-4.2.0-17 (4.2.0-17.21 Ubuntu:15.10/wily-proposed [all])
Inst linux-headers-4.2.0-17-generic (4.2.0-17.21 Ubuntu:15.10/wily-proposed [amd64])
Inst linux-headers-generic (4.2.0.17.19 Ubuntu:15.10/wily-proposed [amd64])
Inst linux-generic (4.2.0.17.19 Ubuntu:15.10/wily-proposed [amd64])
Inst thermald (1.4.3-5 Ubuntu:15.10/wily [amd64])
Conf linux-image-4.2.0-17-generic (4.2.0-17.21 Ubuntu:15.10/wily-proposed [amd64])
Conf linux-image-extra-4.2.0-17-generic (4.2.0-17.21 Ubuntu:15.10/wily-proposed [amd64])
Conf linux-image-generic (4.2.0.17.19 Ubuntu:15.10/wily-proposed [amd64])
Conf linux-headers-4.2.0-17 (4.2.0-17.21 Ubuntu:15.10/wily-proposed [all])
Conf linux-headers-4.2.0-17-generic (4.2.0-17.21 Ubuntu:15.10/wily-proposed [amd64])
Conf linux-headers-generic (4.2.0.17.19 Ubuntu:15.10/wily-proposed [amd64])
Conf linux-generic (4.2.0.17.19 Ubuntu:15.10/wily-proposed [amd64])
Conf thermald (1.4.3-5 Ubuntu:15.10/wily [amd64])
fred@fred-System:~$

Revision history for this message
Manfred Hampl (m-hampl) said :
#10

Ok. Your last output shows that you do not have the meta-packages installed that care for installing the most up-to-date kernel packages.

I recommend that you try:

sudo apt-get install linux-generic

and reboot. This should then boot into a 4.2 kernel.

Remark: before you do this, you might consider removing the -proposed repositories from your sources.list configuration.

Revision history for this message
John MacMenigall (fred575) said :
#11

Manfred
Many thanks once again, that has certainly fixed the kernel problem, 4.2 kernel is now loading OK.
However, the keyboard problem remains (Ctrl key not working consistently in Linux although it does work in Windows). Do you have any ideas as to how to fix?

Revision history for this message
Best Manfred Hampl (m-hampl) said :
#12

Sorry, but for the keyboard problem I do not have a solution.

Some ideas:
Are the keyboard settings correct
Does replacing the keyboard by another one change anything
Can you try the program xev to verify whether pressing and releasing the ctrl key generate events

Revision history for this message
John MacMenigall (fred575) said :
#13

Manfred

I'll try xev to see if that throws any light on the problem but in the meantime, thank you for all your help and I'll mark this as solved.

John M

Revision history for this message
John MacMenigall (fred575) said :
#14

Thanks Manfred Hampl, that solved my question.