Followed the upgrade procedure using ssgconfig menu patch update error No Disk space /BOOT
Dec 11, 2024 5:33:58 PM com.broadcom.patchman.service.PatchServiceApiImpl installPatch
INFO: Output from patch install: pigz: abort: write error on <stdout> (No space left on device)
Dec 11, 2024 5:33:58 PM com.broadcom.patchman.service.PatchServiceApiImpl installPatch
INFO: Output from patch install: E: mkinitramfs failure pigz 28
Dec 11, 2024 5:33:58 PM com.broadcom.patchman.service.PatchServiceApiImpl installPatch
INFO: Output from patch install: update-initramfs: failed for /boot/initrd.img-5.10.0-33-amd64 with 1.
Dec 11, 2024 5:33:58 PM com.broadcom.patchman.service.PatchServiceApiImpl installPatch
INFO: Output from patch install: run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
# df -h
Filesystem Size Used Avail Use% Mounted on
udev 16G 0 16G 0% /dev
tmpfs 3.2G 330M 2.9G 11% /run
/dev/mapper/vg01-lv_root 15G 2.2G 13G 15% /
tmpfs 16G 0 16G 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
/dev/mapper/vg01-lv_home 5.9G 558M 5.3G 10% /home
/dev/mapper/vg01-lv_tmp 7.8G 456K 7.8G 1% /tmp
/dev/sda2 149M 133M 16M 90% /boot
/dev/sda1 159M 6.8M 152M 5% /boot/efi
/dev/mapper/vg01-lv_var 2.9G 131M 2.8G 5% /var
/dev/mapper/vg01-lv_log 2.0G 6.3M 1.9G 1% /var/log
/dev/mapper/vg01-lv_db 22G 364M 21G 2% /var/lib/mysql
/dev/mapper/vg01-lv_vartmp 474M 2.3M 468M 1% /var/tmp
/dev/mapper/vg01-lv_opt 7.8G 1.8G 6.0G 23% /opt
/dev/mapper/vg01-lv_audit 2.0G 34M 1.9G 2% /var/log/audit
Gateway 11.0
Boot partition was 90% FULL it included OLD kernels
# dpkg --list | egrep -i --color 'linux-image|linux-headers'
ii linux-image-5.10.0-20-amd64 5.10.158-2 amd64 Linux 5.10 for 64-bit PCs (signed)
ii linux-image-5.10.0-32-amd64 5.10.223-1 amd64 Linux 5.10 for 64-bit PCs (signed)
iF linux-image-5.10.0-33-amd64 5.10.226-1 amd64 Linux 5.10 for 64-bit PCs (signed)
ii linux-image-amd64 5.10.226-1 amd64 Linux for 64-bit PCs (meta-package)
Delete unwanted kernel images
FIRST MUST TAKE VM SNAPSHOT
Remove kernel images one by one using the following apt-get command or apt command:
NOTE only remove older kernels do not remove the current kernel
To check current kernel
# uname -r
5.10.0-33-amd64
To get a list
# dpkg --list | egrep -i --color 'linux-image|linux-headers'
Example replace based on what is returned
# apt-get --purge remove linux-image-5.10.0-20-amd64
# apt-get --purge remove linux-image-5.10.0-32-amd64
If third party utilities have been installed you may need to remove them before removing older kernels
# apt-get --purge remove linux-image-5.10.0-32-amd64
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
nmap : Depends: nmap-common (= 7.91+dfsg1+really7.80+dfsg1-2) but it is not installable
Depends: liblinear4 (>= 2.01+dfsg) but it is not installable
Depends: liblua5.3-0 but it is not installable
Depends: lua-lpeg (>= 1.0.2) but it is not installable
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
NMAP needed to be removed
Nmap (Network Mapper) is a network scanner