Mainline Kernel since 4.16.4 has postinstall script error

Bug #1768121 reported by Heidi H0
38
This bug affects 7 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Hello,

I don't know who does the packaging for the Mainline Kernel(http://kernel.ubuntu.com/~kernel-ppa/mainline/), but it has been erroring out in packaging and also for the packages in x64/32 that have made it, there are post install script errors within the packaging which disallow installation of the kernel. Tested on Ubuntu 16.04.

Selecting previously unselected package linux-headers-4.16.6-041606.
(Reading database ... 392264 files and directories currently installed.)
Preparing to unpack linux-headers-4.16.6-041606_4.16.6-041606.201804300418_all.deb ...
Unpacking linux-headers-4.16.6-041606 (4.16.6-041606.201804300418) ...
Selecting previously unselected package linux-headers-4.16.6-041606-generic.
Preparing to unpack linux-headers-4.16.6-041606-generic_4.16.6-041606.201804300418_amd64.deb ...
Unpacking linux-headers-4.16.6-041606-generic (4.16.6-041606.201804300418) ...
Selecting previously unselected package linux-image-unsigned-4.16.6-041606-generic.
Preparing to unpack linux-image-unsigned-4.16.6-041606-generic_4.16.6-041606.201804300418_amd64.deb ...
Unpacking linux-image-unsigned-4.16.6-041606-generic (4.16.6-041606.201804300418) ...
Selecting previously unselected package linux-modules-4.16.6-041606-generic.
Preparing to unpack linux-modules-4.16.6-041606-generic_4.16.6-041606.201804300418_amd64.deb ...
Unpacking linux-modules-4.16.6-041606-generic (4.16.6-041606.201804300418) ...
Setting up linux-headers-4.16.6-041606 (4.16.6-041606.201804300418) ...
dpkg: dependency problems prevent configuration of linux-headers-4.16.6-041606-generic:
 linux-headers-4.16.6-041606-generic depends on libssl1.1 (>= 1.1.0); however:
  Package libssl1.1 is not installed.

dpkg: error processing package linux-headers-4.16.6-041606-generic (--install):
 dependency problems - leaving unconfigured
Setting up linux-modules-4.16.6-041606-generic (4.16.6-041606.201804300418) ...
Setting up linux-image-unsigned-4.16.6-041606-generic (4.16.6-041606.201804300418) ...
/var/lib/dpkg/info/linux-image-unsigned-4.16.6-041606-generic.postinst: 50: /var/lib/dpkg/info/linux-image-unsigned-4.16.6-041606-generic.postinst: linux-update-symlinks: not found
dpkg: error processing package linux-image-unsigned-4.16.6-041606-generic (--install):
 subprocess installed post-installation script returned error exit status 127
Errors were encountered while processing:
 linux-headers-4.16.6-041606-generic
 linux-image-unsigned-4.16.6-041606-generic

What's new in 4.16.6 is the libssl1.1 dependency, as it just errored out with a half installed kernel and that post-installation script error you see above. Please let whoever packages these kernels know that is't been dead stick post 4.16.3. Thanks.

HH

Tags: mainline
Revision history for this message
Karl Schindler (k-schindler) wrote :

same problem here with 16.4,5,6 16.3 installed fine

Revision history for this message
Luis Marquez (prosercousa) wrote :

same issue here

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Doug Smythies (dsmythies) wrote :

Part of this bug report is a duplicate with bug 1766728, and I believe that was fixed as of a couple of hours ago. The other part of this bug report, about needing libssl1.1, isn't fixed, as far as I know.

Revision history for this message
Russ Burghorn (alienwar) wrote :

this same issue installing every kernel above v4.16.3 (which works) I was forced to reinstall ubuntu on restart during the v4.16.6 all was lost and unrecoverable.

Revision history for this message
Pasi Tarhonen (pasi-tarhonen) wrote :

This is fixed partly in the the bug https://bugs.launchpad.net/bugs/1766728 by updating Xenial package linux-base to include linux-update-symlinks binary. No fix for Trusty available so far, but the Xenial fix seems to working also with Trusty by updating linux-base to version 4.5.

