Not sure what to do now.

mike@mike-desktop:~$ sudo apt-get purge grub\*
[sudo] password for mike: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'grub-legacy' for glob 'grub*'
Note, selecting 'grub-doc' for glob 'grub*'
Note, selecting 'grub-ipxe' for glob 'grub*'
Note, selecting 'grub-efi' for glob 'grub*'
Note, selecting 'grub-emu' for glob 'grub*'
Note, selecting 'grub-coreboot' for glob 'grub*'
Note, selecting 'grub-linuxbios' for glob 'grub*'
Note, selecting 'grub-common' for glob 'grub*'
Note, selecting 'grub-invaders' for glob 'grub*'
Note, selecting 'grub-coreboot-bin' for glob 'grub*'
Note, selecting 'grub-ieee1275-bin' for glob 'grub*'
Note, selecting 'grub-coreboot-dbg' for glob 'grub*'
Note, selecting 'grub-xen-bin' for glob 'grub*'
Note, selecting 'grub-ieee1275-dbg' for glob 'grub*'
Note, selecting 'grub-xen-dbg' for glob 'grub*'
Note, selecting 'grub2-common' for glob 'grub*'
Note, selecting 'grub-legacy-doc' for glob 'grub*'
Note, selecting 'grub-legacy-ec2' for glob 'grub*'
Note, selecting 'grub-splashimages' for glob 'grub*'
Note, selecting 'grub-yeeloong' for glob 'grub*'
Note, selecting 'grub-pc' for glob 'grub*'
Note, selecting 'grub-theme-breeze' for glob 'grub*'
Note, selecting 'grub-imageboot' for glob 'grub*'
Note, selecting 'grub-xen' for glob 'grub*'
Note, selecting 'grub-pc-bin' for glob 'grub*'
Note, selecting 'grub-pc-dbg' for glob 'grub*'
Note, selecting 'grub-efi-amd64-bin' for glob 'grub*'
Note, selecting 'grub-gfxpayload-lists' for glob 'grub*'
Note, selecting 'grub-efi-amd64-dbg' for glob 'grub*'
Note, selecting 'grub2-themes-ubuntu-mate' for glob 'grub*'
Note, selecting 'grub-rescue-pc' for glob 'grub*'
Note, selecting 'grub-ieee1275' for glob 'grub*'
Note, selecting 'grub' for glob 'grub*'
Note, selecting 'grub2' for glob 'grub*'
Note, selecting 'grub-efi-amd64' for glob 'grub*'
Note, selecting 'grub-efi-ia32' for glob 'grub*'
Note, selecting 'grub-efi-ia64' for glob 'grub*'
Note, selecting 'grub-efi-amd64-signed' for glob 'grub*'
Note, selecting 'grub-efi-ia32-bin' for glob 'grub*'
Note, selecting 'grub2-splashimages' for glob 'grub*'
Note, selecting 'grub-efi-ia32-dbg' for glob 'grub*'
Note, selecting 'grub-emu-dbg' for glob 'grub*'
Note, selecting 'grub-xen-host' for glob 'grub*'
Note, selecting 'grub-theme-starfield' for glob 'grub*'
Note, selecting 'grub-firmware-qemu' for glob 'grub*'
Package 'grub-efi-ia64' is not installed, so not removed
Package 'grub-yeeloong' is not installed, so not removed
Package 'grub' is not installed, so not removed
Package 'grub-legacy' is not installed, so not removed
Package 'grub-legacy-doc' is not installed, so not removed
Package 'grub-doc' is not installed, so not removed
Package 'grub-gfxpayload-lists' is not installed, so not removed
Package 'grub-legacy-ec2' is not installed, so not removed
Package 'grub-imageboot' is not installed, so not removed
Package 'grub-invaders' is not installed, so not removed
Package 'grub-splashimages' is not installed, so not removed
Package 'grub-theme-breeze' is not installed, so not removed
Package 'grub2-splashimages' is not installed, so not removed
Package 'grub2-themes-ubuntu-mate' is not installed, so not removed
Package 'grub-efi' is not installed, so not removed
Package 'grub-efi-amd64-dbg' is not installed, so not removed
Package 'grub-efi-ia32' is not installed, so not removed
Package 'grub-efi-ia32-bin' is not installed, so not removed
Package 'grub-efi-ia32-dbg' is not installed, so not removed
Package 'grub-ieee1275' is not installed, so not removed
Package 'grub-ieee1275-bin' is not installed, so not removed
Package 'grub-ieee1275-dbg' is not installed, so not removed
Package 'grub-ipxe' is not installed, so not removed
Package 'grub-pc' is not installed, so not removed
Package 'grub-pc-bin' is not installed, so not removed
Package 'grub-pc-dbg' is not installed, so not removed
Package 'grub-xen' is not installed, so not removed
Package 'grub-xen-bin' is not installed, so not removed
Package 'grub-xen-dbg' is not installed, so not removed
Package 'grub-coreboot' is not installed, so not removed
Package 'grub-coreboot-bin' is not installed, so not removed
Package 'grub-coreboot-dbg' is not installed, so not removed
Package 'grub-emu' is not installed, so not removed
Package 'grub-emu-dbg' is not installed, so not removed
Package 'grub-firmware-qemu' is not installed, so not removed
Package 'grub-linuxbios' is not installed, so not removed
Package 'grub-rescue-pc' is not installed, so not removed
Package 'grub-theme-starfield' is not installed, so not removed
Package 'grub-xen-host' is not installed, so not removed
Package 'grub2' is not installed, so not removed
The following packages were automatically installed and are no longer required:
  libllvm7 libllvm8 shim
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  grub-common* grub-efi-amd64* grub-efi-amd64-bin* grub-efi-amd64-signed* 
grub2-common*
  os-prober* shim-signed* ubiquity* ubiquity-frontend-gtk*
0 upgraded, 0 newly installed, 9 to remove and 3 not upgraded.
2 not fully installed or removed.
After this operation, 39.8 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 242485 files and directories currently installed.)
Removing shim-signed (1.37~18.04.3+15+1533136590.3beb971-0ubuntu1) ...
Removing grub-efi-amd64-signed (1.93.16+2.02-2ubuntu8.15) ...
Removing grub-efi-amd64 (2.02-2ubuntu8.15) ...
Removing grub2-common (2.02-2ubuntu8.15) ...
Removing grub-efi-amd64-bin (2.02-2ubuntu8.15) ...
Removing ubiquity (18.04.14.14) ...
Removing ubiquity-frontend-gtk (18.04.14.14) ...
Removing os-prober (1.74ubuntu1) ...
Removing grub-common (2.02-2ubuntu8.15) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.2) ...
Processing triggers for install-info (6.5.0.dfsg.1-2) ...
Processing triggers for menu (2.1.47ubuntu2.1) ...
Processing triggers for bamfdaemon (0.5.3+18.04.20180207.2-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for mime-support (3.60ubuntu1) ...
(Reading database ... 241398 files and directories currently installed.)
Purging configuration files for grub-efi-amd64 (2.02-2ubuntu8.15) ...
Purging configuration files for shim-signed 
(1.37~18.04.3+15+1533136590.3beb971-0ubuntu1) ...
Purging configuration files for grub-common (2.02-2ubuntu8.15) ...
Purging configuration files for ubiquity (18.04.14.14) ...
Purging configuration files for ubiquity-frontend-gtk (18.04.14.14) ...
Processing triggers for menu (2.1.47ubuntu2.1) ...
Processing triggers for systemd (237-3ubuntu10.41) ...
Processing triggers for ureadahead (0.100.0-21) ...
ureadahead will be reprofiled on next reboot
mike@mike-desktop:~$ sudo apt-get install grub-efi
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libllvm7 libllvm8 shim
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  grub-common grub-efi-amd64 grub-efi-amd64-bin grub2-common os-prober
Suggested packages:
  multiboot-doc grub-emu xorriso desktop-base
The following NEW packages will be installed:
  grub-common grub-efi grub-efi-amd64 grub-efi-amd64-bin grub2-common os-prober
0 upgraded, 6 newly installed, 0 to remove and 3 not upgraded.
Need to get 3,031 kB of archives.
After this operation, 16.6 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 grub-common 
amd64 2.02-2ubuntu8.15 [1,775 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 
grub2-common amd64 2.02-2ubuntu8.15 [532 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 os-prober amd64 
1.74ubuntu1 [19.8 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 
grub-efi-amd64-bin amd64 2.02-2ubuntu8.15 [655 kB]
Get:5 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 
grub-efi-amd64 amd64 2.02-2ubuntu8.15 [47.8 kB]
Get:6 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 grub-efi 
amd64 2.02-2ubuntu8.15 [2,584 B]
Fetched 3,031 kB in 1s (2,816 kB/s)
Preconfiguring packages ...
Selecting previously unselected package grub-common.
(Reading database ... 241382 files and directories currently installed.)
Preparing to unpack .../0-grub-common_2.02-2ubuntu8.15_amd64.deb ...
Unpacking grub-common (2.02-2ubuntu8.15) ...
Selecting previously unselected package grub2-common.
Preparing to unpack .../1-grub2-common_2.02-2ubuntu8.15_amd64.deb ...
Unpacking grub2-common (2.02-2ubuntu8.15) ...
Selecting previously unselected package os-prober.
Preparing to unpack .../2-os-prober_1.74ubuntu1_amd64.deb ...
Unpacking os-prober (1.74ubuntu1) ...
Selecting previously unselected package grub-efi-amd64-bin.
Preparing to unpack .../3-grub-efi-amd64-bin_2.02-2ubuntu8.15_amd64.deb ...
Unpacking grub-efi-amd64-bin (2.02-2ubuntu8.15) ...
Selecting previously unselected package grub-efi-amd64.
Preparing to unpack .../4-grub-efi-amd64_2.02-2ubuntu8.15_amd64.deb ...
Unpacking grub-efi-amd64 (2.02-2ubuntu8.15) ...
Selecting previously unselected package grub-efi.
Preparing to unpack .../5-grub-efi_2.02-2ubuntu8.15_amd64.deb ...
Unpacking grub-efi (2.02-2ubuntu8.15) ...
Setting up grub-common (2.02-2ubuntu8.15) ...
update-rc.d: warning: start and stop actions are no longer supported; falling 
back to defaults
Setting up grub-efi-amd64-bin (2.02-2ubuntu8.15) ...
Setting up grub2-common (2.02-2ubuntu8.15) ...
Setting up os-prober (1.74ubuntu1) ...
Setting up grub-efi-amd64 (2.02-2ubuntu8.15) ...

Creating config file /etc/default/grub with new version
Installing for x86_64-efi platform.
grub-install: error: cannot find EFI directory.
Failed: grub-install --target=x86_64-efi  
WARNING: Bootloader is not properly installed, system may not be bootable
Setting up grub-efi (2.02-2ubuntu8.15) ...
Processing triggers for install-info (6.5.0.dfsg.1-2) ...
Processing triggers for systemd (237-3ubuntu10.41) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for ureadahead (0.100.0-21) ...
mike@mike-desktop:~$ sudo apt-get autoremove
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  libllvm7 libllvm8 shim
0 upgraded, 0 newly installed, 3 to remove and 3 not upgraded.
After this operation, 132 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 241806 files and directories currently installed.)
Removing libllvm7:amd64 (1:7-3~ubuntu0.18.04.1) ...
Removing libllvm8:amd64 (1:8-3~ubuntu18.04.2) ...
Removing shim (15+1533136590.3beb971-0ubuntu1) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
mike@mike-desktop:~$ sudo update-grub
Sourcing file `/etc/default/grub'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.15.0-106-generic
Found initrd image: /boot/initrd.img-4.15.0-106-generic
Found linux image: /boot/vmlinuz-4.15.0-101-generic
Found initrd image: /boot/initrd.img-4.15.0-101-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
ERROR: pdc: wrong # of devices in RAID set "pdc_bihhgehgb" [1/2] on /dev/sdd
ERROR: pdc: wrong # of devices in RAID set "pdc_bihhgehgb" [1/2] on /dev/sdd
Found Ultimate Edition 4.2 (4.2) on /dev/sda1
Found Ubuntu 12.04.3 LTS (12.04) on /dev/sdb1
Found Ubuntu 12.04.2 LTS (12.04) on /dev/sdd1
done

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

Title:
  dpkg fails to install grub-efi-amd64 signed and shim-signed

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to