(uefi, ubuntu server 18.04) failed to install xtables-addons-common when secure boot is enable

Bug #1775231 reported by Daniel Rebelo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
shim-signed (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Unable to install xtables-addons-common on Ubuntu Server 18.04 when secure boot is enable.
The system stops when generating a new Secure Boot signing key.

Logs:

The following additional packages will be installed:
  binutils binutils-common binutils-x86-64-linux-gnu build-essential cpp cpp-7 dkms dpkg-dev fakeroot g++ g++-7 gcc gcc-7
  gcc-7-base libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libasan4 libatomic1 libbinutils
  libc-dev-bin libc6-dev libcc1-0 libcilkrts5 libdpkg-perl libfakeroot libfile-fcntllock-perl libgcc-7-dev libgomp1 libisl19
  libitm1 liblsan0 libmpc3 libmpx2 libquadmath0 libstdc++-7-dev libtsan0 libubsan0 linux-libc-dev make manpages-dev unzip
  xtables-addons-dkms
Suggested packages:
  binutils-doc cpp-doc gcc-7-locales menu debian-keyring g++-multilib g++-7-multilib gcc-7-doc libstdc++6-7-dbg gcc-multilib
  autoconf automake libtool flex bison gdb gcc-doc gcc-7-multilib libgcc1-dbg libgomp1-dbg libitm1-dbg libatomic1-dbg
  libasan4-dbg liblsan0-dbg libtsan0-dbg libubsan0-dbg libcilkrts5-dbg libmpx2-dbg libquadmath0-dbg glibc-doc bzr
  libstdc++-7-doc make-doc zip libtext-csv-xs-perl
The following NEW packages will be installed:
  binutils binutils-common binutils-x86-64-linux-gnu build-essential cpp cpp-7 dkms dpkg-dev fakeroot g++ g++-7 gcc gcc-7
  gcc-7-base libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libasan4 libatomic1 libbinutils
  libc-dev-bin libc6-dev libcc1-0 libcilkrts5 libdpkg-perl libfakeroot libfile-fcntllock-perl libgcc-7-dev libgomp1 libisl19
  libitm1 liblsan0 libmpc3 libmpx2 libquadmath0 libstdc++-7-dev libtsan0 libubsan0 linux-libc-dev make manpages-dev unzip
  xtables-addons-common xtables-addons-dkms
0 upgraded, 44 newly installed, 0 to remove and 0 not upgraded.
Need to get 37.6 MB of archives.
After this operation, 163 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://pl.archive.ubuntu.com/ubuntu bionic/main amd64 binutils-common amd64 2.30-15ubuntu1 [193 kB]
Get:2 http://pl.archive.ubuntu.com/ubuntu bionic/main amd64 libbinutils amd64 2.30-15ubuntu1 [503 kB]
Get:3 http://pl.archive.ubuntu.com/ubuntu bionic/main amd64 binutils-x86-64-linux-gnu amd64 2.30-15ubuntu1 [1,856 kB]
Get:4 http://pl.archive.ubuntu.com/ubuntu bionic/main amd64 binutils amd64 2.30-15ubuntu1 [3,392 B]
Get:5 http://pl.archive.ubuntu.com/ubuntu bionic/main amd64 libc-dev-bin amd64 2.27-3ubuntu1 [71.8 kB]
Get:6 http://pl.archive.ubuntu.com/ubuntu bionic-updates/main amd64 linux-libc-dev amd64 4.15.0-22.24 [1,002 kB]
Get:7 http://pl.archive.ubuntu.com/ubuntu bionic/main amd64 libc6-dev amd64 2.27-3ubuntu1 [2,587 kB]
Get:8 http://pl.archive.ubuntu.com/ubuntu bionic/main amd64 gcc-7-base amd64 7.3.0-16ubuntu3 [18.8 kB]
Get:9 http://pl.archive.ubuntu.com/ubuntu bionic/main amd64 libisl19 amd64 0.19-1 [551 kB]
Get:10 http://pl.archive.ubuntu.com/ubuntu bionic/main amd64 libmpc3 amd64 1.1.0-1 [40.8 kB]
Get:11 http://pl.archive.ubuntu.com/ubuntu bionic/main amd64 cpp-7 amd64 7.3.0-16ubuntu3 [6,734 kB]
Get:12 http://pl.archive.ubuntu.com/ubuntu bionic/main amd64 cpp amd64 4:7.3.0-3ubuntu2 [27.5 kB]
Get:13 http://pl.archive.ubuntu.com/ubuntu bionic/main amd64 libcc1-0 amd64 8-20180414-1ubuntu2 [39.5 kB]
Get:14 http://pl.archive.ubuntu.com/ubuntu bionic/main amd64 libgomp1 amd64 8-20180414-1ubuntu2 [76.8 kB]
Get:15 http://pl.archive.ubuntu.com/ubuntu bionic/main amd64 libitm1 amd64 8-20180414-1ubuntu2 [28.1 kB]
Get:16 http://pl.archive.ubuntu.com/ubuntu bionic/main amd64 libatomic1 amd64 8-20180414-1ubuntu2 [9,084 B]
Get:17 http://pl.archive.ubuntu.com/ubuntu bionic/main amd64 libasan4 amd64 7.3.0-16ubuntu3 [359 kB]
Get:18 http://pl.archive.ubuntu.com/ubuntu bionic/main amd64 liblsan0 amd64 8-20180414-1ubuntu2 [133 kB]
Get:19 http://pl.archive.ubuntu.com/ubuntu bionic/main amd64 libtsan0 amd64 8-20180414-1ubuntu2 [289 kB]
Get:20 http://pl.archive.ubuntu.com/ubuntu bionic/main amd64 libubsan0 amd64 7.3.0-16ubuntu3 [126 kB]
Get:21 http://pl.archive.ubuntu.com/ubuntu bionic/main amd64 libcilkrts5 amd64 7.3.0-16ubuntu3 [42.5 kB]
Get:22 http://pl.archive.ubuntu.com/ubuntu bionic/main amd64 libmpx2 amd64 8-20180414-1ubuntu2 [11.7 kB]
Get:23 http://pl.archive.ubuntu.com/ubuntu bionic/main amd64 libquadmath0 amd64 8-20180414-1ubuntu2 [134 kB]
Get:24 http://pl.archive.ubuntu.com/ubuntu bionic/main amd64 libgcc-7-dev amd64 7.3.0-16ubuntu3 [2,378 kB]
Get:25 http://pl.archive.ubuntu.com/ubuntu bionic/main amd64 gcc-7 amd64 7.3.0-16ubuntu3 [7,445 kB]
Get:26 http://pl.archive.ubuntu.com/ubuntu bionic/main amd64 gcc amd64 4:7.3.0-3ubuntu2 [5,192 B]
Get:27 http://pl.archive.ubuntu.com/ubuntu bionic/main amd64 libstdc++-7-dev amd64 7.3.0-16ubuntu3 [1,461 kB]
Get:28 http://pl.archive.ubuntu.com/ubuntu bionic/main amd64 g++-7 amd64 7.3.0-16ubuntu3 [7,566 kB]
Get:29 http://pl.archive.ubuntu.com/ubuntu bionic/main amd64 g++ amd64 4:7.3.0-3ubuntu2 [1,576 B]
Get:30 http://pl.archive.ubuntu.com/ubuntu bionic/main amd64 make amd64 4.1-9.1ubuntu1 [154 kB]
Get:31 http://pl.archive.ubuntu.com/ubuntu bionic/main amd64 libdpkg-perl all 1.19.0.5ubuntu2 [211 kB]
Get:32 http://pl.archive.ubuntu.com/ubuntu bionic/main amd64 dpkg-dev all 1.19.0.5ubuntu2 [607 kB]
Get:33 http://pl.archive.ubuntu.com/ubuntu bionic/main amd64 build-essential amd64 12.4ubuntu1 [4,758 B]
Get:34 http://pl.archive.ubuntu.com/ubuntu bionic-updates/main amd64 dkms all 2.3-3ubuntu9.1 [68.2 kB]
Get:35 http://pl.archive.ubuntu.com/ubuntu bionic/main amd64 libfakeroot amd64 1.22-2ubuntu1 [25.9 kB]
Get:36 http://pl.archive.ubuntu.com/ubuntu bionic/main amd64 fakeroot amd64 1.22-2ubuntu1 [62.3 kB]
Get:37 http://pl.archive.ubuntu.com/ubuntu bionic/main amd64 libalgorithm-diff-perl all 1.19.03-1 [47.6 kB]
Get:38 http://pl.archive.ubuntu.com/ubuntu bionic/main amd64 libalgorithm-diff-xs-perl amd64 0.04-5 [11.1 kB]
Get:39 http://pl.archive.ubuntu.com/ubuntu bionic/main amd64 libalgorithm-merge-perl all 0.08-3 [12.0 kB]
Get:40 http://pl.archive.ubuntu.com/ubuntu bionic/main amd64 libfile-fcntllock-perl amd64 0.22-3build2 [33.2 kB]
Get:41 http://pl.archive.ubuntu.com/ubuntu bionic/main amd64 manpages-dev all 4.15-1 [2,217 kB]
Get:42 http://pl.archive.ubuntu.com/ubuntu bionic/main amd64 unzip amd64 6.0-21ubuntu1 [167 kB]
Get:43 http://pl.archive.ubuntu.com/ubuntu bionic/universe amd64 xtables-addons-common amd64 3.0-0.1 [54.6 kB]
Get:44 http://pl.archive.ubuntu.com/ubuntu bionic/universe amd64 xtables-addons-dkms all 3.0-0.1 [277 kB]
Fetched 37.6 MB in 2s (21.6 MB/s)
Extracting templates from packages: 100%
Selecting previously unselected package binutils-common:amd64.
(Reading database ... 102164 files and directories currently installed.)
Preparing to unpack .../00-binutils-common_2.30-15ubuntu1_amd64.deb ...
Unpacking binutils-common:amd64 (2.30-15ubuntu1) ...
Selecting previously unselected package libbinutils:amd64.
Preparing to unpack .../01-libbinutils_2.30-15ubuntu1_amd64.deb ...
Unpacking libbinutils:amd64 (2.30-15ubuntu1) ...
Selecting previously unselected package binutils-x86-64-linux-gnu.
Preparing to unpack .../02-binutils-x86-64-linux-gnu_2.30-15ubuntu1_amd64.deb ...
Unpacking binutils-x86-64-linux-gnu (2.30-15ubuntu1) ...
Selecting previously unselected package binutils.
Preparing to unpack .../03-binutils_2.30-15ubuntu1_amd64.deb ...
Unpacking binutils (2.30-15ubuntu1) ...
Selecting previously unselected package libc-dev-bin.
Preparing to unpack .../04-libc-dev-bin_2.27-3ubuntu1_amd64.deb ...
Unpacking libc-dev-bin (2.27-3ubuntu1) ...
Selecting previously unselected package linux-libc-dev:amd64.
Preparing to unpack .../05-linux-libc-dev_4.15.0-22.24_amd64.deb ...
Unpacking linux-libc-dev:amd64 (4.15.0-22.24) ...
Selecting previously unselected package libc6-dev:amd64.
Preparing to unpack .../06-libc6-dev_2.27-3ubuntu1_amd64.deb ...
Unpacking libc6-dev:amd64 (2.27-3ubuntu1) ...
Selecting previously unselected package gcc-7-base:amd64.
Preparing to unpack .../07-gcc-7-base_7.3.0-16ubuntu3_amd64.deb ...
Unpacking gcc-7-base:amd64 (7.3.0-16ubuntu3) ...
Selecting previously unselected package libisl19:amd64.
Preparing to unpack .../08-libisl19_0.19-1_amd64.deb ...
Unpacking libisl19:amd64 (0.19-1) ...
Selecting previously unselected package libmpc3:amd64.
Preparing to unpack .../09-libmpc3_1.1.0-1_amd64.deb ...
Unpacking libmpc3:amd64 (1.1.0-1) ...
Selecting previously unselected package cpp-7.
Preparing to unpack .../10-cpp-7_7.3.0-16ubuntu3_amd64.deb ...
Unpacking cpp-7 (7.3.0-16ubuntu3) ...
Selecting previously unselected package cpp.
Preparing to unpack .../11-cpp_4%3a7.3.0-3ubuntu2_amd64.deb ...
Unpacking cpp (4:7.3.0-3ubuntu2) ...
Selecting previously unselected package libcc1-0:amd64.
Preparing to unpack .../12-libcc1-0_8-20180414-1ubuntu2_amd64.deb ...
Unpacking libcc1-0:amd64 (8-20180414-1ubuntu2) ...
Selecting previously unselected package libgomp1:amd64.
Preparing to unpack .../13-libgomp1_8-20180414-1ubuntu2_amd64.deb ...
Unpacking libgomp1:amd64 (8-20180414-1ubuntu2) ...
Selecting previously unselected package libitm1:amd64.
Preparing to unpack .../14-libitm1_8-20180414-1ubuntu2_amd64.deb ...
Unpacking libitm1:amd64 (8-20180414-1ubuntu2) ...
Selecting previously unselected package libatomic1:amd64.
Preparing to unpack .../15-libatomic1_8-20180414-1ubuntu2_amd64.deb ...
Unpacking libatomic1:amd64 (8-20180414-1ubuntu2) ...
Selecting previously unselected package libasan4:amd64.
Preparing to unpack .../16-libasan4_7.3.0-16ubuntu3_amd64.deb ...
Unpacking libasan4:amd64 (7.3.0-16ubuntu3) ...
Selecting previously unselected package liblsan0:amd64.
Preparing to unpack .../17-liblsan0_8-20180414-1ubuntu2_amd64.deb ...
Unpacking liblsan0:amd64 (8-20180414-1ubuntu2) ...
Selecting previously unselected package libtsan0:amd64.
Preparing to unpack .../18-libtsan0_8-20180414-1ubuntu2_amd64.deb ...
Unpacking libtsan0:amd64 (8-20180414-1ubuntu2) ...
Selecting previously unselected package libubsan0:amd64.
Preparing to unpack .../19-libubsan0_7.3.0-16ubuntu3_amd64.deb ...
Unpacking libubsan0:amd64 (7.3.0-16ubuntu3) ...
Selecting previously unselected package libcilkrts5:amd64.
Preparing to unpack .../20-libcilkrts5_7.3.0-16ubuntu3_amd64.deb ...
Unpacking libcilkrts5:amd64 (7.3.0-16ubuntu3) ...
Selecting previously unselected package libmpx2:amd64.
Preparing to unpack .../21-libmpx2_8-20180414-1ubuntu2_amd64.deb ...
Unpacking libmpx2:amd64 (8-20180414-1ubuntu2) ...
Selecting previously unselected package libquadmath0:amd64.
Preparing to unpack .../22-libquadmath0_8-20180414-1ubuntu2_amd64.deb ...
Unpacking libquadmath0:amd64 (8-20180414-1ubuntu2) ...
Selecting previously unselected package libgcc-7-dev:amd64.
Preparing to unpack .../23-libgcc-7-dev_7.3.0-16ubuntu3_amd64.deb ...
Unpacking libgcc-7-dev:amd64 (7.3.0-16ubuntu3) ...
Selecting previously unselected package gcc-7.
Preparing to unpack .../24-gcc-7_7.3.0-16ubuntu3_amd64.deb ...
Unpacking gcc-7 (7.3.0-16ubuntu3) ...
Selecting previously unselected package gcc.
Preparing to unpack .../25-gcc_4%3a7.3.0-3ubuntu2_amd64.deb ...
Unpacking gcc (4:7.3.0-3ubuntu2) ...
Selecting previously unselected package libstdc++-7-dev:amd64.
Preparing to unpack .../26-libstdc++-7-dev_7.3.0-16ubuntu3_amd64.deb ...
Unpacking libstdc++-7-dev:amd64 (7.3.0-16ubuntu3) ...
Selecting previously unselected package g++-7.
Preparing to unpack .../27-g++-7_7.3.0-16ubuntu3_amd64.deb ...
Unpacking g++-7 (7.3.0-16ubuntu3) ...
Selecting previously unselected package g++.
Preparing to unpack .../28-g++_4%3a7.3.0-3ubuntu2_amd64.deb ...
Unpacking g++ (4:7.3.0-3ubuntu2) ...
Selecting previously unselected package make.
Preparing to unpack .../29-make_4.1-9.1ubuntu1_amd64.deb ...
Unpacking make (4.1-9.1ubuntu1) ...
Selecting previously unselected package libdpkg-perl.
Preparing to unpack .../30-libdpkg-perl_1.19.0.5ubuntu2_all.deb ...
Unpacking libdpkg-perl (1.19.0.5ubuntu2) ...
Selecting previously unselected package dpkg-dev.
Preparing to unpack .../31-dpkg-dev_1.19.0.5ubuntu2_all.deb ...
Unpacking dpkg-dev (1.19.0.5ubuntu2) ...
Selecting previously unselected package build-essential.
Preparing to unpack .../32-build-essential_12.4ubuntu1_amd64.deb ...
Unpacking build-essential (12.4ubuntu1) ...
Selecting previously unselected package dkms.
Preparing to unpack .../33-dkms_2.3-3ubuntu9.1_all.deb ...
Unpacking dkms (2.3-3ubuntu9.1) ...
Selecting previously unselected package libfakeroot:amd64.
Preparing to unpack .../34-libfakeroot_1.22-2ubuntu1_amd64.deb ...
Unpacking libfakeroot:amd64 (1.22-2ubuntu1) ...
Selecting previously unselected package fakeroot.
Preparing to unpack .../35-fakeroot_1.22-2ubuntu1_amd64.deb ...
Unpacking fakeroot (1.22-2ubuntu1) ...
Selecting previously unselected package libalgorithm-diff-perl.
Preparing to unpack .../36-libalgorithm-diff-perl_1.19.03-1_all.deb ...
Unpacking libalgorithm-diff-perl (1.19.03-1) ...
Selecting previously unselected package libalgorithm-diff-xs-perl.
Preparing to unpack .../37-libalgorithm-diff-xs-perl_0.04-5_amd64.deb ...
Unpacking libalgorithm-diff-xs-perl (0.04-5) ...
Selecting previously unselected package libalgorithm-merge-perl.
Preparing to unpack .../38-libalgorithm-merge-perl_0.08-3_all.deb ...
Unpacking libalgorithm-merge-perl (0.08-3) ...
Selecting previously unselected package libfile-fcntllock-perl.
Preparing to unpack .../39-libfile-fcntllock-perl_0.22-3build2_amd64.deb ...
Unpacking libfile-fcntllock-perl (0.22-3build2) ...
Selecting previously unselected package manpages-dev.
Preparing to unpack .../40-manpages-dev_4.15-1_all.deb ...
Unpacking manpages-dev (4.15-1) ...
Selecting previously unselected package unzip.
Preparing to unpack .../41-unzip_6.0-21ubuntu1_amd64.deb ...
Unpacking unzip (6.0-21ubuntu1) ...
Selecting previously unselected package xtables-addons-common.
Preparing to unpack .../42-xtables-addons-common_3.0-0.1_amd64.deb ...
Unpacking xtables-addons-common (3.0-0.1) ...
Selecting previously unselected package xtables-addons-dkms.
Preparing to unpack .../43-xtables-addons-dkms_3.0-0.1_all.deb ...
Unpacking xtables-addons-dkms (3.0-0.1) ...
Setting up libquadmath0:amd64 (8-20180414-1ubuntu2) ...
Setting up libgomp1:amd64 (8-20180414-1ubuntu2) ...
Setting up libatomic1:amd64 (8-20180414-1ubuntu2) ...
Setting up libcc1-0:amd64 (8-20180414-1ubuntu2) ...
Setting up make (4.1-9.1ubuntu1) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Setting up libtsan0:amd64 (8-20180414-1ubuntu2) ...
Setting up unzip (6.0-21ubuntu1) ...
Setting up linux-libc-dev:amd64 (4.15.0-22.24) ...
Setting up libdpkg-perl (1.19.0.5ubuntu2) ...
Setting up xtables-addons-common (3.0-0.1) ...
Setting up liblsan0:amd64 (8-20180414-1ubuntu2) ...
Setting up gcc-7-base:amd64 (7.3.0-16ubuntu3) ...
Setting up binutils-common:amd64 (2.30-15ubuntu1) ...
Setting up libfile-fcntllock-perl (0.22-3build2) ...
Setting up libmpx2:amd64 (8-20180414-1ubuntu2) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Setting up libfakeroot:amd64 (1.22-2ubuntu1) ...
Setting up libalgorithm-diff-perl (1.19.03-1) ...
Processing triggers for man-db (2.8.3-2) ...
Setting up libmpc3:amd64 (1.1.0-1) ...
Setting up libc-dev-bin (2.27-3ubuntu1) ...
Setting up manpages-dev (4.15-1) ...
Setting up libc6-dev:amd64 (2.27-3ubuntu1) ...
Setting up libitm1:amd64 (8-20180414-1ubuntu2) ...
Setting up libisl19:amd64 (0.19-1) ...
Setting up libasan4:amd64 (7.3.0-16ubuntu3) ...
Setting up libbinutils:amd64 (2.30-15ubuntu1) ...
Setting up libcilkrts5:amd64 (7.3.0-16ubuntu3) ...
Setting up libubsan0:amd64 (7.3.0-16ubuntu3) ...
Setting up fakeroot (1.22-2ubuntu1) ...
update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode
Setting up libgcc-7-dev:amd64 (7.3.0-16ubuntu3) ...
Setting up cpp-7 (7.3.0-16ubuntu3) ...
Setting up libstdc++-7-dev:amd64 (7.3.0-16ubuntu3) ...
Setting up libalgorithm-merge-perl (0.08-3) ...
Setting up libalgorithm-diff-xs-perl (0.04-5) ...
Setting up binutils-x86-64-linux-gnu (2.30-15ubuntu1) ...
Setting up cpp (4:7.3.0-3ubuntu2) ...
Setting up binutils (2.30-15ubuntu1) ...
Setting up gcc-7 (7.3.0-16ubuntu3) ...
Setting up g++-7 (7.3.0-16ubuntu3) ...
Setting up gcc (4:7.3.0-3ubuntu2) ...
Setting up dpkg-dev (1.19.0.5ubuntu2) ...
Setting up dkms (2.3-3ubuntu9.1) ...
Setting up xtables-addons-dkms (3.0-0.1) ...
Loading new xtables-addons-3.0 DKMS files...
Building for 4.15.0-22-generic
Building initial module for 4.15.0-22-generic
Generating a new Secure Boot signing key:
Generating a 2048 bit RSA private key
...............+++
..+++
writing new private key to '/var/lib/shim-signed/mok/MOK.priv'
-----

Progress: [ 97%] [#####################################################################################################...]

summary: - failed to install xtables-addons-common when secure boot is enable
+ (uefi, ubuntu server 18.04) failed to install xtables-addons-common when
+ secure boot is enable
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in shim-signed (Ubuntu):
status: New → Confirmed
Revision history for this message
Steve Langasek (vorlon) wrote :

From the log, it appears the key was successfully generated, but then the package manager stopped at the point that it should have prompted you about enrolling this key in your firmware. Do you normally see debconf prompts from packages? What is the output of 'debconf-show debconf' on this system?

Is this apt run still stalled? What does a pstree look like of this system now, related to debconf processes?

Changed in shim-signed (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Daniel Rebelo (danielrebelo) wrote :

The keys are indeed generated, but after that the installation hangs, no prompt is shown.
Normally I can see debconf prompts from packages.

debconf-show debconf:
  debconf/priority: high
  debconf-apt-progress/title:
  debconf-apt-progress/preparing:
  debconf-apt-progress/info:
  debconf/frontend: Dialog
  debconf-apt-progress/media-change:

pstree:
systemd─┬─accounts-daemon───2*[{accounts-daemon}]
        ├─agetty
        ├─atd
        ├─cron
        ├─dbus-daemon
        ├─irqbalance───{irqbalance}
        ├─2*[iscsid]
        ├─lvmetad
        ├─lxcfs───2*[{lxcfs}]
        ├─networkd-dispat───{networkd-dispat}
        ├─polkitd───2*[{polkitd}]
        ├─rsyslogd───3*[{rsyslogd}]
        ├─snapd───9*[{snapd}]
        ├─sshd─┬─sshd───sshd───bash
        │ ├─sshd───sshd───sftp-server
        │ └─sshd───sshd───bash───sudo───pstree
        ├─sudo───apt───dpkg───xtables-addons-───common.postinst───dkms───dkms───frontend─┬─update-securebo
        │ └─whiptail
        ├─systemd───(sd-pam)
        ├─systemd-journal
        ├─systemd-logind
        ├─systemd-network
        ├─systemd-resolve
        ├─systemd-timesyn───{systemd-timesyn}
        └─systemd-udevd

as you can see apt still stalled.

Additional info:
This is a VM running on Hyper-V (WinServer 2016) with Secure Boot enable.

Revision history for this message
Daniel Rebelo (danielrebelo) wrote :

Finally I was able to successfully install with secure boot enable.

Steps:
1. Configure debconf to use readline instead of dialog 'dpkg-reconfigure debconf'
2. Install package 'apt install xtables-addons-common'
3. After the secure boot signing key is generated, system asks to input a password:
--
Enter a password for Secure Boot. It will be asked again after a reboot.
--
Type password. If typed password is too short or too long, the system will ask again to type a password.

Press enter and type once again the password.
--
Enter the same password again to verify you have typed it correctly.
--

4. Reboot
5. Enrool MOK and reboot.
6. Done!

This is a workaround, xtables-addons-common installation should also work using dialog prompt.

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

[Expired for shim-signed (Ubuntu) because there has been no activity for 60 days.]

Changed in shim-signed (Ubuntu):
status: Incomplete → Expired
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.