The upgrade has aborted. The upgrade needs a total of ... free space on disk '/boot' - Ошибка при обновлении Not enough free
Primary tabs
Проблема возникается при попытке апгрейда версии LTS :
Not enough free disk space
The upgrade has aborted. The upgrade needs a total of 496 M free space on disk '/boot'. Please free at least an additional 17,6 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.
В целом стратегия тут состоит в том, чтобы уместится в размер.. что видимо не очень просто
обсуждается тут https://askubuntu.com/questions/1429216/...
Выведем список неиспользуемых заголовком и ядер:
$ kernelver=$(uname -r | sed -r 's/-[a-z]+[0-9]+//')
dpkg -l linux-{image,headers}-"[0-9]*" | awk '/ii/{print $2}' | grep -ve $kernelver
linux-headers-5.15.0-139
linux-headers-5.15.0-139-generic
linux-headers-5.15.0-161
linux-headers-5.15.0-161-generic
linux-image-5.15.0-139-generic
linux-image-5.15.0-161-genericИ удалим например:
sudo apt purge linux-image-5.15.0-139-generic
посмотрим что там с местом
df -h
- Log in to post comments
- 37 reads
vedro-compota
Thu, 11/06/2025 - 15:43
Permalink
полезный ответ: https:/
полезный ответ: https://askubuntu.com/a/679993
_____________
матфак вгу и остальная классика =)