teejee2008 / ukuu

A paid version of Ukuu is now available with more features. https://teejeetech.in/2019/01/20/ukuu-v19-01/ Kernel Update Utility for Ubuntu-based distributions. Provides desktop notifications when new mainline kernel is available. Lists kernels from http://kernel.ubuntu.com/~kernel-ppa/mainline/ with options to install and remove.
https://teejeetech.in/ukuu
GNU Lesser General Public License v3.0
402 stars 157 forks source link

Error when installing --install-latest (=4.16.7) on Ubuntu 18.04 LTS #73

Open wsw70 opened 6 years ago

wsw70 commented 6 years ago
root@srv ~# ukuu --install-latest
ukuu v18.1
Distribution: Ubuntu 18.04 LTS
Architecture: amd64
Running kernel: 4.8.0-040800-generic
Kernel version: 4.8.0-040800-generic
Cache: /root/.cache/ukuu
Temp: /tmp/ukuu/rCve7cAd
----------------------------------------------------------------------
Found installed: 4.7.0-040700.201608021801
Found installed: 4.15.0.20.23
Found installed: 4.4.0-96.119~lp1715609Commitb2504a5dbeReverted
Found installed: 4.8.0-040800.201610022031
Found installed: 4.15.0-20.21
----------------------------------------------------------------------
Latest update: 4.16.7

Install Linux v4.16.7 ? (y/n): y

Downloading: 'linux-image-unsigned-4.16.7-041607-generic_4.16.7-041607.201805021131_amd64.deb'...
aria2c version: 1.33.1
OK

Downloading: 'linux-headers-4.16.7-041607_4.16.7-041607.201805021131_all.deb'...
OK

Downloading: 'linux-headers-4.16.7-041607-generic_4.16.7-041607.201805021131_amd64.deb'...
OK
Preparing to install 'v4.16.7'

Selecting previously unselected package linux-image-unsigned-4.16.7-041607-generic.
(Reading database ... 204405 files and directories currently installed.)
Preparing to unpack linux-image-unsigned-4.16.7-041607-generic_4.16.7-041607.201805021131_amd64.deb ...
Unpacking linux-image-unsigned-4.16.7-041607-generic (4.16.7-041607.201805021131) ...
Selecting previously unselected package linux-headers-4.16.7-041607.
Preparing to unpack linux-headers-4.16.7-041607_4.16.7-041607.201805021131_all.deb ...
Unpacking linux-headers-4.16.7-041607 (4.16.7-041607.201805021131) ...
Selecting previously unselected package linux-headers-4.16.7-041607-generic.
Preparing to unpack linux-headers-4.16.7-041607-generic_4.16.7-041607.201805021131_amd64.deb ...
Unpacking linux-headers-4.16.7-041607-generic (4.16.7-041607.201805021131) ...
dpkg: dependency problems prevent configuration of linux-image-unsigned-4.16.7-041607-generic:
 linux-image-unsigned-4.16.7-041607-generic depends on linux-modules-4.16.7-041607-generic; however:
  Package linux-modules-4.16.7-041607-generic is not installed.

dpkg: error processing package linux-image-unsigned-4.16.7-041607-generic (--install):
 dependency problems - leaving unconfigured
Setting up linux-headers-4.16.7-041607 (4.16.7-041607.201805021131) ...
Setting up linux-headers-4.16.7-041607-generic (4.16.7-041607.201805021131) ...
Errors were encountered while processing:
 linux-image-unsigned-4.16.7-041607-generic

Updating GRUB menu
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.16.7-041607-generic
Found linux image: /boot/vmlinuz-4.15.0-20-generic
Found initrd image: /boot/initrd.img-4.15.0-20-generic
Found linux image: /boot/vmlinuz-4.8.0-040800-generic
Found initrd image: /boot/initrd.img-4.8.0-040800-generic
Found linux image: /boot/vmlinuz-4.7.0-040700-generic
Found initrd image: /boot/initrd.img-4.7.0-040700-generic
Found linux image: /boot/vmlinuz-4.4.0-96-generic
Found initrd image: /boot/initrd.img-4.4.0-96-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
done
E: Installation completed with errors
wsw70 commented 6 years ago

Probably the same issue as https://github.com/teejee2008/ukuu/issues/69

ThoreauHenry commented 6 years ago

The author of Ukuu is in an impossible spot.

The Ubuntu mainline kernel team seems to be run by a bunch of monkeys. First they broke linux-base. Then they segmented off linux-modules into another package. And then they require you to use LibSSL1.1, which NO OS HAS EXCEPT 18.04.

And as of today, all of the Mainline kernels were completely fragged and failed to compile in the first place. We can't expect Ukuu or any other app to be able to keep up with this bullshit. The mainline kernel dev's need to be brought to the wood shed to get this sorted out first. They've basically kneecapped every OS below the 18.04 revision.

https://packages.ubuntu.com/xenial/libssl-dev

https://packages.ubuntu.com/bionic/libssl-dev

http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.16.8/

https://bugs.launchpad.net/ubuntu/+bugs?field.searchtext=linux-base

teejee2008 commented 6 years ago

Temporary fix:

  1. Install libssl1.1
  2. Update package linux-base with sudo apt update && sudo apt install linux-base (make sure xenial-updates is enabled in Software & Updates).
  3. Use Ukuu v18.5.1. It will install linux-modules package while installing kernel.
tester2011 commented 6 years ago

Same issue here... However I'm glad I finally came across this thread, because I've been jumping through hoops trying to get 4.16.x kernels installed on my VBox machines!

I was cursing the VBox devs and also wondered if the latest Ukuu re4lease was to blame :-)

I guess the safe thing is just wait and see if the Ubuntu crew get their collective act together for the next Kernel point-release?

Cheers,

Mike.

konstantinoskip commented 6 years ago

Hi guys.! I'm running linux mint 18.3 based on xenial and i managed to install mainline kernel 4.17.. Just install UKTool by following these steps and the programm will do the job for you.. good luck.!!
https://www.2daygeek.com/uktools-easy-way-to-install-latest-stable-linux-kernel-on-ubuntu-mint-and-derivatives/