2022-10-17 10:42:19,766 ERROR Not enough free space: ['/boot']
2022-10-17 10:42:19,767 ERROR Not enough free disk space The upgrade has aborted. The upgrade needs a total of 426 M free space on disk '/boot'. Please free at least an additional 34,0 M of disk space on '/boot'. You can remove old kernels using 'sudo apt autoremove' and you could also set COMPRESS=xz in /etc/initramfs-tools/initramfs.conf to reduce the size of your initramfs. (None)
But this is not really user friendly. Such errors should also be output to the console (stderr). Otherwise, it's head-scratching time.
That is true. In my case:
/var/log/ dist-upgrade/ 20221017- 1043/main. log
2022-10-17 10:42:19,766 ERROR Not enough free space: ['/boot'] tools/initramfs .conf to reduce the size of your initramfs. (None)
2022-10-17 10:42:19,767 ERROR Not enough free disk space The upgrade has aborted. The upgrade needs a total of 426 M free space on disk '/boot'. Please free at least an additional 34,0 M of disk space on '/boot'. You can remove old kernels using 'sudo apt autoremove' and you could also set COMPRESS=xz in /etc/initramfs-
But this is not really user friendly. Such errors should also be output to the console (stderr). Otherwise, it's head-scratching time.