Kernel issues

fergalom

Active Member
Feb 23, 2018
2
0
41
48
Bit of a noob, upgraded to proxmox 8.
No issues noticed and all working in general.

Cannot install any thing due to errors around "Internal Error, No file name for linux-image-6.1.0-15-amd64:amd64"
Not sure why its trying to install thie kernel.

uname -a gives:
Code:
Linux proxmox 6.5.11-7-pve #1 SMP PREEMPT_DYNAMIC PMX 6.5.11-7 (2023-12-05T09:44Z) x86_64 GNU/Linux

Trying to install anything gives this error:
Code:
root@proxmox:~# apt install -f python3-pip
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
python3-pip is already the newest version (23.0.1+dfsg-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up linux-image-6.1.0-15-amd64 (6.1.66-1) ...
/etc/kernel/postinst.d/dkms:
dkms: autoinstall for kernel 6.1.0-15-amd64 was skipped since the kernel headers for this kernel do not seem to be installed.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-6.1.0-15-amd64
grep: /boot/config-6.1.0-15-amd64: No such file or directory
W: zstd compression (CONFIG_RD_ZSTD) not supported by kernel, using gzip
grep: /boot/config-6.1.0-15-amd64: No such file or directory
E: gzip compression (CONFIG_RD_GZIP) not supported by kernel
update-initramfs: failed for /boot/initrd.img-6.1.0-15-amd64 with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: error processing package linux-image-6.1.0-15-amd64 (--configure):
 installed linux-image-6.1.0-15-amd64 package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 linux-image-6.1.0-15-amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)

Have tried apt autoremove but hitting the limit of my knowledge.
ANy tips on resolving?
 
yes, remove the "linux-image-6.1.0-15-amd64" package (and any other stock Debian kernel image/header packages).