Upgrade to 15.10
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-
linux-image-
linux-image-
linux-image-
linux-image-
linux-image-
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
|
#1 |
Have you run
sudo update-grub
and rebooted?
Revision history for this message
|
#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-
Found initrd image: /boot/initrd.
Found memtest86+ image: /boot/memtest86
Found memtest86+ image: /boot/memtest86
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
|
#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
|
#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
|
#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://
Hit http://
Get:1 http://
Hit http://
Get:2 http://
Get:3 http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Get:4 http://
Get:5 http://
Get:6 http://
Get:7 http://
Get:8 http://
Get:9 http://
Get:10 http://
Get:11 http://
Get:12 http://
Get:13 http://
Get:14 http://
Get:15 http://
Get:16 http://
Get:17 http://
Get:18 http://
Get:19 http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Get:20 http://
Get:21 http://
Get:22 http://
Get:23 http://
Get:24 http://
Get:25 http://
Get:26 http://
Get:27 http://
Get:28 http://
Get:29 http://
Get:30 http://
Get:31 http://
Get:32 http://
Get:33 http://
Get:34 http://
Get:35 http://
Get:36 http://
Get:37 http://
Get:38 http://
Get:39 http://
Get:40 http://
Get:41 http://
Get:42 http://
Get:43 http://
Get:44 http://
Get:45 http://
Get:46 http://
Get:47 http://
Get:48 http://
Get:49 http://
Get:50 http://
Get:51 http://
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.
-rw-r--r-- 1 root root 177782 Oct 21 12:54 config-
drwxr-xr-x 5 root root 4096 Oct 24 00:24 grub
-rw-r--r-- 1 root root 30833764 Oct 23 20:07 initrd.
-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+
-rw------- 1 root root 3622220 Oct 21 12:54 System.
-rw------- 1 root root 6623936 Oct 21 12:54 vmlinuz-
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
|
#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
|
#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-
ii linux-image-
rc linux-image-
rc linux-image-
ii linux-image-
rc linux-image-
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
|
#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
|
#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-
ii ubuntu-desktop 1.341 amd64 The Ubuntu desktop system
fred@fred-System:~$ dpkg -l | grep -i -e '-generic'
ii libaccount-
rc linux-image-
ii linux-image-
rc linux-image-
rc linux-image-
ii linux-image-
rc linux-image-
ii plainbox-
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-
linux-
linux-
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-
linux-
linux-
0 to upgrade, 8 to newly install, 0 to remove and 1 not to upgrade.
Inst linux-image-
Inst linux-image-
Inst linux-image-generic (4.2.0.17.19 Ubuntu:
Inst linux-headers-
Inst linux-headers-
Inst linux-headers-
Inst linux-generic (4.2.0.17.19 Ubuntu:
Inst thermald (1.4.3-5 Ubuntu:15.10/wily [amd64])
Conf linux-image-
Conf linux-image-
Conf linux-image-generic (4.2.0.17.19 Ubuntu:
Conf linux-headers-
Conf linux-headers-
Conf linux-headers-
Conf linux-generic (4.2.0.17.19 Ubuntu:
Conf thermald (1.4.3-5 Ubuntu:15.10/wily [amd64])
fred@fred-System:~$
Revision history for this message
|
#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
|
#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
|
#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
|
#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
|
#14 |
Thanks Manfred Hampl, that solved my question.