[Bug 1789313] [NEW] upgrade from 16.04.5 LTS to 18.04.1 LTS failed due to kernel signing issues and grub

Braden McGrath braden at big-geek.net
Mon Aug 27 23:20:39 UTC 2018


Public bug reported:

No further information beyond what is (hopefully?) auto attached to this
bug report via an upload from the failed system (no web browser on it so
I couldn't edit the bug report from that machine).

The strange part is that there are only 3 kernels installed on the
machine, and the 2 existing prior to trying to do-release-upgrade *are*
both SIGNED.


-rw------- 1 root root 8265464 Aug 15 08:57 /boot/vmlinuz-4.15.0-33-generic
-rw------- 1 root root 7159744 Aug 10 07:20 /boot/vmlinuz-4.4.0-133-generic
-rw------- 1 root root 7161656 Aug 16 06:04 /boot/vmlinuz-4.4.0-133-generic.efi.signed
-rw------- 1 root root 7161824 Aug 15 13:48 /boot/vmlinuz-4.4.0-134-generic
-rw------- 1 root root 7163736 Aug 24 06:06 /boot/vmlinuz-4.4.0-134-generic.efi.signed


It's a Hyper-V VM, I had just done an apt update && apt upgrade && reboot to the machine prior to attempting the do-release-upgrade.

Original release: 16.04.5 LTS
Release-Upgrading to 18.04.1 LTS

ProblemType: Package
DistroRelease: Ubuntu 18.04
Package: grub-efi-amd64 2.02-2ubuntu8.3
ProcVersionSignature: Ubuntu 4.4.0-134.160-generic 4.4.140
Uname: Linux 4.4.0-134-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.2
Architecture: amd64
Date: Mon Aug 27 18:52:31 2018
ErrorMessage: installed grub-efi-amd64 package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2016-05-12 (836 days ago)
InstallationMedia: Ubuntu-Server 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.3)
InvalidGrubScript: /etc/grub.d/25_custom
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-134-generic.efi.signed root=UUID=9c2c3603-e202-4054-bfa2-0d3b2ab1e307 ro
Python3Details: /usr/bin/python3.6, Python 3.6.5, python3-minimal, 3.6.5-3ubuntu1
PythonDetails: /usr/bin/python2.7, Python 2.7.15rc1, python-minimal, 2.7.15~rc1-1
RelatedPackageVersions:
 dpkg 1.19.0.5ubuntu2
 apt  1.6.3ubuntu0.1
SourcePackage: grub2
Title: package grub-efi-amd64 2.02-2ubuntu8.3 failed to install/upgrade: installed grub-efi-amd64 package post-installation script subprocess returned error exit status 1
UpgradeStatus: Upgraded to bionic on 2018-08-27 (0 days ago)

** Affects: grub2 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-package bionic

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/1789313

Title:
  upgrade from 16.04.5 LTS to 18.04.1 LTS failed due to kernel signing
  issues and grub

Status in grub2 package in Ubuntu:
  New

Bug description:
  No further information beyond what is (hopefully?) auto attached to
  this bug report via an upload from the failed system (no web browser
  on it so I couldn't edit the bug report from that machine).

  The strange part is that there are only 3 kernels installed on the
  machine, and the 2 existing prior to trying to do-release-upgrade
  *are* both SIGNED.

  
  -rw------- 1 root root 8265464 Aug 15 08:57 /boot/vmlinuz-4.15.0-33-generic
  -rw------- 1 root root 7159744 Aug 10 07:20 /boot/vmlinuz-4.4.0-133-generic
  -rw------- 1 root root 7161656 Aug 16 06:04 /boot/vmlinuz-4.4.0-133-generic.efi.signed
  -rw------- 1 root root 7161824 Aug 15 13:48 /boot/vmlinuz-4.4.0-134-generic
  -rw------- 1 root root 7163736 Aug 24 06:06 /boot/vmlinuz-4.4.0-134-generic.efi.signed

  
  It's a Hyper-V VM, I had just done an apt update && apt upgrade && reboot to the machine prior to attempting the do-release-upgrade.

  Original release: 16.04.5 LTS
  Release-Upgrading to 18.04.1 LTS

  ProblemType: Package
  DistroRelease: Ubuntu 18.04
  Package: grub-efi-amd64 2.02-2ubuntu8.3
  ProcVersionSignature: Ubuntu 4.4.0-134.160-generic 4.4.140
  Uname: Linux 4.4.0-134-generic x86_64
  ApportVersion: 2.20.9-0ubuntu7.2
  Architecture: amd64
  Date: Mon Aug 27 18:52:31 2018
  ErrorMessage: installed grub-efi-amd64 package post-installation script subprocess returned error exit status 1
  InstallationDate: Installed on 2016-05-12 (836 days ago)
  InstallationMedia: Ubuntu-Server 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.3)
  InvalidGrubScript: /etc/grub.d/25_custom
  ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-134-generic.efi.signed root=UUID=9c2c3603-e202-4054-bfa2-0d3b2ab1e307 ro
  Python3Details: /usr/bin/python3.6, Python 3.6.5, python3-minimal, 3.6.5-3ubuntu1
  PythonDetails: /usr/bin/python2.7, Python 2.7.15rc1, python-minimal, 2.7.15~rc1-1
  RelatedPackageVersions:
   dpkg 1.19.0.5ubuntu2
   apt  1.6.3ubuntu0.1
  SourcePackage: grub2
  Title: package grub-efi-amd64 2.02-2ubuntu8.3 failed to install/upgrade: installed grub-efi-amd64 package post-installation script subprocess returned error exit status 1
  UpgradeStatus: Upgraded to bionic on 2018-08-27 (0 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1789313/+subscriptions



More information about the foundations-bugs mailing list