Bug 380470 - grub-efi-amd64-signed package fails to install due to unmet package dependencies
Summary: grub-efi-amd64-signed package fails to install due to unmet package dependencies
Status: REOPENED
Alias: None
Product: neon
Classification: KDE Neon
Component: Live/Install images (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Neon Bugs
URL:
Keywords:
: 366463 389939 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-06-02 13:28 UTC by kr.stokke
Modified: 2018-06-07 13:38 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kr.stokke 2017-06-02 13:28:04 UTC
Grabbed a live usb installer image for KDE neon: https://files.kde.org/neon/images/neon-userltsedition/current/

Repartitioning and reformatting entire drive (NOTE: with full LVM disk encryption)

Install fails at the end:

The 'grub-efi-amd64-signed' package failed to install into /target/. Without the GRUB boot loader, the installed system will not boot. 

from /var/log/syslog:

:
Jun  2 13:18:24 neon ubiquity: 
Jun  2 13:18:24 neon ubiquity: The following packages have unmet dependencies:
Jun  2 13:18:24 neon ubiquity:  shim-signed : Depends: grub-efi-amd64-bin but it is not going to be installed
Jun  2 13:18:24 neon ubiquity:                Depends: grub2-common (>= 2.00) but it is not going to be installed
Jun  2 13:18:24 neon ubiquity: E

After doing an apt update from shell, installer works.
Comment 1 Jonathan Riddell 2017-06-02 13:38:51 UTC
did you have an internet connection during the install?
Comment 2 kr.stokke 2017-06-02 20:38:01 UTC
Yes, I did attempt to execute the installer with and without internet access for the duration of the install. Also, checking "install third party software" and "download updated packages during install" didn't work. 

There's more strange stuff going on in the package system. If I do

apt install bumblebee-nvidia xserver-xorg-video-intel

I actually loose sddm and neon-desktop packages. And a bunch of xorg packages:

xserver-xorg-core-hwe-16.04 xserver-xorg-hwe-16.04 xserver-xorg-input-all-hwe-16.04 xserver-xorg-input-evdev-hwe-16.04 xserver-xorg-input-synaptics-hwe-16.04 xserver-xorg-input-wacom-hwe-16.04 xserver-xorg-video-all-hwe-16.04 xserver-xorg-video-amdgpu-hwe-16.04 xserver-xorg-video-ati-hwe-16.04 xserver-xorg-video-fbdev-hwe-16.04 xserver-xorg-video-intel-native-modesetting xserver-xorg-video-nouveau-hwe-16.04 xserver-xorg-video-qxl-hwe-16.04 xserver-xorg-video-radeon-hwe-16.0 xserver-xorg-video-vesa-hwe-16.04 xserver-xorg-video-vmware-hwe-16.04
Comment 3 kr.stokke 2017-06-02 21:43:13 UTC
(In reply to kr.stokke from comment #2)
> Yes, I did attempt to execute the installer with and without internet access
> for the duration of the install. Also, checking "install third party
> software" and "download updated packages during install" didn't work. 
> 
> There's more strange stuff going on in the package system. If I do
> 
> apt install bumblebee-nvidia xserver-xorg-video-intel
> 
> I actually loose sddm and neon-desktop packages. And a bunch of xorg
> packages:
> 
> xserver-xorg-core-hwe-16.04 xserver-xorg-hwe-16.04
> xserver-xorg-input-all-hwe-16.04 xserver-xorg-input-evdev-hwe-16.04
> xserver-xorg-input-synaptics-hwe-16.04 xserver-xorg-input-wacom-hwe-16.04
> xserver-xorg-video-all-hwe-16.04 xserver-xorg-video-amdgpu-hwe-16.04
> xserver-xorg-video-ati-hwe-16.04 xserver-xorg-video-fbdev-hwe-16.04
> xserver-xorg-video-intel-native-modesetting
> xserver-xorg-video-nouveau-hwe-16.04 xserver-xorg-video-qxl-hwe-16.04
> xserver-xorg-video-radeon-hwe-16.0 xserver-xorg-video-vesa-hwe-16.04
> xserver-xorg-video-vmware-hwe-16.04

Never mind the broken packages. Something happened when I attempted to install bumblebeed-nvidia from chroot while booting from the live usb disk
Comment 4 Jonathan Riddell 2017-06-30 14:20:31 UTC
grub-efi-amd64-signed not installing is a problem we share with ubuntu and kubuntu. it needs internet access to install.  to fix it would need rebuilding the repository on the ISO which is quite faffy to do
Comment 5 Jay Armstrong 2017-10-22 03:40:24 UTC
Thanks Johnathan for the clarity.

I get this error consistently with (neon-userltsedition-20170913-0019-amd64) neon while trying to install in a KVM (with no internet access).

How would we go about letting users know about this bug so they don't (each) spend hours troubleshooting or give up on neon / *buntu?
Comment 6 kr.stokke 2017-10-22 12:24:02 UTC
I agree, although rebuilding the ISO is "faffy" I think it needs doing. Users that don't know how to manage the installer and error logs will have quite a job to do to even get KDE up and running.
Comment 7 Jonathan Riddell 2017-10-23 12:57:45 UTC
Once we switch to Calamares as installer we can customise that easier to warn users or just work around it
Comment 8 Harald Sitter 2017-10-27 08:03:09 UTC
(In reply to Jonathan Riddell from comment #4)
> grub-efi-amd64-signed not installing is a problem we share with ubuntu and
> kubuntu. it needs internet access to install.  to fix it would need
> rebuilding the repository on the ISO which is quite faffy to do

I've tested this and ubuntu 16.04.2 installs just fine with uefi but no internet access. If anything this is an issue inherited from kubuntu. In either case it is a fairly severe UX problem in neon.
Comment 9 Harald Sitter 2018-02-07 17:14:19 UTC
*** Bug 366463 has been marked as a duplicate of this bug. ***
Comment 10 Harald Sitter 2018-02-07 17:14:23 UTC
*** Bug 389939 has been marked as a duplicate of this bug. ***
Comment 12 rockonthemoonfm 2018-06-07 13:38:55 UTC
installed neon user edition one week ago with new isos, problem still persists.

Had to turn off secureboot to have grub installed and a bootable system.

It failed with the following:

Installing the 'grub2' package, GRUB installation failed. The 'grub-efi-amd64-signed' package failed to install into /target/. Without the GRUB boot loader, the installed system will not boot.