[Touch-packages] [Bug 1928789] Re: bpool free space low caused package linux-firmware 1.187.12 failed to install/upgrade: installed linux-firmware package post-installation script subprocess returned

2022-10-24 Thread Dan Bungert
Hi, thanks for the report.

I think we should move this to a feature request for apt, to be
discussed there.

** Also affects: apt (Ubuntu)
   Importance: Undecided
   Status: New

** Tags added: foundations-triage-discuss

** Changed in: apt (Ubuntu)
   Importance: Undecided => Wishlist

** Changed in: initramfs-tools (Ubuntu)
   Status: Confirmed => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1928789

Title:
  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

Status in apt package in Ubuntu:
  New
Status in initramfs-tools package in Ubuntu:
  Invalid

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-headers-5.8.0-49-generic linux-hwe-5.8-headers-5.8.0-49
linux-image-5.8.0-49-generic linux-modules-5.8.0-49-generic
linux-modules-extra-5.8.0-49-generic python3-appdirs python3-distlib
python3-filelock python3-importlib-metadata python3-more-itertools
python3-virtualenv python3-zipp
  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-5.8.0-49-generic (5.8.0-49.55~20.04.1) ...
  Removing linux-hwe-5.8-headers-5.8.0-49 (5.8.0-49.55~20.04.1) ...
  Removing linux-modules-extra-5.8.0-49-generic (5.8.0-49.55~20.04.1) ...
  Removing linux-image-5.8.0-49-generic (5.8.0-49.55~20.04.1) ...
  /etc/kernel/prerm.d/dkms:
  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/5.8.0-49-generic/updates/dkms/
   - 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/5.8.0-49-generic/updates/dkms/
   - 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/5.8.0-49-generic/updates/dkms/
   - 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/postrm.d/initramfs-tools:
  update-initramfs: Deleting /boot/initrd.img-5.8.0-49-generic
  /etc/kernel/postrm.d/zz-update-grub:
  Sourcing file `/etc/default/grub'
  Sourcing file `/etc/default/grub.d/init-select.cfg'
  Generating grub configuration file ...
  Found linux image: vmlinuz-5.8.0-53-generic in rpool/ROOT/ubuntu_l3g9y7
  Found initrd image: initrd.img-5.8.0-53-generic in rpool/ROOT/ubuntu_l3g9y7
  Found linux image: vmlinuz-5.8.0-50-generic in rpool/ROOT/ubuntu_l3g9y7
  Found initrd image: initrd.img-5.8.0-50-generic in rpool/ROOT/ubuntu_l3g9y7
  Found linux image: vmlinuz-5.4.0-58-generic in 
rpool/ROOT/ubuntu_l3g9y7@autozsys_8mgn83
  Found initrd image: initrd.img-5.4.0-58-generic in 
rpool/ROOT/ubuntu_l3g9y7@autozsys_8mgn83
  Found linux image: vmlinuz-5.4.0-56-generic in 
rpool/ROOT/ubuntu_l3g9y7@autozsys_8mgn83
  Found initrd image: initrd.img-5.4.0-56-generic in 
rpool/ROOT/ubuntu_l3g9y7@autozsys_8mgn83
  Found linux image: vmlinuz-5.4.0-53-generic in 
rpool/ROOT/ubuntu_l3g9y7@autozsys_8mgn83
  Found initrd image: initrd.img-5.4.0-53-generic in 
rpool/ROOT/ubuntu_l3g9y7@autozsys_8mgn83
  Found linux image: vmlinuz-5.4.0-58-generic in 
rpool/ROOT/ubuntu_l3g9y7@autozsys_z80dj8
  Found initrd image: 

[Touch-packages] [Bug 1928789] Re: bpool free space low caused package linux-firmware 1.187.12 failed to install/upgrade: installed linux-firmware package post-installation script subprocess returned

