bpool free space low caused package linux-firmware 1.187.12 failed to install/upgrade: installed linux-firmware package post-installation script subprocess returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt (Ubuntu) |
New
|
Wishlist
|
Unassigned | ||
initramfs-tools (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Warning from zsys that bpool only had 11% free space when manually running "apt upgrade". There were also several packages that could be "auto-removed". Once apt autoremove was run, the linux-firmware was installed OK. Perhaps apt (or package install) could:
a) detect low disk space
b) note that free space can be made with autoremove
c) stop and raise an error, rather than crashing.
$ sudo apt autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED
linux-
linux-
linux-
python3-filelock python3-
python3-
0 to upgrade, 0 to newly install, 12 to remove and 1 not to upgrade.
2 not fully installed or removed.
After this operation, 391 MB disk space will be freed.
Do you want to continue? [Y/n] y
Requesting to save current system state
ERROR couldn't save system state: Minimum free space to take a snapshot and preserve ZFS performance is 20%.
Free space on pool "bpool" is 11%.
Please remove some states manually to free up space.
(Reading database ... 289639 files and directories currently installed.)
Removing linux-headers-
Removing linux-hwe-
Removing linux-modules-
Removing linux-image-
/etc/kernel/
dkms: removing: virtualbox 6.1.16 (5.8.0-49-generic) (x86_64)
-------- Uninstall Beginning --------
Module: virtualbox
Version: 6.1.16
Kernel: 5.8.0-49-generic (x86_64)
-------
Status: Before uninstall, this module version was ACTIVE on this kernel.
vboxdrv.ko:
- Uninstallation
- Deleting from: /lib/modules/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
vboxnetadp.ko:
- Uninstallation
- Deleting from: /lib/modules/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
vboxnetflt.ko:
- Uninstallation
- Deleting from: /lib/modules/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
depmod...
DKMS: uninstall completed.
/etc/kernel/
update-initramfs: Deleting /boot/initrd.
/etc/kernel/
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/
Generating grub configuration file ...
Found linux image: vmlinuz-
Found initrd image: initrd.
Found linux image: vmlinuz-
Found initrd image: initrd.
Found linux image: vmlinuz-
Found initrd image: initrd.
Found linux image: vmlinuz-
Found initrd image: initrd.
Found linux image: vmlinuz-
Found initrd image: initrd.
Found linux image: vmlinuz-
Found initrd image: initrd.
Found linux image: vmlinuz-
Found initrd image: initrd.
Found linux image: vmlinuz-
Found initrd image: initrd.
Found linux image: vmlinuz-
Found initrd image: initrd.
Found linux image: vmlinuz-
Found initrd image: initrd.
Found linux image: vmlinuz-
Found initrd image: initrd.
Found linux image: vmlinuz-
Found initrd image: initrd.
Found linux image: vmlinuz-
Found initrd image: initrd.
Found linux image: vmlinuz-
Found initrd image: initrd.
Found linux image: vmlinuz-
Found initrd image: initrd.
Found linux image: vmlinuz-
Found initrd image: initrd.
Found linux image: vmlinuz-
Found initrd image: initrd.
Found linux image: vmlinuz-
Found initrd image: initrd.
Found linux image: vmlinuz-
Found initrd image: initrd.
Found linux image: vmlinuz-
Found initrd image: initrd.
Found linux image: vmlinuz-
Found initrd image: initrd.
Found linux image: vmlinuz-
Found initrd image: initrd.
Found linux image: vmlinuz-
Found initrd image: initrd.
Found linux image: vmlinuz-
Found initrd image: initrd.
Found linux image: vmlinuz-
Found initrd image: initrd.
Found linux image: vmlinuz-
Found initrd image: initrd.
Found linux image: vmlinuz-
Found initrd image: initrd.
Found linux image: vmlinuz-
Found initrd image: initrd.
Found linux image: vmlinuz-
Found initrd image: initrd.
Found linux image: vmlinuz-
Found initrd image: initrd.
Found linux image: vmlinuz-
Found initrd image: initrd.
Found linux image: vmlinuz-
Found initrd image: initrd.
Found linux image: vmlinuz-
Found initrd image: initrd.
Found linux image: vmlinuz-
Found initrd image: initrd.
Found linux image: vmlinuz-
Found initrd image: initrd.
Found linux image: vmlinuz-
Found initrd image: initrd.
Found linux image: vmlinuz-
Found initrd image: initrd.
Found linux image: vmlinuz-
Found initrd image: initrd.
Found linux image: vmlinuz-
Found initrd image: initrd.
Found linux image: vmlinuz-
Found initrd image: initrd.
Found linux image: vmlinuz-
Found initrd image: initrd.
Found linux image: vmlinuz-
Found initrd image: initrd.
Found linux image: vmlinuz-
Found initrd image: initrd.
Found linux image: vmlinuz-
Found initrd image: initrd.
Found linux image: vmlinuz-
Found initrd image: initrd.
Found linux image: vmlinuz-
Found initrd image: initrd.
Found linux image: vmlinuz-
Found initrd image: initrd.
Found linux image: vmlinuz-
Found initrd image: initrd.
Found linux image: vmlinuz-
Found initrd image: initrd.
Found linux image: vmlinuz-
Found initrd image: initrd.
Found linux image: vmlinuz-
Found initrd image: initrd.
Found linux image: vmlinuz-
Found initrd image: initrd.
Found linux image: vmlinuz-
Found initrd image: initrd.
Found linux image: vmlinuz-
Found initrd image: initrd.
Found linux image: vmlinuz-
Found initrd image: initrd.
device-mapper: reload ioctl on osprober-linux-sda4 failed: Device or resource busy
Command failed.
Adding boot menu entry for UEFI Firmware Settings
done
Removing linux-modules-
Removing python3-virtualenv (20.0.17-
Removing python3-appdirs (1.4.3-2.1) ...
Removing python3-distlib (0.3.0-1) ...
Removing python3-filelock (3.0.12-2) ...
Removing python3-
Removing python3-zipp (1.0.0-1) ...
Removing python3-
Setting up initramfs-tools (0.136ubuntu6.4) ...
update-initramfs: deferring update (trigger activated)
Setting up linux-firmware (1.187.12) ...
update-initramfs: Generating /boot/initrd.
I: The initramfs will attempt to resume from /dev/sda2
I: (UUID=43e308d8-
I: Set the RESUME variable to override this.
update-initramfs: Generating /boot/initrd.
I: The initramfs will attempt to resume from /dev/sda2
I: (UUID=43e308d8-
I: Set the RESUME variable to override this.
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for initramfs-tools (0.136ubuntu6.4) ...
update-initramfs: Generating /boot/initrd.
I: The initramfs will attempt to resume from /dev/sda2
I: (UUID=43e308d8-
I: Set the RESUME variable to override this.
ZSys is adding automatic system snapshot to GRUB menu
alistair@
Filesystem Size Used Avail Use% Mounted on
udev 3.8G 0 3.8G 0% /dev
tmpfs 784M 2.0M 782M 1% /run
rpool/ROOT/
tmpfs 3.9G 0 3.9G 0% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup
bpool/BOOT/
rpool/USERDATA/
/dev/sda1 511M 20M 491M 4% /boot/efi
rpool/ROOT/
rpool/USERDATA/
rpool/ROOT/
rpool/ROOT/
rpool/ROOT/
rpool/USERDATA/
rpool/ROOT/
rpool/ROOT/
rpool/ROOT/
rpool/ROOT/
rpool/ROOT/
/dev/loop0 56M 56M 0 100% /snap/core18/1988
rpool/ROOT/
rpool/ROOT/
/dev/loop1 99M 99M 0 100% /snap/core/11081
rpool/ROOT/
rpool/ROOT/
/dev/loop2 62M 62M 0 100% /snap/core20/975
/dev/loop3 100M 100M 0 100% /snap/core/10958
/dev/loop4 65M 65M 0 100% /snap/gtk-
/dev/loop5 52M 52M 0 100% /snap/snap-
/dev/loop6 216M 216M 0 100% /snap/rpi-
/dev/loop7 52M 52M 0 100% /snap/snap-
/dev/loop8 33M 33M 0 100% /snap/snapd/11588
/dev/loop9 81M 81M 0 100% /snap/ffmpeg/1286
/dev/loop10 66M 66M 0 100% /snap/gtk-
/dev/loop11 409M 409M 0 100% /snap/pycharm-
/dev/loop12 56M 56M 0 100% /snap/core18/1997
/dev/loop13 219M 219M 0 100% /snap/gnome-
/dev/loop14 218M 218M 0 100% /snap/gnome-
/dev/loop15 409M 409M 0 100% /snap/pycharm-
/dev/loop16 33M 33M 0 100% /snap/snapd/11841
/dev/loop17 156M 156M 0 100% /snap/rpi-
tmpfs 784M 48K 784M 1% /run/user/1000
alistair@
Filesystem Size Used Avail Use% Mounted on
bpool/BOOT/
alistair@
ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: linux-firmware 1.187.12
ProcVersionSign
Uname: Linux 5.8.0-50-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
CasperMD5CheckR
Date: Tue May 18 12:35:20 2021
Dependencies:
ErrorMessage: installed linux-firmware package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2020-11-12 (186 days ago)
InstallationMedia: Ubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
MachineType: Hewlett-Packard HP EliteBook 8470p
PackageArchitec
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
Python3Details: /usr/bin/python3.8, Python 3.8.5, python3-minimal, 3.8.2-0ubuntu2
PythonDetails: /usr/bin/python3.8, Python 3.8.5, python-is-python3, 3.8.2-4
RelatedPackageV
SourcePackage: initramfs-tools
Title: package linux-firmware 1.187.12 failed to install/upgrade: installed linux-firmware package post-installation script subprocess returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 04/12/2018
dmi.bios.release: 15.113
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: 68ICF Ver. F.71
dmi.board.name: 179B
dmi.board.vendor: Hewlett-Packard
dmi.board.version: KBC Version 42.38
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.ec.
dmi.modalias: dmi:bvnHewlett-
dmi.product.family: 103C_5336AN G=N L=BUS B=HP S=ELI
dmi.product.name: HP EliteBook 8470p
dmi.product.sku: C3Q91UC#ABU
dmi.product.
dmi.sys.vendor: Hewlett-Packard
tags: | removed: need-duplicate-check |
Status changed to 'Confirmed' because the bug affects multiple users.