Package grub-efi-amd64-signed is not configured yet

Bug #1815017 reported by ionut stoica
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
grub-installer (Ubuntu)
Expired
Low
Unassigned

Bug Description

This is 18.04 - I never had this issue on the same hardware for the last year.
With the last updates I get:

```
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.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up grub-efi-amd64-signed (1.93.11+2.02-2ubuntu8.10) ...
Installing for x86_64-efi platform.
Could not prepare Boot variable: No space left on device
grub-install: error: efibootmgr failed to register the boot entry: Input/output error.
dpkg: error processing package grub-efi-amd64-signed (--configure):
 installed grub-efi-amd64-signed package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of shim-signed:
 shim-signed depends on grub-efi-amd64-signed; however:
  Package grub-efi-amd64-signed is not configured yet.

dpkg: error processing package shim-signed (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          Errors were encountered while processing:
 grub-efi-amd64-signed
 shim-signed
E: Sub-process /usr/bin/dpkg returned an error code (1)
```

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report, from the log
'Could not prepare Boot variable: No space left on device'

it looks like your disk is full, could you make some space and try again?

Changed in grub-installer (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
ionut stoica (i.stoica) wrote :

But the disk is not full, after df -H

Filesystem Size Used Avail Use% Mounted on
udev 17G 0 17G 0% /dev
tmpfs 3.4G 2.0M 3.4G 1% /run
/dev/sdc3 118G 40G 73G 36% /
tmpfs 17G 169M 17G 2% /dev/shm
tmpfs 5.3M 4.1k 5.3M 1% /run/lock
tmpfs 17G 0 17G 0% /sys/fs/cgroup
/dev/sdc4 373G 224G 131G 64% /home
/dev/sdc1 536M 7.8M 529M 2% /boot/efi
tmpfs 3.4G 17k 3.4G 1% /run/user/1000

Revision history for this message
Sebastien Bacher (seb128) wrote :

It could be that it's the boot partition that has no space. Could you look in the disks utility for non mounted partitions and their usage?

Revision history for this message
ionut stoica (i.stoica) wrote :

I have none, my fstab is this

  1 # /etc/fstab: static file system information.
  2 #
  3 # Use 'blkid' to print the universally unique identifier for a
  4 # device; this may be used with UUID= as a more robust way to name devices
  5 # that works even if disks are added and removed. See fstab(5).
  6 #
  7 # <file system> <mount point> <type> <options> <dump> <pass>
  8 # / was on /dev/sda3 during installation
  9 UUID=8d602024-b738-440d-b7d5-29a205306d2c / ext4 errors=remount-ro 0 1
 10 # /boot/efi was on /dev/sda1 during installation
 11 #UUID=AF3A-57DD /boot/efi vfat umask=0077 0 1
 12 # /home was on /dev/sda4 during installation
 13 UUID=1f286510-130c-4e74-a41f-b004e53826f6 /home ext4 defaults 0 2
 14 # swap was on /dev/sda2 during installation
 15 UUID=2f49d3f7-8691-40d8-b7a0-eaf71de5abf4 none swap sw 0 0
 16 UUID=AF3A-57DD /boot/efi vfat defaults 0 1

It got solved by restarting, there was a message in the boot screen with an EFI error (not able to see it all as it was very fast)

Then I was still able to boot, and now I managed to apt-get upgrade to finish and not stop at the error reported above.

Then restarted again and it seems to not have any issue anymore.

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

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

Changed in grub-installer (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.