2022-10-22 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: initramfs-tools (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1928789

Title:
  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

Status in initramfs-tools package in Ubuntu:
  Confirmed

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-headers-5.8.0-49-generic linux-hwe-5.8-headers-5.8.0-49
linux-image-5.8.0-49-generic linux-modules-5.8.0-49-generic
linux-modules-extra-5.8.0-49-generic python3-appdirs python3-distlib
python3-filelock python3-importlib-metadata python3-more-itertools
python3-virtualenv python3-zipp
  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-5.8.0-49-generic (5.8.0-49.55~20.04.1) ...
  Removing linux-hwe-5.8-headers-5.8.0-49 (5.8.0-49.55~20.04.1) ...
  Removing linux-modules-extra-5.8.0-49-generic (5.8.0-49.55~20.04.1) ...
  Removing linux-image-5.8.0-49-generic (5.8.0-49.55~20.04.1) ...
  /etc/kernel/prerm.d/dkms:
  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/5.8.0-49-generic/updates/dkms/
   - 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/5.8.0-49-generic/updates/dkms/
   - 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/5.8.0-49-generic/updates/dkms/
   - 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/postrm.d/initramfs-tools:
  update-initramfs: Deleting /boot/initrd.img-5.8.0-49-generic
  /etc/kernel/postrm.d/zz-update-grub:
  Sourcing file `/etc/default/grub'
  Sourcing file `/etc/default/grub.d/init-select.cfg'
  Generating grub configuration file ...
  Found linux image: vmlinuz-5.8.0-53-generic in rpool/ROOT/ubuntu_l3g9y7
  Found initrd image: initrd.img-5.8.0-53-generic in rpool/ROOT/ubuntu_l3g9y7
  Found linux image: vmlinuz-5.8.0-50-generic in rpool/ROOT/ubuntu_l3g9y7
  Found initrd image: initrd.img-5.8.0-50-generic in rpool/ROOT/ubuntu_l3g9y7
  Found linux image: vmlinuz-5.4.0-58-generic in 
rpool/ROOT/ubuntu_l3g9y7@autozsys_8mgn83
  Found initrd image: initrd.img-5.4.0-58-generic in 
rpool/ROOT/ubuntu_l3g9y7@autozsys_8mgn83
  Found linux image: vmlinuz-5.4.0-56-generic in 
rpool/ROOT/ubuntu_l3g9y7@autozsys_8mgn83
  Found initrd image: initrd.img-5.4.0-56-generic in 
rpool/ROOT/ubuntu_l3g9y7@autozsys_8mgn83
  Found linux image: vmlinuz-5.4.0-53-generic in 
rpool/ROOT/ubuntu_l3g9y7@autozsys_8mgn83
  Found initrd image: initrd.img-5.4.0-53-generic in 
rpool/ROOT/ubuntu_l3g9y7@autozsys_8mgn83
  Found linux image: vmlinuz-5.4.0-58-generic in 
rpool/ROOT/ubuntu_l3g9y7@autozsys_z80dj8
  Found initrd image: initrd.img-5.4.0-58-generic in 
rpool/ROOT/ubuntu_l3g9y7@autozsys_z80dj8
  Found linux image: vmlinuz-5.4.0-56-generic in 
rpool/ROOT/ubuntu_l3g9y7@autozsys_z80dj8
  Found initrd image: initrd.img-5.4.0-56-generic in 
rpool/ROOT/ubuntu_l3g9y7@autozsys_z80dj8
  Found linux image: 

[Touch-packages] [Bug 1928789] Re: bpool free space low caused package linux-firmware 1.187.12 failed to install/upgrade: installed linux-firmware package post-installation script subprocess returned

2021-05-18 Thread Apport retracing service
** Tags removed: need-duplicate-check

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1928789

Title:
  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

Status in initramfs-tools package in Ubuntu:
  New

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-headers-5.8.0-49-generic linux-hwe-5.8-headers-5.8.0-49
linux-image-5.8.0-49-generic linux-modules-5.8.0-49-generic
linux-modules-extra-5.8.0-49-generic python3-appdirs python3-distlib
python3-filelock python3-importlib-metadata python3-more-itertools
python3-virtualenv python3-zipp
  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-5.8.0-49-generic (5.8.0-49.55~20.04.1) ...
  Removing linux-hwe-5.8-headers-5.8.0-49 (5.8.0-49.55~20.04.1) ...
  Removing linux-modules-extra-5.8.0-49-generic (5.8.0-49.55~20.04.1) ...
  Removing linux-image-5.8.0-49-generic (5.8.0-49.55~20.04.1) ...
  /etc/kernel/prerm.d/dkms:
  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/5.8.0-49-generic/updates/dkms/
   - 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/5.8.0-49-generic/updates/dkms/
   - 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/5.8.0-49-generic/updates/dkms/
   - 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/postrm.d/initramfs-tools:
  update-initramfs: Deleting /boot/initrd.img-5.8.0-49-generic
  /etc/kernel/postrm.d/zz-update-grub:
  Sourcing file `/etc/default/grub'
  Sourcing file `/etc/default/grub.d/init-select.cfg'
  Generating grub configuration file ...
  Found linux image: vmlinuz-5.8.0-53-generic in rpool/ROOT/ubuntu_l3g9y7
  Found initrd image: initrd.img-5.8.0-53-generic in rpool/ROOT/ubuntu_l3g9y7
  Found linux image: vmlinuz-5.8.0-50-generic in rpool/ROOT/ubuntu_l3g9y7
  Found initrd image: initrd.img-5.8.0-50-generic in rpool/ROOT/ubuntu_l3g9y7
  Found linux image: vmlinuz-5.4.0-58-generic in 
rpool/ROOT/ubuntu_l3g9y7@autozsys_8mgn83
  Found initrd image: initrd.img-5.4.0-58-generic in 
rpool/ROOT/ubuntu_l3g9y7@autozsys_8mgn83
  Found linux image: vmlinuz-5.4.0-56-generic in 
rpool/ROOT/ubuntu_l3g9y7@autozsys_8mgn83
  Found initrd image: initrd.img-5.4.0-56-generic in 
rpool/ROOT/ubuntu_l3g9y7@autozsys_8mgn83
  Found linux image: vmlinuz-5.4.0-53-generic in 
rpool/ROOT/ubuntu_l3g9y7@autozsys_8mgn83
  Found initrd image: initrd.img-5.4.0-53-generic in 
rpool/ROOT/ubuntu_l3g9y7@autozsys_8mgn83
  Found linux image: vmlinuz-5.4.0-58-generic in 
rpool/ROOT/ubuntu_l3g9y7@autozsys_z80dj8
  Found initrd image: initrd.img-5.4.0-58-generic in 
rpool/ROOT/ubuntu_l3g9y7@autozsys_z80dj8
  Found linux image: vmlinuz-5.4.0-56-generic in 
rpool/ROOT/ubuntu_l3g9y7@autozsys_z80dj8
  Found initrd image: initrd.img-5.4.0-56-generic in 
rpool/ROOT/ubuntu_l3g9y7@autozsys_z80dj8
  Found linux image: vmlinuz-5.4.0-53-generic in 
rpool/ROOT/ubuntu_l3g9y7@autozsys_z80dj8
  Found initrd image: