[Bug 1943122] Re: Software update doesn't run autoremove so that update fails due to no disk space in /boot

Julian Andres Klode 1943122 at bugs.launchpad.net
Thu Sep 9 14:24:07 UTC 2021


update-manager offers removal since bionic

update-manager (1:18.04.8) bionic; urgency=medium 
    
  * Offer removal of unused autoremovable kernel packages
    (LP: #1624644, #1675079)

 -- Balint Reczey <rbalint at ubuntu.com>  Wed, 21 Mar 2018 14:34:05 +0000


Due to bug 1912718, the was broken for a short time in focal, in version 1:20.04.10.3 only.

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

Title:
  Software update doesn't run autoremove so that update fails due to no
  disk space in /boot

Status in update-manager package in Ubuntu:
  Incomplete

Bug description:
  Environment: Ubuntu 20.04 LTS installed, more or less, day 1 since
  release

  I saw this issue a couple of times on my colleagues notebook but since
  happens also to me I gather some additional info. I usually update my
  sistem with command line since I have to do other stuff before
  starting my job (fix routes for my vpn, store my ssh key password with
  ssh-add, and others); update process is part of these commands as
  daily activity.

  Today I ran it via Software Updates, I was distracted and the Ubuntu
  friendly software kind reminds me to update my system, so that I
  proceed in that way but a pop up appears (sorry for italian) alerting
  me that there is no space left in /boot to update the kernel and I
  should have type 'sudo apt autoremove' to fix the issue. Don't know if
  this is related about 4 kernels I have installed

  Lettura file "/etc/default/grub.d/init-select.cfg"
  Generazione file di configurazione GRUB...
  Trovata immagine linux: /boot/vmlinuz-5.11.0-34-generic
  Trovata immagine initrd: /boot/initrd.img-5.11.0-34-generic
  Trovata immagine linux: /boot/vmlinuz-5.11.0-27-generic
  Trovata immagine initrd: /boot/initrd.img-5.11.0-27-generic
  Trovata immagine linux: /boot/vmlinuz-5.8.0-63-generic
  Trovata immagine initrd: /boot/initrd.img-5.8.0-63-generic
  Trovata immagine linux: /boot/vmlinuz-5.4.0-58-generic
  Trovata immagine initrd: /boot/initrd.img-5.4.0-58-generic
  Adding boot menu entry for UEFI Firmware Settings
  fatto
  Rimozione di linux-modules-5.11.0-25-generic (5.11.0-25.27~20.04.1)...

  Obviously running the usual
  sudo apt update && sudo apt upgrade
  hasn't any issue and
  sudo apt autoremove
  cleaned up perfeclty more or less 400MB of disk space.

  Below the update details:

  luca at ubuntu:~$ apt list --upgradable
  Elencazione... Fatto
  alsa-ucm-conf/focal-updates,focal-updates 1.2.2-1ubuntu0.10 all [aggiornabile da: 1.2.2-1ubuntu0.9]
  cpio/focal-updates,focal-security 2.13+dfsg-2ubuntu0.3 amd64 [aggiornabile da: 2.13+dfsg-2]
  fonts-opensymbol/focal,focal 2:102.12+LibO7.1.6~rc2-0ubuntu0.20.04.1~lo1 all [aggiornabile da: 2:102.12+LibO7.1.5~rc2-0ubuntu0.20.04.1~lo1]
  libgd3/focal-updates,focal-security 2.2.5-5.2ubuntu2.1 amd64 [aggiornabile da: 2.2.5-5.2ubuntu2]
  libreoffice-base-core/focal 1:7.1.6~rc2-0ubuntu0.20.04.1~lo1 amd64 [aggiornabile da: 1:7.1.5~rc2-0ubuntu0.20.04.1~lo1]
  libreoffice-calc/focal 1:7.1.6~rc2-0ubuntu0.20.04.1~lo1 amd64 [aggiornabile da: 1:7.1.5~rc2-0ubuntu0.20.04.1~lo1]
  libreoffice-common/focal,focal 1:7.1.6~rc2-0ubuntu0.20.04.1~lo1 all [aggiornabile da: 1:7.1.5~rc2-0ubuntu0.20.04.1~lo1]
  libreoffice-core/focal 1:7.1.6~rc2-0ubuntu0.20.04.1~lo1 amd64 [aggiornabile da: 1:7.1.5~rc2-0ubuntu0.20.04.1~lo1]
  libreoffice-draw/focal 1:7.1.6~rc2-0ubuntu0.20.04.1~lo1 amd64 [aggiornabile da: 1:7.1.5~rc2-0ubuntu0.20.04.1~lo1]
  libreoffice-gnome/focal 1:7.1.6~rc2-0ubuntu0.20.04.1~lo1 amd64 [aggiornabile da: 1:7.1.5~rc2-0ubuntu0.20.04.1~lo1]
  libreoffice-gtk3/focal 1:7.1.6~rc2-0ubuntu0.20.04.1~lo1 amd64 [aggiornabile da: 1:7.1.5~rc2-0ubuntu0.20.04.1~lo1]
  libreoffice-help-common/focal,focal 1:7.1.6~rc2-0ubuntu0.20.04.1~lo1 all [aggiornabile da: 1:7.1.5~rc2-0ubuntu0.20.04.1~lo1]
  libreoffice-help-en-us/focal,focal 1:7.1.6~rc2-0ubuntu0.20.04.1~lo1 all [aggiornabile da: 1:7.1.5~rc2-0ubuntu0.20.04.1~lo1]
  libreoffice-help-it/focal,focal 1:7.1.6~rc2-0ubuntu0.20.04.1~lo1 all [aggiornabile da: 1:7.1.5~rc2-0ubuntu0.20.04.1~lo1]
  libreoffice-impress/focal 1:7.1.6~rc2-0ubuntu0.20.04.1~lo1 amd64 [aggiornabile da: 1:7.1.5~rc2-0ubuntu0.20.04.1~lo1]
  libreoffice-l10n-it/focal,focal 1:7.1.6~rc2-0ubuntu0.20.04.1~lo1 all [aggiornabile da: 1:7.1.5~rc2-0ubuntu0.20.04.1~lo1]
  libreoffice-math/focal 1:7.1.6~rc2-0ubuntu0.20.04.1~lo1 amd64 [aggiornabile da: 1:7.1.5~rc2-0ubuntu0.20.04.1~lo1]
  libreoffice-ogltrans/focal,focal 1:7.1.6~rc2-0ubuntu0.20.04.1~lo1 all [aggiornabile da: 1:7.1.5~rc2-0ubuntu0.20.04.1~lo1]
  libreoffice-pdfimport/focal,focal 1:7.1.6~rc2-0ubuntu0.20.04.1~lo1 all [aggiornabile da: 1:7.1.5~rc2-0ubuntu0.20.04.1~lo1]
  libreoffice-style-breeze/focal,focal 1:7.1.6~rc2-0ubuntu0.20.04.1~lo1 all [aggiornabile da: 1:7.1.5~rc2-0ubuntu0.20.04.1~lo1]
  libreoffice-style-colibre/focal,focal 1:7.1.6~rc2-0ubuntu0.20.04.1~lo1 all [aggiornabile da: 1:7.1.5~rc2-0ubuntu0.20.04.1~lo1]
  libreoffice-style-elementary/focal,focal 1:7.1.6~rc2-0ubuntu0.20.04.1~lo1 all [aggiornabile da: 1:7.1.5~rc2-0ubuntu0.20.04.1~lo1]
  libreoffice-style-yaru/focal,focal 1:7.1.6~rc2-0ubuntu0.20.04.1~lo1 all [aggiornabile da: 1:7.1.5~rc2-0ubuntu0.20.04.1~lo1]
  libreoffice-writer/focal 1:7.1.6~rc2-0ubuntu0.20.04.1~lo1 amd64 [aggiornabile da: 1:7.1.5~rc2-0ubuntu0.20.04.1~lo1]
  libuno-cppu3/focal 1:7.1.6~rc2-0ubuntu0.20.04.1~lo1 amd64 [aggiornabile da: 1:7.1.5~rc2-0ubuntu0.20.04.1~lo1]
  libuno-cppuhelpergcc3-3/focal 1:7.1.6~rc2-0ubuntu0.20.04.1~lo1 amd64 [aggiornabile da: 1:7.1.5~rc2-0ubuntu0.20.04.1~lo1]
  libuno-purpenvhelpergcc3-3/focal 1:7.1.6~rc2-0ubuntu0.20.04.1~lo1 amd64 [aggiornabile da: 1:7.1.5~rc2-0ubuntu0.20.04.1~lo1]
  libuno-sal3/focal 1:7.1.6~rc2-0ubuntu0.20.04.1~lo1 amd64 [aggiornabile da: 1:7.1.5~rc2-0ubuntu0.20.04.1~lo1]
  libuno-salhelpergcc3-3/focal 1:7.1.6~rc2-0ubuntu0.20.04.1~lo1 amd64 [aggiornabile da: 1:7.1.5~rc2-0ubuntu0.20.04.1~lo1]
  linux-generic-hwe-20.04/focal-updates,focal-security 5.11.0.34.36~20.04.13 amd64 [aggiornabile da: 5.11.0.27.29~20.04.11]
  linux-headers-generic-hwe-20.04/focal-updates,focal-security 5.11.0.34.36~20.04.13 amd64 [aggiornabile da: 5.11.0.27.29~20.04.11]
  linux-image-generic-hwe-20.04/focal-updates,focal-security 5.11.0.34.36~20.04.13 amd64 [aggiornabile da: 5.11.0.27.29~20.04.11]
  linux-libc-dev/focal-updates,focal-security 5.4.0-84.94 amd64 [aggiornabile da: 5.4.0-81.91]
  python-apt-common/focal-updates,focal-updates 2.0.0ubuntu0.20.04.6 all [aggiornabile da: 2.0.0ubuntu0.20.04.5]
  python3-apt/focal-updates 2.0.0ubuntu0.20.04.6 amd64 [aggiornabile da: 2.0.0ubuntu0.20.04.5]
  python3-uno/focal 1:7.1.6~rc2-0ubuntu0.20.04.1~lo1 amd64 [aggiornabile da: 1:7.1.5~rc2-0ubuntu0.20.04.1~lo1]
  thermald/focal-updates 1.9.1-1ubuntu0.6 amd64 [aggiornabile da: 1.9.1-1ubuntu0.5]
  uno-libs-private/focal 1:7.1.6~rc2-0ubuntu0.20.04.1~lo1 amd64 [aggiornabile da: 1:7.1.5~rc2-0ubuntu0.20.04.1~lo1]
  ure/focal 1:7.1.6~rc2-0ubuntu0.20.04.1~lo1 amd64 [aggiornabile da: 1:7.1.5~rc2-0ubuntu0.20.04.1~lo1]
  luca at ubuntu:~$ 

  
  IMHO this is not a trivial issue:
  - very bad UX, why an Utility is not able to the the same task a single command can do without any issue?
  - a lot of user rely on Software Update to manage to update his/her system and, maybe, are not so skilled in using command line (ever wonder about how many mac/windows user has ever opened command line?)
  - if the user hasn't the sensibility about the importance of updating the system, a failing process could expose the system to thread since it hasn't the latest security fixes

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1943122/+subscriptions




More information about the foundations-bugs mailing list