[Bug 1769946] Re: package grub-efi-amd64-signed 1.93+2.02-2ubuntu8 fails to install and reboots the system

Ilya Ig. Petrov 1769946 at bugs.launchpad.net
Wed May 9 07:06:58 UTC 2018


I've caught the "No space left on device" error:

$ sudo dpkg --configure -a
Setting up grub-efi-amd64-signed (1.93+2.02-2ubuntu8) ...
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
Setting up efivar (34-1) ...
Processing triggers for man-db (2.8.3-2) ...
Errors were encountered while processing:
 grub-efi-amd64-signed

Also I get similar space errors when invoking `sudo efibootmgr -v -o 2`
or other efibootmgr commands. I have no dump* files in the efivars
folder:

ls /sys/firmware/efi/efivars/
AcpiGlobalVariable-af9ffd67-ec10-488a-9dfc-6cbf5ee22c2e
Boot0002-8be4df61-93ca-11d2-aa0d-00e098032b8c
BugCheckCode-ba57e015-65b3-4c3c-b274-659192f699e3
ConInDev-8be4df61-93ca-11d2-aa0d-00e098032b8c
ConOutDev-8be4df61-93ca-11d2-aa0d-00e098032b8c
DXELISTs-6b8483ed-a0a6-476f-b92f-dcae75685bd9
ErrOutDev-8be4df61-93ca-11d2-aa0d-00e098032b8c
Kernel_ATPSiStatus-77fa9abd-0359-4d32-bd60-28f4e78f784b
Kernel_EntRevokeSiStatus-77fa9abd-0359-4d32-bd60-28f4e78f784b
Kernel_RvkSiStatus-77fa9abd-0359-4d32-bd60-28f4e78f784b
Kernel_SiStatus-77fa9abd-0359-4d32-bd60-28f4e78f784b
Kernel_SkuSiStatus-77fa9abd-0359-4d32-bd60-28f4e78f784b
Kernel_WinSiStatus-77fa9abd-0359-4d32-bd60-28f4e78f784b
Lang-8be4df61-93ca-11d2-aa0d-00e098032b8c
LangCodes-8be4df61-93ca-11d2-aa0d-00e098032b8c
MemRestoreVariable-608dc793-15de-4a7f-a0c5-6c29beaf5d23
MSRVariable-af9ffd67-ec10-488a-9dfc-6cbf5ee22c2e
MTC-eb704011-1402-11d3-8e77-00a0c969723b
OfflineUniqueIDRandomSeedCRC-eaec226f-c9a3-477a-a826-ddc716cdc0e3
OfflineUniqueIDRandomSeed-eaec226f-c9a3-477a-a826-ddc716cdc0e3
PBRDevicePath-a9b5f8d2-cb6d-42c2-bc01-b5ffaae4335e
PreviousBoot-36d08fa7-cf0b-42f5-8f14-68df73ed3740
PsmAcpi-a41435a6-494a-4799-91fc-edf0406083a6
SetupDTS-c2830c26-e273-4000-8fca-2addcd68d634
SmmS3NvsData-8983fd2d-113c-4e2b-8f47-0abfeb20a41a
Timeout-8be4df61-93ca-11d2-aa0d-00e098032b8c
UnlockIDCopy-eaec226f-c9a3-477a-a826-ddc716cdc0e3

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

Title:
  package grub-efi-amd64-signed 1.93+2.02-2ubuntu8 fails to install and
  reboots the system

Status in dpkg package in Ubuntu:
  New

Bug description:
  System: Ubuntu 18.04 LTS (Lubuntu)
  Package: grub-efi-amd64-signed 1.93+2.02-2ubuntu8

  1) The system is Lubuntu 18.04. During its install the installer (ubiquity)
  rebooted too soon without showing any success message. After reboot a new
  record appeared in my rEFInd that contains word "vmlinuz" which boots
  Lubuntu just fine.
  2) The installer of KDE Neon (around 03.2018) reboots too early in the same vein.
  3) After booting into the installed system and trying to `apt install`ing
  a new package dpkg asks:
  ```
  dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
  ```.
  4) Running `sudo dpkg --configure -a --debug=100` produces almost no
  output and reboots the system.

  $ cat stderr.log 
  Installing for x86_64-efi platform.
  $ cat stdout.log 
  Setting up grub-efi-amd64-signed (1.93+2.02-2ubuntu8) ...

  5) tail /var/log/dpkg

  2018-05-08 20:57:39 startup packages configure
  2018-05-08 20:57:39 configure grub-efi-amd64-signed:amd64 1.93+2.02-2ubuntu8 <none>
  2018-05-08 20:57:39 status half-configured grub-efi-amd64-signed:amd64 1.93+2.02-2ubuntu8

  6) A few days before it was producing more output, specifically the
  sentence:

  "Could not prepare Boot variable: No space left on device"

  7)

  $ df -h
  Filesystem      Size  Used Avail Use% Mounted on
  udev            1,5G     0  1,5G   0% /dev
  tmpfs           300M  1,3M  299M   1% /run
  /dev/sda7        95G  4,0G   86G   5% /
  tmpfs           1,5G  6,8M  1,5G   1% /dev/shm
  tmpfs           5,0M  4,0K  5,0M   1% /run/lock
  tmpfs           1,5G     0  1,5G   0% /sys/fs/cgroup
  /dev/sda4        96M   31M   66M  32% /boot/efi
  tmpfs           300M   12K  300M   1% /run/user/1000

  8) Laptop is Samsung R730 from 2010 (NP-R730-JS05RU), I guess it has EFI, not UEFI.
  Support page (RU): http://www.samsung.com/ru/support/model/NP-R730-JS05RU

  9) BIOS is the latest 07JD:

  $ dmidecode
  ...
  Handle 0x0000, DMI type 0, 24 bytes
  BIOS Information
  	Vendor: Phoenix Technologies Ltd.
  	Version: 07JD.M027.20100927.KSJ
  	Release Date: 09/27/2010
  	Address: 0xE4960
  	Runtime Size: 112288 bytes
  	ROM Size: 2048 kB
  	Characteristics:
  		ISA is supported
  		PCI is supported
  		PC Card (PCMCIA) is supported
  		PNP is supported
  		BIOS is upgradeable
  		BIOS shadowing is allowed
  		ESCD support is available
  		Boot from CD is supported
  		ACPI is supported
  		USB legacy is supported
  		AGP is supported
  		Smart battery is supported
  		BIOS boot specification is supported
  		Targeted content distribution is supported
  	BIOS Revision: 7.0
  ...

  Please, tell me which commands should I run to gather more information
  for you to analyse.

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



More information about the foundations-bugs mailing list