grub-efi-amd64 (2.02~beta2-36ubuntu3.17) gets stuck upon setup
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Ubuntu messed up grub completely, probably in an update, so one day the harddrive wasn't bootable anymore. I had to use a rescue usb and do another grub-install to get it to boot.
But since then, I can't use apt cause grub-efi-amd64 hangs. This was my interaction:
$ sudo apt install inkscape
[sudo] password for cjk:
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
$ sudo dpkg --configure -a
Setting up docker-ce (17.12.
initctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/
insserv: warning: script 'screen-cleanup' missing LSB tags and overrides
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `screen-cleanup'
insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `screen-cleanup'
initctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/
insserv: warning: script 'binfmt-support' missing LSB tags and overrides
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `binfmt-support'
insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `binfmt-support'
Setting up grub-efi-amd64 (2.02~beta2-
Installing for x86_64-efi platform.
^Cdpkg: error processing package grub-efi-amd64 (--configure):
subprocess installed post-installation script was interrupted
Setting up libpulse0:amd64 (1:8.0-0ubuntu3.8) ...
Setting up libpulse0:i386 (1:8.0-0ubuntu3.8) ...
dpkg: dependency problems prevent configuration of grub-efi-
grub-efi-
Package grub-efi-amd64 is not configured yet.
dpkg: error processing package grub-efi-
dependency problems - leaving unconfigured
Setting up python-apt (1.1.0~
Setting up nvidia-common (1:0.4.17.7) ...
Setting up python3-distupgrade (1:16.04.24) ...
Setting up libpulse-
Setting up libpulse-dev:amd64 (1:8.0-0ubuntu3.8) ...
Setting up libpulsedsp:amd64 (1:8.0-0ubuntu3.8) ...
Setting up pulseaudio-utils (1:8.0-0ubuntu3.8) ...
Setting up ubuntu-
Setting up pulseaudio (1:8.0-0ubuntu3.8) ...
Setting up pulseaudio-
Setting up ubuntu-
Setting up pulseaudio-
Setting up pulseaudio-
Setting up pulseaudio-
Setting up pulseaudio-
Processing triggers for libc-bin (2.23-0ubuntu10) ...
Errors were encountered while processing:
grub-efi-amd64
grub-efi-
$ sudo apt install inkscape
[sudo] password for cjk:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libqmi-glib1 linux-headers-
linux-
linux-
linux-
linux-
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
libgnomevfs2-
Suggested packages:
pstoedit dia | dia-gnome libsvg-perl libxml-xql-perl python-uniconvertor ruby gsl-ref-psdoc | gsl-doc-pdf | gsl-doc-info | gsl-ref-html
imagemagick-doc xfig
The following NEW packages will be installed:
inkscape libgnomevfs2-extra libgsl2 libimage-
0 upgraded, 8 newly installed, 0 to remove and 14 not upgraded.
2 not fully installed or removed.
Need to get 14.1 MB of archives.
After this operation, 91.9 MB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://
Get:2 http://
Get:3 http://
Get:4 http://
Get:5 http://
Get:6 http://
Get:7 http://
Get:8 http://
Fetched 14.1 MB in 1s (12.4 MB/s)
Selecting previously unselected package libgsl2:amd64.
(Reading database ... 457703 files and directories currently installed.)
Preparing to unpack .../libgsl2_
Unpacking libgsl2:amd64 (2.1+dfsg-2) ...
Selecting previously unselected package libmagick+
Preparing to unpack .../libmagick+
Unpacking libmagick+
Selecting previously unselected package inkscape.
Preparing to unpack .../inkscape_
Unpacking inkscape (0.91-7ubuntu2) ...
Selecting previously unselected package libgnomevfs2-
Preparing to unpack .../libgnomevfs
Unpacking libgnomevfs2-
Selecting previously unselected package libimage-
Preparing to unpack .../libimage-
Unpacking libimage-
Selecting previously unselected package libimage-
Preparing to unpack .../libimage-
Unpacking libimage-
Selecting previously unselected package libwmf-bin.
Preparing to unpack .../libwmf-
Unpacking libwmf-bin (0.2.8.
Selecting previously unselected package transfig.
Preparing to unpack .../transfig_
Unpacking transfig (1:3.2.5.e-5) ...
Processing triggers for libc-bin (2.23-0ubuntu10) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu5.1) ...
Processing triggers for mime-support (3.59ubuntu1) ...
Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...
Processing triggers for bamfdaemon (0.5.3~
Rebuilding /usr/share/
Processing triggers for doc-base (0.10.7) ...
Processing 2 added doc-base files...
Registering documents with scrollkeeper...
Setting up grub-efi-amd64 (2.02~beta2-
Installing for x86_64-efi platform.
Progress: [ 51%] [######
And there it hung. This is part of the pstree for the offending process.
bash(8087)
The efibootmgr seems to be unkillable as well.
It just adds more of them, though:
─bash(8087)
So how do I go forward with this?
Status changed to 'Confirmed' because the bug affects multiple users.