Kernel update

Sirius

New Member
Feb 5, 2016
7
0
1
29
Cloudsdale
siriushd.net
Hey!

Since Meltdown & spectre i have some kind of issue with my 2nd node.
cant update kernel... /boot is full...

Code:
gzip: stdout: No space left on device
E: mkinitramfs failure cpio 141 gzip 1
update-initramfs: failed for /boot/initrd.img-4.13.13-2-pve with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/pve-kernel-4.13.13-2-pve.postinst line 19.
dpkg: error processing package pve-kernel-4.13.13-2-pve (--configure):
 subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
 pve-kernel-4.13.13-5-pve
 proxmox-ve
 pve-kernel-4.13.13-2-pve
E: Sub-process /usr/bin/dpkg returned an error code (1)

Code:
root@FRVPS02:/boot# df -h
Filesystem                                  Size  Used Avail Use% Mounted on
udev                                        7.8G     0  7.8G   0% /dev
tmpfs                                       1.6G  177M  1.4G  12% /run
/dev/mapper/system--xucrv-root              915G  157G  712G  19% /
tmpfs                                       7.9G   22M  7.8G   1% /dev/shm
tmpfs                                       5.0M     0  5.0M   0% /run/lock
tmpfs                                       7.9G     0  7.9G   0% /sys/fs/cgroup
/dev/sda1                                   189M  156M   20M  90% /boot
curlftpfs#ftp://dedibackup-dc3.online.net/  954G     0  954G   0% /mnt/ftp-backup
/dev/fuse                                    30M   16K   30M   1% /etc/pve
tmpfs                                       1.6G     0  1.6G   0% /run/user/0

i try to remove some old images with
Seems you have a lot of kernels installed. You can list those packages with:

# dpkg -l |grep pve-kernel

And you can remove them with:

# dpkg --remove <pgname>
find here -> https://forum.proxmox.com/threads/boot-is-98-full.28433/#post-143150

but...

Code:
root@FRVPS02:/boot# apt purge pve-kernel-4.10.17-2-pve
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  pve-kernel-4.10.17-2-pve*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
3 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
Setting up pve-kernel-4.13.13-5-pve (4.13.13-36) ...
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.13.13-5-pve /boot/vmlinuz-4.13.13-5-pve
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.13.13-5-pve /boot/vmlinuz-4.13.13-5-pve
update-initramfs: Generating /boot/initrd.img-4.13.13-5-pve

gzip: stdout: No space left on device
E: mkinitramfs failure cpio 141 gzip 1
update-initramfs: failed for /boot/initrd.img-4.13.13-5-pve with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/pve-kernel-4.13.13-5-pve.postinst line 19.
dpkg: error processing package pve-kernel-4.13.13-5-pve (--configure):
 subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of proxmox-ve:
 proxmox-ve depends on pve-kernel-4.13.13-5-pve; however:
  Package pve-kernel-4.13.13-5-pve is not configured yet.

dpkg: error processing package proxmox-ve (--configure):
 dependency problems - leaving unconfigured
Setting up pve-kernel-4.13.13-2-pve (4.13.13-33) ...
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.13.13-2-pve /boot/vmlinuz-4.13.13-2-pve
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.13.13-2-pve /boot/vmlinuz-4.13.13-2-pve
update-initramfs: Generating /boot/initrd.img-4.13.13-2-pve

gzip: stdout: No space left on device
E: mkinitramfs failure cpio 141 gzip 1
update-initramfs: failed for /boot/initrd.img-4.13.13-2-pve with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/pve-kernel-4.13.13-2-pve.postinst line 19.
dpkg: error processing package pve-kernel-4.13.13-2-pve (--configure):
 subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
 pve-kernel-4.13.13-5-pve
 proxmox-ve
 pve-kernel-4.13.13-2-pve
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@FRVPS02:/boot#
Any idea?