[Bug 1871314] [NEW] Could not prepare Boot variable: No space left on device
Launchpad Bug Tracker
1871314 at bugs.launchpad.net
Tue Apr 7 08:06:17 UTC 2020
You have been subscribed to a public bug:
I have tried updating some packaged on Ubuntu 18.04
sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
linux-generic linux-headers-generic linux-image-generic
0 upgraded, 0 newly installed, 0 to remove and 3 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]
Setting up grub-efi-amd64-signed (1.93.16+2.02-2ubuntu8.15) ...
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 processing triggers for 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 triggers unprocessed
Errors were encountered while processing:
grub-efi-amd64-signed
shim-signed
E: Sub-process /usr/bin/dpkg returned an error code (1)
Confirming there is space on the devices:
df -h
Filesystem Size Used Avail Use% Mounted on
udev 16G 0 16G 0% /dev
tmpfs 3.2G 2.7M 3.2G 1% /run
/dev/mapper/vg_system-lv_system 3.6T 46G 3.4T 2% /
tmpfs 16G 0 16G 0% /dev/shm
tmpfs 5.0M 8.0K 5.0M 1% /run/lock
tmpfs 16G 0 16G 0% /sys/fs/cgroup
/dev/sda2 923M 146M 714M 17% /boot
/dev/sda1 188M 6.0M 182M 4% /boot/efi
/dev/mapper/vg_sqlserver-lv_sqlserver 9.1T 5.9T 2.8T 68% /lv/sqlserver
tmpfs 3.2G 0 3.2G 0% /run/user/1000
Confirming there are iNodes free on the devices:
df -hi
Filesystem Inodes IUsed IFree IUse% Mounted on
udev 4.0M 584 4.0M 1% /dev
tmpfs 4.0M 903 4.0M 1% /run
/dev/mapper/vg_system-lv_system 232M 133K 231M 1% /
tmpfs 4.0M 1 4.0M 1% /dev/shm
tmpfs 4.0M 6 4.0M 1% /run/lock
tmpfs 4.0M 18 4.0M 1% /sys/fs/cgroup
/dev/sda2 60K 303 60K 1% /boot
/dev/sda1 0 0 0 - /boot/efi
/dev/mapper/vg_sqlserver-lv_sqlserver 292M 528 292M 1% /lv/sqlserver
tmpfs 4.0M 11 4.0M 1% /run/user/1000
/boot/efi is a separate file system, don't know whether this is supposed to have inodes:
fdisk -l /dev/sda
Disk /dev/sda: 9.1 TiB, 10000831348736 bytes, 19532873728 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: E287F2FF-21A8-4061-99AA-FF399C8D6CEE
Device Start End Sectors Size Type
/dev/sda1 2048 391167 389120 190M EFI System
/dev/sda2 391168 2344959 1953792 954M Linux filesystem
/dev/sda3 2344960 19532871679 19530526720 9.1T Linux LVM
Confirming apt-get install -f does not fix this issue:
apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... 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.16+2.02-2ubuntu8.15) ...
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)
Motherboard:
ASUS Z97-PRO, Revision 1.xx
BIOS American Megatrends Inc., Version 3503
CPU is i7-4790 @ 3.60GHz
Memory 32GB (4x8 GB)
/dev/sda is a Toshiba 10TB MG06ACA1 with gpt partitioning
/dev/sdb is a Toshiba 4TB MG04ACA4 with gpt partitioning
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: ubuntu-release-upgrader-core 1:18.04.37
ProcVersionSignature: Ubuntu 4.15.0-88.88-generic 4.15.18
Uname: Linux 4.15.0-88-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.14
Architecture: amd64
CrashDB: ubuntu
Date: Tue Apr 7 15:32:22 2020
InstallationDate: Installed on 2019-10-28 (162 days ago)
InstallationMedia: Ubuntu-Server 18.04.3 LTS "Bionic Beaver" - Release amd64 (20190805)
PackageArchitecture: all
ProcEnviron:
LANGUAGE=en_HK:en
TERM=putty-256color
PATH=(custom, no user)
LANG=en_HK.UTF-8
SHELL=/bin/bash
SourcePackage: ubuntu-release-upgrader
Symptom: dist-upgrade
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: ubuntu-release-upgrader (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug bionic dist-upgrade
--
Could not prepare Boot variable: No space left on device
https://bugs.launchpad.net/bugs/1871314
You received this bug notification because you are a member of Ubuntu Foundations Bugs, which is subscribed to ubuntu-release-upgrader in Ubuntu.
More information about the foundations-bugs
mailing list