Other error with libssl1.1 can be workaround at least by installing PPA ppa:ondrej/nginx-mainline. That package contains among the nginx binaries also newer version of OpenSSL package (that seems to be) required by linux-4.16.4 onwards.

I used both workarounds with my Trusty box and got linux-4.16.7 installed OK, so far so good...

Revision history for this message
Heidi H0 (heidih0) wrote : Re: [Bug 1768121] Re: Mainline Kernel since 4.16.4 has postinstall script error
Download full text (4.0 KiB)

Thanks for the heads up on the libssl issue. Much appreciated. It's just sad that this is where we are with the mainline kernel.
Take care.

HH

09.05.2018, 06:50, "Pasi Tarhonen" <email address hidden>:
> This is fixed partly in the the bug
> https://bugs.launchpad.net/bugs/1766728 by updating Xenial package
> linux-base to include linux-update-symlinks binary. No fix for Trusty
> available so far, but the Xenial fix seems to working also with Trusty
> by updating linux-base to version 4.5.
>
> Other error with libssl1.1 can be workaround at least by installing PPA
> ppa:ondrej/nginx-mainline. That package contains among the nginx
> binaries also newer version of OpenSSL package (that seems to be)
> required by linux-4.16.4 onwards.
>
> I used both workarounds with my Trusty box and got linux-4.16.7
> installed OK, so far so good...
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1768121
>
> Title:
>   Mainline Kernel since 4.16.4 has postinstall script error
>
> Status in linux package in Ubuntu:
>   Confirmed
>
> Bug description:
>   Hello,
>
>   I don't know who does the packaging for the Mainline
>   Kernel(http://kernel.ubuntu.com/~kernel-ppa/mainline/), but it has
>   been erroring out in packaging and also for the packages in x64/32
>   that have made it, there are post install script errors within the
>   packaging which disallow installation of the kernel. Tested on Ubuntu
>   16.04.
>
>   Selecting previously unselected package linux-headers-4.16.6-041606.
>   (Reading database ... 392264 files and directories currently installed.)
>   Preparing to unpack linux-headers-4.16.6-041606_4.16.6-041606.201804300418_all.deb ...
>   Unpacking linux-headers-4.16.6-041606 (4.16.6-041606.201804300418) ...
>   Selecting previously unselected package linux-headers-4.16.6-041606-generic.
>   Preparing to unpack linux-headers-4.16.6-041606-generic_4.16.6-041606.201804300418_amd64.deb ...
>   Unpacking linux-headers-4.16.6-041606-generic (4.16.6-041606.201804300418) ...
>   Selecting previously unselected package linux-image-unsigned-4.16.6-041606-generic.
>   Preparing to unpack linux-image-unsigned-4.16.6-041606-generic_4.16.6-041606.201804300418_amd64.deb ...
>   Unpacking linux-image-unsigned-4.16.6-041606-generic (4.16.6-041606.201804300418) ...
>   Selecting previously unselected package linux-modules-4.16.6-041606-generic.
>   Preparing to unpack linux-modules-4.16.6-041606-generic_4.16.6-041606.201804300418_amd64.deb ...
>   Unpacking linux-modules-4.16.6-041606-generic (4.16.6-041606.201804300418) ...
>   Setting up linux-headers-4.16.6-041606 (4.16.6-041606.201804300418) ...
>   dpkg: dependency problems prevent configuration of linux-headers-4.16.6-041606-generic:
>    linux-headers-4.16.6-041606-generic depends on libssl1.1 (>= 1.1.0); however:
>     Package libssl1.1 is not installed.
>
>   dpkg: error processing package linux-headers-4.16.6-041606-generic (--install):
>    dependency problems - leaving unconfigured
>   Setting up linux-modules-4.16.6-041606-generic (4.16.6-041606.201804300418) ...
>   Setting up linux-image-unsigned-4.16.6-041606-ge...

Read more...

Revision history for this message
kostas (kiprisliss) wrote :

Hi guys.! I'm running linux mint 18.3 based on xenial and I managed to install the latest mainline kernel 4.17 using UKTool.. Just follow this steps (UKtool installation) and the programm will do the job for you automatically.. Good luck.!! https://www.2daygeek.com/uktools-easy-way-to-install-latest-stable-linux-kernel-on-ubuntu-mint-and-derivatives/#..

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.