5

Yesterday I upgraded my Ubuntu Desktop from LTS 14.04 to LTS 16.04. I did it via Software Updater.

There were several errors during the upgrade (is there a place where these errors are listed in the system so I can post it here?). The last one of them was at the end, saying that the boot partition was full. Following a post, I deleted a few kernels which I thought were old.

Now when I do uname -r it tells me that the kernel version is 3.13.0-93-generic, but it should be 4.4 something right? Can it be that I deleted the correct kernel by mistake? If yes, how do I fix this?

But the command cat /etc/os-release shows:

NAME="Ubuntu"
VERSION="16.04.1 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04.1 LTS"
VERSION_ID="16.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
UBUNTU_CODENAME=xenial

The system seems to think it is 16.04 but I have a feeling there are many other wrong things, I just don't know how to find these upgrade errors.

Is there an official ubuntu post upgrade script that checks if everything is ok?

I don't know if it adds anything, but two other errors that I remember were that the ubuntu software center did not work after the upgrade, I fixed following a post that said it had something to do with a language setting. The other error was that on boot it showed "Lvmetad is not active yet, using direct activation during sysinit" which I fixed by edditing the GRUB file.

Anyways, I just want to know if my system is ok and what is the meaning of this contradiction between the kernel and the system version (if 16.04 had the wrong kernel would it even boot?)

Thank you very much in advance for any help!!!

Edit: Here is what I have installed (output of dpkg -l | grep linux-image):

linux-image-3.11.0-19-generic                                                               
linux-image-3.11.0-20-generic                                                               
linux-image-3.11.0-22-generic                                                              
linux-image-3.13.0-93-generic                                                              
linux-image-extra-3.11.0-19-generic                                                          
linux-image-extra-3.11.0-20-generic                                                          
linux-image-extra-3.11.0-22-generic                                                       
linux-image-extra-3.13.0-93-generic
2
  • Ok, let's not panic Can you check what kernels are installed with dpkg -l | grep linux-image, and append the output to the question. Aug 21, 2016 at 16:46
  • I added the dpkg -l result to my original post, thanks!
    – linux.girl
    Aug 21, 2016 at 17:45

1 Answer 1

9

This happens sometimes for some reason.

It can be easily fixed in 16.04 by

sudo apt install linux-generic

This will install the correct kernel and the meta package for kernel upgrades.

7
  • If I do that will my system boot correctly? Any way I can check if there are any other errors with the upgrade? Thanks!
    – linux.girl
    Aug 21, 2016 at 17:48
  • The system should boot OK. If it does not you can always boot with an old kernel using grub menu.
    – Pilot6
    Aug 21, 2016 at 17:50
  • How do I boot an old kernel using grub? Old kernels are listed there?
    – linux.girl
    Aug 21, 2016 at 19:13
  • I did sudo apt install linux-generic as you suggested and it worked, but now my vmware workstation wont start. But that is a different problem, I will ask a new question about it. Just to make sure though, is there anything else I need to check on the upgrade other than the kernel? Is there any Ubuntu script that checks that the upgrade is ok, including repositories, etc?
    – linux.girl
    Aug 21, 2016 at 20:09
  • You can run sudo apt update && sudo apt dist-upgrade it should upgrade all packages to the latest ones in Xenial.
    – Pilot6
    Aug 22, 2016 at 7:43

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .