Errors encountered while processing "grub-efi-amd64-signed" and "shim-signed"

Asked by Dung Tran

Yesterday, after executed command "apt dist-upgrade", I got error
'
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up grub-efi-arm64-signed (1.173.2~18.04.1+2.04-1ubuntu47.4) ...
Installing for arm64-efi platform.
grub-install: error: efibootmgr: not found.
dpkg: error processing package grub-efi-arm64-signed (--configure):
 installed grub-efi-arm64-signed package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent processing triggers for shim-signed:
 shim-signed depends on grub-efi-amd64-signed (>= 1.167~) | grub-efi-arm64-signed (>= 1.167~); however:
  Package grub-efi-amd64-signed is not installed.
  Package grub-efi-arm64-signed is not configured yet.

dpkg: error processing package shim-signed (--configure):
 dependency problems - leaving triggers unprocessed
Errors were encountered while processing:
 grub-efi-arm64-signed
 shim-signed
E: Sub-process /usr/bin/dpkg returned an error code (1)
'''

I found out some upgraded packages may leading to this issue:

grub-efi-arm64/bionic-updates 2.04-1ubuntu47.4 arm64 [upgradable from: 2.04-1ubuntu44.1.2]
grub-efi-arm64-bin/bionic-updates 2.04-1ubuntu47.4 arm64 [upgradable from: 2.04-1ubuntu44.1.2]
grub-efi-arm64-dbg/bionic-updates 2.04-1ubuntu47.4 arm64
grub-efi-arm64-signed/bionic-updates 1.173.2~18.04.1+2.04-1ubuntu47.4 arm64 [upgradable from: 1.167~18.04.5+2.04-1ubuntu44.1.2]

Currenty, I cannot install any packages, got the same error above.

This issue only happen with Ubuntu 18.04.6 aarch64.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu grub2 Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

Execute the command

sudo apt install efibootmgr -f

and tell us the result.

Revision history for this message
Dung Tran (tiendungitd) said (last edit ):
#2

it's works, but can you share me why install this package can solve my issue?

root@ip-101:/home/ubuntu# sudo apt install efibootmgr -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  libefiboot1
The following NEW packages will be installed:
  efibootmgr libefiboot1
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 47.8 kB of archives.
After this operation, 151 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://ap-southeast-1a.clouds.ports.ubuntu.com/ubuntu-ports bionic/main arm64 libefiboot1 arm64 34-1 [20.7 kB]
Get:2 http://ap-southeast-1a.clouds.ports.ubuntu.com/ubuntu-ports bionic/main arm64 efibootmgr arm64 15-1 [27.1 kB]
Fetched 47.8 kB in 1s (32.8 kB/s)
Selecting previously unselected package libefiboot1:arm64.
(Reading database ... 91274 files and directories currently installed.)
Preparing to unpack .../libefiboot1_34-1_arm64.deb ...
Unpacking libefiboot1:arm64 (34-1) ...
Selecting previously unselected package efibootmgr.
Preparing to unpack .../efibootmgr_15-1_arm64.deb ...
Unpacking efibootmgr (15-1) ...
Setting up grub-efi-arm64-signed (1.173.2~18.04.1+2.04-1ubuntu47.4) ...
Installing for arm64-efi platform.
Installation finished. No error reported.
Setting up libefiboot1:arm64 (34-1) ...
Setting up efibootmgr (15-1) ...
Processing triggers for libc-bin (2.27-3ubuntu1.6) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for shim-signed (1.37~18.04.11+15.4-0ubuntu9) ...
W: APT had planned for dpkg to do more than it reported back (10 vs 14).
   Affected packages: grub-efi-arm64-signed:arm64

Revision history for this message
Manfred Hampl (m-hampl) said :
#3

This looks good.

For diagnostic purposes please provide the output that you receive for the commands:

uname -a
lsb_release -crid
sudo dpkg --audit
sudo apt update
sudo apt full-upgrade

Revision history for this message
Dung Tran (tiendungitd) said (last edit ):
#4

Yes, please see

lsb_release -crid:
Distributor ID: Ubuntu
Description: Ubuntu 18.04.6 LTS
Release: 18.04

uname -a:
Linux ip-16-179-159-129 5.4.0-1084-aws #91~18.04.1-Ubuntu SMP Sun Aug 14 01:27:17 UTC 2022 aarch64 aarch64 aarch64 GNU/Linux

dpkg --audit: empty

apt update && apt upgrade -y
Hit:1 http://ap-southeast-1a.clouds.ports.ubuntu.com/ubuntu-ports bionic InRelease
Get:2 http://ap-southeast-1a.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates InRelease [88.7 kB]
Get:3 http://ap-southeast-1a.clouds.ports.ubuntu.com/ubuntu-ports bionic-backports InRelease [83.3 kB]
Get:4 http://ap-southeast-1a.clouds.ports.ubuntu.com/ubuntu-ports bionic/universe arm64 Packages [8316 kB]
Get:5 http://ap-southeast-1a.clouds.ports.ubuntu.com/ubuntu-ports bionic/universe Translation-en [4941 kB]
Get:6 http://ap-southeast-1a.clouds.ports.ubuntu.com/ubuntu-ports bionic/multiverse arm64 Packages [126 kB]
Get:7 http://ap-southeast-1a.clouds.ports.ubuntu.com/ubuntu-ports bionic/multiverse Translation-en [108 kB]
Get:8 http://ap-southeast-1a.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 Packages [1666 kB]
Get:9 http://ap-southeast-1a.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/main Translation-en [513 kB]
Get:10 http://ap-southeast-1a.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/restricted arm64 Packages [4796 B]
Get:11 http://ap-southeast-1a.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/restricted Translation-en [136 kB]
Get:12 http://ap-southeast-1a.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/universe arm64 Packages [1656 kB]
Get:13 http://ap-southeast-1a.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/universe Translation-en [401 kB]
Get:14 http://ap-southeast-1a.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/multiverse arm64 Packages [5144 B]
Get:15 http://ap-southeast-1a.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/multiverse Translation-en [7532 B]
Get:16 http://ap-southeast-1a.clouds.ports.ubuntu.com/ubuntu-ports bionic-backports/main arm64 Packages [53.2 kB]
Get:17 http://ap-southeast-1a.clouds.ports.ubuntu.com/ubuntu-ports bionic-backports/main Translation-en [14.5 kB]
Get:18 http://ap-southeast-1a.clouds.ports.ubuntu.com/ubuntu-ports bionic-backports/universe arm64 Packages [17.8 kB]
Get:19 http://ap-southeast-1a.clouds.ports.ubuntu.com/ubuntu-ports bionic-backports/universe Translation-en [8668 B]
Get:20 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease [88.7 kB]
Get:21 http://ports.ubuntu.com/ubuntu-ports bionic-security/main arm64 Packages [1369 kB]
Get:22 http://ports.ubuntu.com/ubuntu-ports bionic-security/main Translation-en [422 kB]
Get:23 http://ports.ubuntu.com/ubuntu-ports bionic-security/restricted arm64 Packages [4236 B]
Get:24 http://ports.ubuntu.com/ubuntu-ports bionic-security/restricted Translation-en [132 kB]
Get:25 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe arm64 Packages [1107 kB]
Get:26 http://ports.ubuntu.com/ubuntu-ports bionic-security/universe Translation-en [284 kB]
Get:27 http://ports.ubuntu.com/ubuntu-ports bionic-security/multiverse arm64 Packages [2668 B]
Get:28 http://ports.ubuntu.com/ubuntu-ports bionic-security/multiverse Translation-en [3836 B]
Fetched 21.6 MB in 8s (2819 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
60 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following NEW packages will be installed:
  linux-aws-5.4-headers-5.4.0-1088 linux-headers-5.4.0-1088-aws linux-image-5.4.0-1088-aws
  linux-modules-5.4.0-1088-aws
The following packages will be upgraded:
  bind9-host cloud-init curl dbus dbus-user-session dnsutils git git-man grub-efi-arm64
  grub-efi-arm64-bin grub-efi-arm64-signed isc-dhcp-client isc-dhcp-common libasn1-8-heimdal
  libbind9-160 libcurl3-gnutls libcurl4 libdbus-1-3 libdns-export1100 libdns1100 libgmp10
  libgssapi3-heimdal libhcrypto4-heimdal libheimbase1-heimdal libheimntlm0-heimdal
  libhx509-5-heimdal libirs160 libisc-export169 libisc169 libisccc160 libisccfg160
  libkrb5-26-heimdal libksba8 liblwres160 libnss-systemd libpam-systemd libperl5.26
  libroken18-heimdal libsqlite3-0 libsystemd0 libudev1 libwind0-heimdal linux-aws
  linux-headers-aws linux-image-aws perl perl-base perl-modules-5.26 snapd sosreport systemd
  systemd-sysv tzdata ubuntu-advantage-tools udev vim vim-common vim-runtime vim-tiny xxd
60 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
52 standard security updates
Need to get 101 MB of archives.
After this operation, 192 MB of additional disk space will be used.
Get:1 http://ap-southeast-1a.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libperl5.26 arm64 5.26.1-6ubuntu0.6 [3338 kB]
Get:2 http://ap-southeast-1a.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 perl arm64 5.26.1-6ubuntu0.6 [201 kB]
Get:3 http://ap-southeast-1a.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 perl-base arm64 5.26.1-6ubuntu0.6 [1240 kB]
Get:4 http://ap-southeast-1a.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 perl-modules-5.26 all 5.26.1-6ubuntu0.6 [2764 kB]
Get:5 http://ap-southeast-1a.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libnss-systemd arm64 237-3ubuntu10.56 [89.6 kB]
Get:6 http://ap-southeast-1a.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libsystemd0 arm64 237-3ubuntu10.56 [171 kB]
Get:7 http://ap-southeast-1a.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 snapd arm64 2.57.5+18.04 [33.4 MB]
Get:8 http://ap-southeast-1a.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libpam-systemd arm64 237-3ubuntu10.56 [92.0 kB]
Get:9 http://ap-southeast-1a.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 systemd arm64 237-3ubuntu10.56 [2566 kB]
Get:10 http://ap-southeast-1a.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 udev arm64 237-3ubuntu10.56 [1049 kB]
Get:11 http://ap-southeast-1a.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libudev1 arm64 237-3ubuntu10.56 [45.3 kB]
Get:12 http://ap-southeast-1a.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 dbus arm64 1.12.2-1ubuntu1.4 [130 kB]
Get:13 http://ap-southeast-1a.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libdbus-1-3 arm64 1.12.2-1ubuntu1.4 [152 kB]
Get:14 http://ap-southeast-1a.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 systemd-sysv arm64 237-3ubuntu10.56 [11.8 kB]
Get:15 http://ap-southeast-1a.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 dbus-user-session arm64 1.12.2-1ubuntu1.4 [9388 B]
Get:16 http://ap-southeast-1a.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libgmp10 arm64 2:6.1.2+dfsg-2ubuntu0.1 [204 kB]
Get:17 http://ap-southeast-1a.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libisc-export169 arm64 1:9.11.3+dfsg-1ubuntu1.18 [137 kB]
Get:18 http://ap-southeast-1a.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libdns-export1100 arm64 1:9.11.3+dfsg-1ubuntu1.18 [624 kB]
Get:19 http://ap-southeast-1a.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 isc-dhcp-client arm64 4.3.5-3ubuntu7.4 [213 kB]
Get:20 http://ap-southeast-1a.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 isc-dhcp-common arm64 4.3.5-3ubuntu7.4 [44.8 kB]
Get:21 http://ap-southeast-1a.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libsqlite3-0 arm64 3.22.0-1ubuntu0.6 [428 kB]
Get:22 http://ap-southeast-1a.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 tzdata all 2022e-0ubuntu0.18.04.0 [185 kB]
Get:23 http://ap-southeast-1a.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 ubuntu-advantage-tools arm64 27.11.2~18.04.1 [159 kB]
Get:24 http://ap-southeast-1a.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 vim arm64 2:8.0.1453-1ubuntu1.9 [982 kB]
Get:25 http://ap-southeast-1a.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 vim-tiny arm64 2:8.0.1453-1ubuntu1.9 [405 kB]
Get:26 http://ap-southeast-1a.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 vim-runtime all 2:8.0.1453-1ubuntu1.9 [5436 kB]
Get:27 http://ap-southeast-1a.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 xxd arm64 2:8.0.1453-1ubuntu1.9 [49.2 kB]
Get:28 http://ap-southeast-1a.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 vim-common all 2:8.0.1453-1ubuntu1.9 [71.3 kB]
Get:29 http://ap-southeast-1a.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libirs160 arm64 1:9.11.3+dfsg-1ubuntu1.18 [16.9 kB]
Get:30 http://ap-southeast-1a.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 bind9-host arm64 1:9.11.3+dfsg-1ubuntu1.18 [48.2 kB]
Get:31 http://ap-southeast-1a.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 dnsutils arm64 1:9.11.3+dfsg-1ubuntu1.18 [132 kB]
Get:32 http://ap-southeast-1a.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libbind9-160 arm64 1:9.11.3+dfsg-1ubuntu1.18 [24.7 kB]
Get:33 http://ap-southeast-1a.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libisccfg160 arm64 1:9.11.3+dfsg-1ubuntu1.18 [42.5 kB]
Get:34 http://ap-southeast-1a.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libisccc160 arm64 1:9.11.3+dfsg-1ubuntu1.18 [15.7 kB]
Get:35 http://ap-southeast-1a.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libdns1100 arm64 1:9.11.3+dfsg-1ubuntu1.18 [804 kB]
Get:36 http://ap-southeast-1a.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libisc169 arm64 1:9.11.3+dfsg-1ubuntu1.18 [194 kB]
Get:37 http://ap-southeast-1a.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 liblwres160 arm64 1:9.11.3+dfsg-1ubuntu1.18 [30.2 kB]
Get:38 http://ap-southeast-1a.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 curl arm64 7.58.0-2ubuntu3.21 [152 kB]
Get:39 http://ap-southeast-1a.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libcurl4 arm64 7.58.0-2ubuntu3.21 [185 kB]
Get:40 http://ap-southeast-1a.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git-man all 1:2.17.1-1ubuntu0.13 [805 kB]
Get:41 http://ap-southeast-1a.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libcurl3-gnutls arm64 7.58.0-2ubuntu3.21 [184 kB]
Get:42 http://ap-southeast-1a.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 git arm64 1:2.17.1-1ubuntu0.13 [2955 kB]
Get:43 http://ap-southeast-1a.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 grub-efi-arm64-signed arm64 1.173.2~18.04.1+2.04-1ubuntu47.4 [460 kB]
Get:44 http://ap-southeast-1a.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 grub-efi-arm64 arm64 2.04-1ubuntu47.4 [47.0 kB]
Get:45 http://ap-southeast-1a.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 grub-efi-arm64-bin arm64 2.04-1ubuntu47.4 [629 kB]
Get:46 http://ap-southeast-1a.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libroken18-heimdal arm64 7.5.0+dfsg-1ubuntu0.1 [35.9 kB]
Get:47 http://ap-southeast-1a.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libasn1-8-heimdal arm64 7.5.0+dfsg-1ubuntu0.1 [130 kB]
Get:48 http://ap-southeast-1a.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libheimbase1-heimdal arm64 7.5.0+dfsg-1ubuntu0.1 [25.3 kB]
Get:49 http://ap-southeast-1a.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libhcrypto4-heimdal arm64 7.5.0+dfsg-1ubuntu0.1 [75.2 kB]
Get:50 http://ap-southeast-1a.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libwind0-heimdal arm64 7.5.0+dfsg-1ubuntu0.1 [47.0 kB]
Get:51 http://ap-southeast-1a.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libhx509-5-heimdal arm64 7.5.0+dfsg-1ubuntu0.1 [88.5 kB]
Get:52 http://ap-southeast-1a.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libkrb5-26-heimdal arm64 7.5.0+dfsg-1ubuntu0.1 [170 kB]
Get:53 http://ap-southeast-1a.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libheimntlm0-heimdal arm64 7.5.0+dfsg-1ubuntu0.1 [13.4 kB]
Get:54 http://ap-southeast-1a.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libgssapi3-heimdal arm64 7.5.0+dfsg-1ubuntu0.1 [79.6 kB]
Get:55 http://ap-southeast-1a.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 libksba8 arm64 1.3.5-2ubuntu0.18.04.1 [81.1 kB]
Get:56 http://ap-southeast-1a.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 linux-modules-5.4.0-1088-aws arm64 5.4.0-1088.96~18.04.1 [14.1 MB]
Get:57 http://ap-southeast-1a.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 linux-image-5.4.0-1088-aws arm64 5.4.0-1088.96~18.04.1 [12.0 MB]
Get:58 http://ap-southeast-1a.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 linux-aws arm64 5.4.0.1088.67 [1924 B]
Get:59 http://ap-southeast-1a.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 linux-image-aws arm64 5.4.0.1088.67 [2540 B]
Get:60 http://ap-southeast-1a.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 linux-aws-5.4-headers-5.4.0-1088 all 5.4.0-1088.96~18.04.1 [11.0 MB]
Get:61 http://ap-southeast-1a.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 linux-headers-5.4.0-1088-aws arm64 5.4.0-1088.96~18.04.1 [948 kB]
Get:62 http://ap-southeast-1a.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 linux-headers-aws arm64 5.4.0.1088.67 [2460 B]
Get:63 http://ap-southeast-1a.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 sosreport arm64 4.4-1ubuntu0.18.04.1 [305 kB]
Get:64 http://ap-southeast-1a.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates/main arm64 cloud-init all 22.3.4-0ubuntu1~18.04.1 [510 kB]
Fetched 101 MB in 22s (4475 kB/s)
Extracting templates from packages: 100%
Preconfiguring packages ...
(Reading database ... 60337 files and directories currently installed.)
Preparing to unpack .../libperl5.26_5.26.1-6ubuntu0.6_arm64.deb ...
Unpacking libperl5.26:arm64 (5.26.1-6ubuntu0.6) over (5.26.1-6ubuntu0.5) ...
Preparing to unpack .../perl_5.26.1-6ubuntu0.6_arm64.deb ...
Unpacking perl (5.26.1-6ubuntu0.6) over (5.26.1-6ubuntu0.5) ...
Preparing to unpack .../perl-base_5.26.1-6ubuntu0.6_arm64.deb ...
Unpacking perl-base (5.26.1-6ubuntu0.6) over (5.26.1-6ubuntu0.5) ...
Setting up perl-base (5.26.1-6ubuntu0.6) ...
(Reading database ... 60337 files and directories currently installed.)
Preparing to unpack .../perl-modules-5.26_5.26.1-6ubuntu0.6_all.deb ...
Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.6) over (5.26.1-6ubuntu0.5) ...
Preparing to unpack .../libnss-systemd_237-3ubuntu10.56_arm64.deb ...
Unpacking libnss-systemd:arm64 (237-3ubuntu10.56) over (237-3ubuntu10.53) ...
Preparing to unpack .../libsystemd0_237-3ubuntu10.56_arm64.deb ...
Unpacking libsystemd0:arm64 (237-3ubuntu10.56) over (237-3ubuntu10.53) ...
Setting up libsystemd0:arm64 (237-3ubuntu10.56) ...
(Reading database ... 60337 files and directories currently installed.)
Preparing to unpack .../snapd_2.57.5+18.04_arm64.deb ...
Unpacking snapd (2.57.5+18.04) over (2.55.5+18.04) ...
Preparing to unpack .../libpam-systemd_237-3ubuntu10.56_arm64.deb ...
Unpacking libpam-systemd:arm64 (237-3ubuntu10.56) over (237-3ubuntu10.53) ...
Preparing to unpack .../systemd_237-3ubuntu10.56_arm64.deb ...
Unpacking systemd (237-3ubuntu10.56) over (237-3ubuntu10.53) ...
Preparing to unpack .../udev_237-3ubuntu10.56_arm64.deb ...
Unpacking udev (237-3ubuntu10.56) over (237-3ubuntu10.53) ...
Preparing to unpack .../libudev1_237-3ubuntu10.56_arm64.deb ...
Unpacking libudev1:arm64 (237-3ubuntu10.56) over (237-3ubuntu10.53) ...
Setting up libudev1:arm64 (237-3ubuntu10.56) ...
(Reading database ... 60343 files and directories currently installed.)
Preparing to unpack .../dbus_1.12.2-1ubuntu1.4_arm64.deb ...
Unpacking dbus (1.12.2-1ubuntu1.4) over (1.12.2-1ubuntu1.3) ...
Preparing to unpack .../libdbus-1-3_1.12.2-1ubuntu1.4_arm64.deb ...
Unpacking libdbus-1-3:arm64 (1.12.2-1ubuntu1.4) over (1.12.2-1ubuntu1.3) ...
Setting up systemd (237-3ubuntu10.56) ...
(Reading database ... 60343 files and directories currently installed.)
Preparing to unpack .../systemd-sysv_237-3ubuntu10.56_arm64.deb ...
Unpacking systemd-sysv (237-3ubuntu10.56) over (237-3ubuntu10.53) ...
Preparing to unpack .../dbus-user-session_1.12.2-1ubuntu1.4_arm64.deb ...
Unpacking dbus-user-session (1.12.2-1ubuntu1.4) over (1.12.2-1ubuntu1.3) ...
Preparing to unpack .../libgmp10_2%3a6.1.2+dfsg-2ubuntu0.1_arm64.deb ...
Unpacking libgmp10:arm64 (2:6.1.2+dfsg-2ubuntu0.1) over (2:6.1.2+dfsg-2) ...
Setting up libgmp10:arm64 (2:6.1.2+dfsg-2ubuntu0.1) ...
(Reading database ... 60343 files and directories currently installed.)
Preparing to unpack .../00-libisc-export169_1%3a9.11.3+dfsg-1ubuntu1.18_arm64.deb ...
Unpacking libisc-export169:arm64 (1:9.11.3+dfsg-1ubuntu1.18) over (1:9.11.3+dfsg-1ubuntu1.17) ...
Preparing to unpack .../01-libdns-export1100_1%3a9.11.3+dfsg-1ubuntu1.18_arm64.deb ...
Unpacking libdns-export1100 (1:9.11.3+dfsg-1ubuntu1.18) over (1:9.11.3+dfsg-1ubuntu1.17) ...
Preparing to unpack .../02-isc-dhcp-client_4.3.5-3ubuntu7.4_arm64.deb ...
Unpacking isc-dhcp-client (4.3.5-3ubuntu7.4) over (4.3.5-3ubuntu7.3) ...
Preparing to unpack .../03-isc-dhcp-common_4.3.5-3ubuntu7.4_arm64.deb ...
Unpacking isc-dhcp-common (4.3.5-3ubuntu7.4) over (4.3.5-3ubuntu7.3) ...
Preparing to unpack .../04-libsqlite3-0_3.22.0-1ubuntu0.6_arm64.deb ...
Unpacking libsqlite3-0:arm64 (3.22.0-1ubuntu0.6) over (3.22.0-1ubuntu0.5) ...
Preparing to unpack .../05-tzdata_2022e-0ubuntu0.18.04.0_all.deb ...
Unpacking tzdata (2022e-0ubuntu0.18.04.0) over (2022a-0ubuntu0.18.04) ...
Preparing to unpack .../06-ubuntu-advantage-tools_27.11.2~18.04.1_arm64.deb ...
Unpacking ubuntu-advantage-tools (27.11.2~18.04.1) over (27.10.1~18.04.1) ...
Preparing to unpack .../07-vim_2%3a8.0.1453-1ubuntu1.9_arm64.deb ...
Unpacking vim (2:8.0.1453-1ubuntu1.9) over (2:8.0.1453-1ubuntu1.8) ...
Preparing to unpack .../08-vim-tiny_2%3a8.0.1453-1ubuntu1.9_arm64.deb ...
Unpacking vim-tiny (2:8.0.1453-1ubuntu1.9) over (2:8.0.1453-1ubuntu1.8) ...
Preparing to unpack .../09-vim-runtime_2%3a8.0.1453-1ubuntu1.9_all.deb ...
Unpacking vim-runtime (2:8.0.1453-1ubuntu1.9) over (2:8.0.1453-1ubuntu1.8) ...
Preparing to unpack .../10-xxd_2%3a8.0.1453-1ubuntu1.9_arm64.deb ...
Unpacking xxd (2:8.0.1453-1ubuntu1.9) over (2:8.0.1453-1ubuntu1.8) ...
Preparing to unpack .../11-vim-common_2%3a8.0.1453-1ubuntu1.9_all.deb ...
Unpacking vim-common (2:8.0.1453-1ubuntu1.9) over (2:8.0.1453-1ubuntu1.8) ...
Preparing to unpack .../12-libirs160_1%3a9.11.3+dfsg-1ubuntu1.18_arm64.deb ...
Unpacking libirs160:arm64 (1:9.11.3+dfsg-1ubuntu1.18) over (1:9.11.3+dfsg-1ubuntu1.17) ...
Preparing to unpack .../13-bind9-host_1%3a9.11.3+dfsg-1ubuntu1.18_arm64.deb ...
Unpacking bind9-host (1:9.11.3+dfsg-1ubuntu1.18) over (1:9.11.3+dfsg-1ubuntu1.17) ...
Preparing to unpack .../14-dnsutils_1%3a9.11.3+dfsg-1ubuntu1.18_arm64.deb ...
Unpacking dnsutils (1:9.11.3+dfsg-1ubuntu1.18) over (1:9.11.3+dfsg-1ubuntu1.17) ...
Preparing to unpack .../15-libbind9-160_1%3a9.11.3+dfsg-1ubuntu1.18_arm64.deb ...
Unpacking libbind9-160:arm64 (1:9.11.3+dfsg-1ubuntu1.18) over (1:9.11.3+dfsg-1ubuntu1.17) ...
Preparing to unpack .../16-libisccfg160_1%3a9.11.3+dfsg-1ubuntu1.18_arm64.deb ...
Unpacking libisccfg160:arm64 (1:9.11.3+dfsg-1ubuntu1.18) over (1:9.11.3+dfsg-1ubuntu1.17) ...
Preparing to unpack .../17-libisccc160_1%3a9.11.3+dfsg-1ubuntu1.18_arm64.deb ...
Unpacking libisccc160:arm64 (1:9.11.3+dfsg-1ubuntu1.18) over (1:9.11.3+dfsg-1ubuntu1.17) ...
Preparing to unpack .../18-libdns1100_1%3a9.11.3+dfsg-1ubuntu1.18_arm64.deb ...
Unpacking libdns1100:arm64 (1:9.11.3+dfsg-1ubuntu1.18) over (1:9.11.3+dfsg-1ubuntu1.17) ...
Preparing to unpack .../19-libisc169_1%3a9.11.3+dfsg-1ubuntu1.18_arm64.deb ...
Unpacking libisc169:arm64 (1:9.11.3+dfsg-1ubuntu1.18) over (1:9.11.3+dfsg-1ubuntu1.17) ...
Preparing to unpack .../20-liblwres160_1%3a9.11.3+dfsg-1ubuntu1.18_arm64.deb ...
Unpacking liblwres160:arm64 (1:9.11.3+dfsg-1ubuntu1.18) over (1:9.11.3+dfsg-1ubuntu1.17) ...
Preparing to unpack .../21-curl_7.58.0-2ubuntu3.21_arm64.deb ...
Unpacking curl (7.58.0-2ubuntu3.21) over (7.58.0-2ubuntu3.19) ...
Preparing to unpack .../22-libcurl4_7.58.0-2ubuntu3.21_arm64.deb ...
Unpacking libcurl4:arm64 (7.58.0-2ubuntu3.21) over (7.58.0-2ubuntu3.19) ...
Preparing to unpack .../23-git-man_1%3a2.17.1-1ubuntu0.13_all.deb ...
Unpacking git-man (1:2.17.1-1ubuntu0.13) over (1:2.17.1-1ubuntu0.12) ...
Preparing to unpack .../24-libcurl3-gnutls_7.58.0-2ubuntu3.21_arm64.deb ...
Unpacking libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.21) over (7.58.0-2ubuntu3.19) ...
Preparing to unpack .../25-git_1%3a2.17.1-1ubuntu0.13_arm64.deb ...
Unpacking git (1:2.17.1-1ubuntu0.13) over (1:2.17.1-1ubuntu0.12) ...
Preparing to unpack .../26-grub-efi-arm64-signed_1.173.2~18.04.1+2.04-1ubuntu47.4_arm64.deb ...
Unpacking grub-efi-arm64-signed (1.173.2~18.04.1+2.04-1ubuntu47.4) over (1.167~18.04.5+2.04-1ubuntu44.1.2) ...
Preparing to unpack .../27-grub-efi-arm64_2.04-1ubuntu47.4_arm64.deb ...
Unpacking grub-efi-arm64 (2.04-1ubuntu47.4) over (2.04-1ubuntu44.1.2) ...
Preparing to unpack .../28-grub-efi-arm64-bin_2.04-1ubuntu47.4_arm64.deb ...
Unpacking grub-efi-arm64-bin (2.04-1ubuntu47.4) over (2.04-1ubuntu44.1.2) ...
Preparing to unpack .../29-libroken18-heimdal_7.5.0+dfsg-1ubuntu0.1_arm64.deb ...
Unpacking libroken18-heimdal:arm64 (7.5.0+dfsg-1ubuntu0.1) over (7.5.0+dfsg-1) ...
Preparing to unpack .../30-libasn1-8-heimdal_7.5.0+dfsg-1ubuntu0.1_arm64.deb ...
Unpacking libasn1-8-heimdal:arm64 (7.5.0+dfsg-1ubuntu0.1) over (7.5.0+dfsg-1) ...
Preparing to unpack .../31-libheimbase1-heimdal_7.5.0+dfsg-1ubuntu0.1_arm64.deb ...
Unpacking libheimbase1-heimdal:arm64 (7.5.0+dfsg-1ubuntu0.1) over (7.5.0+dfsg-1) ...
Preparing to unpack .../32-libhcrypto4-heimdal_7.5.0+dfsg-1ubuntu0.1_arm64.deb ...
Unpacking libhcrypto4-heimdal:arm64 (7.5.0+dfsg-1ubuntu0.1) over (7.5.0+dfsg-1) ...
Preparing to unpack .../33-libwind0-heimdal_7.5.0+dfsg-1ubuntu0.1_arm64.deb ...
Unpacking libwind0-heimdal:arm64 (7.5.0+dfsg-1ubuntu0.1) over (7.5.0+dfsg-1) ...
Preparing to unpack .../34-libhx509-5-heimdal_7.5.0+dfsg-1ubuntu0.1_arm64.deb ...
Unpacking libhx509-5-heimdal:arm64 (7.5.0+dfsg-1ubuntu0.1) over (7.5.0+dfsg-1) ...
Preparing to unpack .../35-libkrb5-26-heimdal_7.5.0+dfsg-1ubuntu0.1_arm64.deb ...
Unpacking libkrb5-26-heimdal:arm64 (7.5.0+dfsg-1ubuntu0.1) over (7.5.0+dfsg-1) ...
Preparing to unpack .../36-libheimntlm0-heimdal_7.5.0+dfsg-1ubuntu0.1_arm64.deb ...
Unpacking libheimntlm0-heimdal:arm64 (7.5.0+dfsg-1ubuntu0.1) over (7.5.0+dfsg-1) ...
Preparing to unpack .../37-libgssapi3-heimdal_7.5.0+dfsg-1ubuntu0.1_arm64.deb ...
Unpacking libgssapi3-heimdal:arm64 (7.5.0+dfsg-1ubuntu0.1) over (7.5.0+dfsg-1) ...
Preparing to unpack .../38-libksba8_1.3.5-2ubuntu0.18.04.1_arm64.deb ...
Unpacking libksba8:arm64 (1.3.5-2ubuntu0.18.04.1) over (1.3.5-2) ...
Selecting previously unselected package linux-modules-5.4.0-1088-aws.
Preparing to unpack .../39-linux-modules-5.4.0-1088-aws_5.4.0-1088.96~18.04.1_arm64.deb ...
Unpacking linux-modules-5.4.0-1088-aws (5.4.0-1088.96~18.04.1) ...
Selecting previously unselected package linux-image-5.4.0-1088-aws.
Preparing to unpack .../40-linux-image-5.4.0-1088-aws_5.4.0-1088.96~18.04.1_arm64.deb ...
Unpacking linux-image-5.4.0-1088-aws (5.4.0-1088.96~18.04.1) ...
Preparing to unpack .../41-linux-aws_5.4.0.1088.67_arm64.deb ...
Unpacking linux-aws (5.4.0.1088.67) over (5.4.0.1084.64) ...
Preparing to unpack .../42-linux-image-aws_5.4.0.1088.67_arm64.deb ...
Unpacking linux-image-aws (5.4.0.1088.67) over (5.4.0.1084.64) ...
Selecting previously unselected package linux-aws-5.4-headers-5.4.0-1088.
Preparing to unpack .../43-linux-aws-5.4-headers-5.4.0-1088_5.4.0-1088.96~18.04.1_all.deb ...
Unpacking linux-aws-5.4-headers-5.4.0-1088 (5.4.0-1088.96~18.04.1) ...
Selecting previously unselected package linux-headers-5.4.0-1088-aws.
Preparing to unpack .../44-linux-headers-5.4.0-1088-aws_5.4.0-1088.96~18.04.1_arm64.deb ...
Unpacking linux-headers-5.4.0-1088-aws (5.4.0-1088.96~18.04.1) ...
Preparing to unpack .../45-linux-headers-aws_5.4.0.1088.67_arm64.deb ...
Unpacking linux-headers-aws (5.4.0.1088.67) over (5.4.0.1084.64) ...
Preparing to unpack .../46-sosreport_4.4-1ubuntu0.18.04.1_arm64.deb ...
Unpacking sosreport (4.4-1ubuntu0.18.04.1) over (4.3-1ubuntu0.18.04.1) ...
Preparing to unpack .../47-cloud-init_22.3.4-0ubuntu1~18.04.1_all.deb ...
Unpacking cloud-init (22.3.4-0ubuntu1~18.04.1) over (22.2-0ubuntu1~18.04.3) ...
Setting up ubuntu-advantage-tools (27.11.2~18.04.1) ...
Installing new version of config file /etc/ubuntu-advantage/help_data.yaml ...
Installing new version of config file /etc/ubuntu-advantage/uaclient.conf ...
Setting up libisc169:arm64 (1:9.11.3+dfsg-1ubuntu1.18) ...
Setting up libnss-systemd:arm64 (237-3ubuntu10.56) ...
Setting up git-man (1:2.17.1-1ubuntu0.13) ...
Setting up libisccc160:arm64 (1:9.11.3+dfsg-1ubuntu1.18) ...
Setting up linux-aws-5.4-headers-5.4.0-1088 (5.4.0-1088.96~18.04.1) ...
Setting up xxd (2:8.0.1453-1ubuntu1.9) ...
Setting up isc-dhcp-common (4.3.5-3ubuntu7.4) ...
Setting up libisc-export169:arm64 (1:9.11.3+dfsg-1ubuntu1.18) ...
Setting up libcurl3-gnutls:arm64 (7.58.0-2ubuntu3.21) ...
Setting up tzdata (2022e-0ubuntu0.18.04.0) ...

Current default time zone: 'Etc/UTC'
Local time is now: Mon Oct 31 12:08:01 UTC 2022.
Universal Time is now: Mon Oct 31 12:08:01 UTC 2022.
Run 'dpkg-reconfigure tzdata' if you wish to change it.

Setting up systemd-sysv (237-3ubuntu10.56) ...
Setting up libcurl4:arm64 (7.58.0-2ubuntu3.21) ...
Setting up linux-headers-5.4.0-1088-aws (5.4.0-1088.96~18.04.1) ...
Setting up libroken18-heimdal:arm64 (7.5.0+dfsg-1ubuntu0.1) ...
Setting up libksba8:arm64 (1.3.5-2ubuntu0.18.04.1) ...
Setting up perl-modules-5.26 (5.26.1-6ubuntu0.6) ...
Setting up linux-headers-aws (5.4.0.1088.67) ...
Setting up grub-efi-arm64-bin (2.04-1ubuntu47.4) ...
Setting up libperl5.26:arm64 (5.26.1-6ubuntu0.6) ...
Setting up udev (237-3ubuntu10.56) ...
update-initramfs: deferring update (trigger activated)
Setting up sosreport (4.4-1ubuntu0.18.04.1) ...
Setting up libheimbase1-heimdal:arm64 (7.5.0+dfsg-1ubuntu0.1) ...
Setting up libdns-export1100 (1:9.11.3+dfsg-1ubuntu1.18) ...
Setting up grub-efi-arm64 (2.04-1ubuntu47.4) ...
Installing for arm64-efi platform.
grub-install: error: efibootmgr: not found.
Failed: grub-install --target=arm64-efi
WARNING: Bootloader is not properly installed, system may not be bootable
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/50-cloudimg-settings.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.4.0-1088-aws
Found linux image: /boot/vmlinuz-5.4.0-1084-aws
Found initrd image: /boot/initrd.img-5.4.0-1084-aws
Adding boot menu entry for EFI firmware configuration
done
Setting up vim-common (2:8.0.1453-1ubuntu1.9) ...
Setting up libsqlite3-0:arm64 (3.22.0-1ubuntu0.6) ...
Setting up vim-runtime (2:8.0.1453-1ubuntu1.9) ...
Setting up libdns1100:arm64 (1:9.11.3+dfsg-1ubuntu1.18) ...
Setting up linux-modules-5.4.0-1088-aws (5.4.0-1088.96~18.04.1) ...
Setting up linux-image-5.4.0-1088-aws (5.4.0-1088.96~18.04.1) ...
I: /boot/vmlinuz is now a symlink to vmlinuz-5.4.0-1088-aws
I: /boot/initrd.img is now a symlink to initrd.img-5.4.0-1088-aws
Setting up liblwres160:arm64 (1:9.11.3+dfsg-1ubuntu1.18) ...
Setting up libdbus-1-3:arm64 (1.12.2-1ubuntu1.4) ...
Setting up vim-tiny (2:8.0.1453-1ubuntu1.9) ...
Setting up libwind0-heimdal:arm64 (7.5.0+dfsg-1ubuntu0.1) ...
Setting up curl (7.58.0-2ubuntu3.21) ...
Setting up grub-efi-arm64-signed (1.173.2~18.04.1+2.04-1ubuntu47.4) ...
Installing for arm64-efi platform.
grub-install: error: efibootmgr: not found.
dpkg: error processing package grub-efi-arm64-signed (--configure):
 installed grub-efi-arm64-signed package post-installation script subprocess returned error exit status 1
Setting up vim (2:8.0.1453-1ubuntu1.9) ...
Setting up libasn1-8-heimdal:arm64 (7.5.0+dfsg-1ubuntu0.1) ...
Setting up libhcrypto4-heimdal:arm64 (7.5.0+dfsg-1ubuntu0.1) ...
Setting up libhx509-5-heimdal:arm64 (7.5.0+dfsg-1ubuntu0.1) ...
Setting up isc-dhcp-client (4.3.5-3ubuntu7.4) ...
Setting up perl (5.26.1-6ubuntu0.6) ...
Setting up libisccfg160:arm64 (1:9.11.3+dfsg-1ubuntu1.18) ...
Setting up linux-image-aws (5.4.0.1088.67) ...
Setting up libkrb5-26-heimdal:arm64 (7.5.0+dfsg-1ubuntu0.1) ...
Setting up dbus (1.12.2-1ubuntu1.4) ...
A reboot is required to replace the running dbus-daemon.
Please reboot the system when convenient.
Setting up git (1:2.17.1-1ubuntu0.13) ...
Setting up libheimntlm0-heimdal:arm64 (7.5.0+dfsg-1ubuntu0.1) ...
Setting up cloud-init (22.3.4-0ubuntu1~18.04.1) ...
Installing new version of config file /etc/cloud/cloud.cfg ...
Setting up libpam-systemd:arm64 (237-3ubuntu10.56) ...
Setting up libirs160:arm64 (1:9.11.3+dfsg-1ubuntu1.18) ...
Setting up libbind9-160:arm64 (1:9.11.3+dfsg-1ubuntu1.18) ...
Setting up dbus-user-session (1.12.2-1ubuntu1.4) ...
Setting up snapd (2.57.5+18.04) ...
Created symlink /etc/systemd/system/multi-user.target.wants/snapd.aa-prompt-listener.service → /lib/systemd/system/snapd.aa-prompt-listener.service.
snapd.failure.service is a disabled or a static unit not running, not starting it.
snapd.snap-repair.service is a disabled or a static unit not running, not starting it.
Setting up linux-aws (5.4.0.1088.67) ...
Setting up libgssapi3-heimdal:arm64 (7.5.0+dfsg-1ubuntu0.1) ...
Setting up bind9-host (1:9.11.3+dfsg-1ubuntu1.18) ...
Setting up dnsutils (1:9.11.3+dfsg-1ubuntu1.18) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for rsyslog (8.32.0-1ubuntu4.2) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for ureadahead (0.100.0-21) ...
ureadahead will be reprofiled on next reboot
Processing triggers for libc-bin (2.27-3ubuntu1.6) ...
Processing triggers for initramfs-tools (0.130ubuntu3.13) ...
update-initramfs: Generating /boot/initrd.img-5.4.0-1084-aws
Ignoring old or unknown version 5.4.0-1084-aws (latest is 5.4.0-1088-aws)
Processing triggers for linux-image-5.4.0-1088-aws (5.4.0-1088.96~18.04.1) ...
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.4.0-1088-aws
flash-kernel: deferring update (trigger activated)
/etc/kernel/postinst.d/zz-flash-kernel:
flash-kernel: deferring update (trigger activated)
/etc/kernel/postinst.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/50-cloudimg-settings.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.4.0-1088-aws
Found initrd image: /boot/initrd.img-5.4.0-1088-aws
Found linux image: /boot/vmlinuz-5.4.0-1084-aws
Found initrd image: /boot/initrd.img-5.4.0-1084-aws
Adding boot menu entry for EFI firmware configuration
done
Processing triggers for flash-kernel (3.98ubuntu11~18.04.2) ...
Unsupported platform on EFI system, doing nothing.
Errors were encountered while processing:
 grub-efi-arm64-signed
E: Sub-process /usr/bin/dpkg returned an error code (1)

Revision history for this message
Manfred Hampl (m-hampl) said :
#5

That is very strange:

In your initial question you had
"grub-install: error: efibootmgr: not found."

My recommendadtion in comment #1 was
"sudo apt install efibootmgr -f"
which should care for installing the /bin/efibootmgr program.

Now you again get the error message
"grub-install: error: efibootmgr: not found."

I do not have an explanation for that.

Does the file /bin/efibootmgr exist?

If it doesn't, does is exist after executing
sudo apt install efibootmgr -f
?

Revision history for this message
Dung Tran (tiendungitd) said :
#6

My bad, the above output of apt update and apt upgrade is before installed efibootmgr.
After installed, there is nothing to update.

Revision history for this message
Manfred Hampl (m-hampl) said :
#7

If you now run the command

sudo apt install --reinstall grub-efi-arm64-signed

what do you get?

Revision history for this message
Dung Tran (tiendungitd) said (last edit ):
#8

it's working

apt update && apt upgrade
Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease
Hit:2 http://ap-southeast-1a.clouds.ports.ubuntu.com/ubuntu-ports bionic InRelease
Hit:3 http://ap-southeast-1a.clouds.ports.ubuntu.com/ubuntu-ports bionic-updates InRelease
Hit:4 http://ap-southeast-1a.clouds.ports.ubuntu.com/ubuntu-ports bionic-backports InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

sudo apt install --reinstall grub-efi-arm64-signed
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0 B/460 kB of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 91290 files and directories currently installed.)
Preparing to unpack .../grub-efi-arm64-signed_1.173.2~18.04.1+2.04-1ubuntu47.4_arm64.deb ...
Unpacking grub-efi-arm64-signed (1.173.2~18.04.1+2.04-1ubuntu47.4) over (1.173.2~18.04.1+2.04-1ubuntu47.4) ...
Setting up grub-efi-arm64-signed (1.173.2~18.04.1+2.04-1ubuntu47.4) ...
Installing for arm64-efi platform.
Installation finished. No error reported.

Revision history for this message
Manfred Hampl (m-hampl) said :
#9

All updates are installed and there is no error message again.
I suggest that you mark this question as "solved".
If there are further problems, then please open a new question document.

Can you help with this problem?

Provide an answer of your own, or ask Dung Tran for more information if necessary.

To post a message you must log in.