first no boot then no updates

bekcl88fx

New Member
Jan 19, 2025
3
1
3
Hi everyone,

I have been using Proxmox about 6 months without any problems ( encrypted installation over Debian)
Yesterday I did update via gui, it went ok and since there was kernel update a did reboot my server.

After that it showed "Booting Proxmox VE, Loading Linux 6.8.12-5-pve..." and it is stucked there. If I remove "quiet" from the grub parameter it stucks at random line without any error message.
The server is completely frozen, keyboard not working I have to reboot via power button.
This is the same for kernel 6.8.12-5-pve and also for 6.8.12-4-pve.

If I boot older kernel - 6.8.12-2-pve, server boots up without any problem, but I am not able to do update.

Code:
Starting system upgrade: apt-get dist-upgrade
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:
 proxmox-kernel-6.8 : Depends: proxmox-kernel-6.8.12-6-pve-signed but it is not installed or
                               proxmox-kernel-6.8.12-6-pve
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

System not fully up to date (found 51 new packages)

If I try apt --fix-broken install, there is also error:

Code:
apt --fix-broken install
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  proxmox-kernel-6.8.12-1-pve-signed proxmox-kernel-6.8.4-3-pve-signed
  proxmox-kernel-6.8.8-1-pve-signed proxmox-kernel-6.8.8-2-pve-signed
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
  proxmox-kernel-6.8.12-6-pve-signed
The following NEW packages will be installed:
  proxmox-kernel-6.8.12-6-pve-signed
0 upgraded, 1 newly installed, 0 to remove and 51 not upgraded.
4 not fully installed or removed.
Need to get 0 B/103 MB of archives.
After this operation, 577 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 95473 files and directories currently installed.)
Preparing to unpack .../proxmox-kernel-6.8.12-6-pve-signed_6.8.12-6_amd64.deb ...
Unpacking proxmox-kernel-6.8.12-6-pve-signed (6.8.12-6) ...
dpkg: error processing archive /var/cache/apt/archives/proxmox-kernel-6.8.12-6-pve-signed_6.8.12-6_amd64.deb (--unpack):
 cannot copy extracted data for './boot/System.map-6.8.12-6-pve' to '/boot/System.map-6.8.12-6-pve.dpkg-new': failed to write (No space left on device)
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Examining /etc/kernel/postrm.d.
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 6.8.12-6-pve /boot/vmlinuz-6.8.12-6-pve
update-initramfs: Deleting /boot/initrd.img-6.8.12-6-pve
run-parts: executing /etc/kernel/postrm.d/proxmox-auto-removal 6.8.12-6-pve /boot/vmlinuz-6.8.12-6-pve
run-parts: executing /etc/kernel/postrm.d/zz-proxmox-boot 6.8.12-6-pve /boot/vmlinuz-6.8.12-6-pve
Re-executing '/etc/kernel/postrm.d/zz-proxmox-boot' in new private mount namespace..
No /etc/kernel/proxmox-boot-uuids found, skipping ESP sync.
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 6.8.12-6-pve /boot/vmlinuz-6.8.12-6-pve
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-6.8.12-5-pve
Found linux image: /boot/vmlinuz-6.8.12-4-pve
Found linux image: /boot/vmlinuz-6.8.12-2-pve
Found initrd image: /boot/initrd.img-6.8.12-2-pve
Found linux image: /boot/vmlinuz-6.8.12-1-pve
Found initrd image: /boot/initrd.img-6.8.12-1-pve
Found linux image: /boot/vmlinuz-6.8.8-2-pve
Found initrd image: /boot/initrd.img-6.8.8-2-pve
Found linux image: /boot/vmlinuz-6.8.8-1-pve
Found initrd image: /boot/initrd.img-6.8.8-1-pve
Found linux image: /boot/vmlinuz-6.8.4-3-pve
Found initrd image: /boot/initrd.img-6.8.4-3-pve
done
Errors were encountered while processing:
 /var/cache/apt/archives/proxmox-kernel-6.8.12-6-pve-signed_6.8.12-6_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

if I try to remove older kernel:

Code:
apt purge proxmox-kernel-6.8.8-1-pve-signed
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:
 proxmox-kernel-6.8 : Depends: proxmox-kernel-6.8.12-6-pve-signed but it is not going to be installed or
                               proxmox-kernel-6.8.12-6-pve
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

I would appreciate any help to solve this
 
so I managed to solve it myself.

the root cause was that there was no free space in /boot. I have to manually delete 3 oldest kernels from /boot.
Then I run apt --fix-broken install and then update via gui and everything is OK now.
 
  • Like
Reactions: waltar
Hi,

I have to manually delete 3 oldest kernels from /boot.
It would be best to uninstall old kernels via apt, thereby properly removing there package and all references.
You can list all installed kernel packages using e.g. apt list --installed | grep -E '(pve|proxmox)-kernel', then uninstall old ones as you see fit. :)
 
I wanted to remove it properly, but in this case it was not possible. The /boot run out of space during update so the kernel was partially installed but missing some dependencies. When I wanted to remove kernel with apt there was error about dependencies and when I wanted to solve the dependencies there was error about no free space in /boot. So I was running in circle :)

btw why there is not some sort of old kernel autoremove?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!