Open CyberManifest opened 6 years ago
@CyberManifest this is not a bug - they have actually changed the way they are distributing the mainline kernel so almost all advice on the internet is slightly wrong at the moment!
Firstly, to install properly you need the upcoming, but not released linux-base_4.5ubuntu1~16.04.1_all.deb
from https://launchpad.net/ubuntu/+source/linux-base
You then need to also install the correct modules from here: http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.16.5/
Most likely you need:
linux-headers-4.16.5-041605_4.16.5-041605.201804260630_all.deb linux-headers-4.16.5-041605-generic_4.16.5-041605.201804260630_amd64.deb linux-modules-4.16.5-041605-generic_4.16.5-041605.201804260630_amd64.deb and maybe also linux-image-unsigned-4.16.5-041605-generic_4.16.5-041605.201804260630_amd64.deb
For more context on this bug (from a Ubuntu standpoint)
https://bugs.launchpad.net/ubuntu/+source/linux-base/+bug/1766851
After doing the above I have install success. Ukuu will need to be patched to handle the new kernels!
Basically, at this time, ukuu only handles up to kernel 4.14.35, 4.15.18, 4.16.3. It can't handle any kernels built after 2018-04-19.
For one or two days after that it was good enough to just manually dpkg -i *.deb the old way, and the only difference was you had to include the new kernel-modules package that ukuu doesn't know about yet.
But now one of the packages also needs a new libssl1.1 which is not present on ubuntu 17.10 or lower. This is true even for the latest builds of 4.14, let alone 4.16 or 4.17-rc. So you can't even manually install now.
After dist-upgrade to bionic (18.04), I can install (manually, not ukuu) the current kernel packages.
There's nothing ukuu can really do by itself, since ukuu can't provide that libssl package, nor does the kernel mainline ppa provide it alongside the kernels that need it. So the mainline ppa essentially broke all the kernel packages for everyone who isn't running bionic. Everyone else can enjoy 4.16.3
What ukuu could and should do is, just know about the new kernel-modules package and try to install it. That's all it has to do is know a magic date where before this date, use the old rules, after this date, use the new rules.
If that succeeds, or if it fails because of some dependency, is not something ukuu can predict, and shouldn't care about. On an old system it will fail, and on a new system it will work, let ukuu merely relay the result, and maybe fail & roll back the whole job if any package fails, rather than installing only a kernel without the matching modules, for those versions which have a kernel-modules package.
Right now what happens is, if you use ukuu to install 4.16.4, it actually sucessfully installs, but then you are left with an unrunnable system when you reboot, because it didn't install any modules.
Eventually, ukuu should not show kernels that are incompatible with the system. It should be quite easy to check for the system version and show kernels accordingly or eventually even offer libssl or the module package as a dependency.
The following works for me on ubuntu & mint for all kernels post 4.16.4:
1) Install linux-base_4.5ubuntu1_all.deb - http://mirrors.kernel.org/ubuntu/pool/main/l/linux-base/linux-base_4.5ubuntu1_all.deb
2) Install libssl1.1_1.1.0g-2ubuntu4_amd64.deb - http://mirrors.kernel.org/ubuntu/pool/main/o/openssl/libssl1.1_1.1.0g-2ubuntu4_amd64.deb
3) Install all four amd64 kernel packages from the mainline kernel directory - http://kernel.ubuntu.com/~kernel-ppa/mainline/
I think ukuu shouldn't go so far as to actually install these other packages. It's job is to install kernel packages, not upgrade my OS.
But this is good reference so people know what to do if they want to.
On Thu, May 3, 2018, 1:37 PM tenet55 notifications@github.com wrote:
The following works for me on ubuntu & mint for all kernels post 4.16.4:
1.
Install linux-base_4.5ubuntu1_all.deb - http://mirrors.kernel.org/ubuntu/pool/main/l/linux-base/linux-base_4.5ubuntu1_all.deb 2.
Install libssl1.1_1.1.0g-2ubuntu4_amd64.deb - http://mirrors.kernel.org/ubuntu/pool/main/o/openssl/libssl1.1_1.1.0g-2ubuntu4_amd64.deb 3.
Install all four amd64 kernel packages from the mainline kernel directory - http://kernel.ubuntu.com/~kernel-ppa/mainline/
linux-headers-4.16.7-041607_4.16.7-041607.201805021131_all.deb
linux-headers-4.16.7-041607-generic_4.16.7-041607.201805021131_amd64.deb
linux-image-unsigned-4.16.7-041607-generic_4.16.7-041607.201805021131_amd64.deb
linux-modules-4.16.7-041607-generic_4.16.7-041607.201805021131_amd64.deb
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/teejee2008/ukuu/issues/72#issuecomment-386376255, or mute the thread https://github.com/notifications/unsubscribe-auth/AAbzkBOQ7qsXMsQKNdedoFGhgHvstkmMks5tu0BHgaJpZM4Tm6sb .
Eventually, ukuu should not show kernels that are incompatible with the system. It should be quite easy to check for the system version and show kernels accordingly or eventually even offer libssl or the module package as a dependency. I think ukuu shouldn't go so far as to actually install these other packages. It's job is to install kernel packages, not upgrade my OS.
Agree with both. Maybe have ukuu can add an extra step:
@tenet55 on which version of ubuntu and mint are you, respectively?
@gothicVI - Mint 18.3, Ubuntu 16.04.4 (both are Xenial based).
@tenet55
Thank you. I'm trying it now, on Mint 18.3 Cinnamon. I found that to get the 'image' file to install, I had to install the 'modules' file first. I note also that the instructions to gave are not to allow ukuu to install the kernel, but, rather, to install the kernel directly.
EDIT: it worked!
Somehow Kernels > 4.16.3 can be installed and run fine but don't show in the Kernel window of Mint's update manager (running Mint 18.3). Anyone else with that issue? @tenet55, how about you?
Getting dependency issues. https://imgur.com/SFeoAe2
No Google Search results. https://imgur.com/J59QLSh
P.S. Please implement Copy/Paste features, to make troubleshooting easier. P.P.S. Please implement a kernel bug submission reporting feature to make feedback to suppliers and developers easier. I.E. A big button to report issues/errors/ failed boots.