No Boot after Upgrade Proxmox

comes this


root@proxmox ~ # apt install proxmox-ve
Reading package lists... Done
Building dependency tree
Reading state information... Done
proxmox-ve is already the newest version (6.2-2).
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
pve-kernel-5.4 : Depends: pve-kernel-5.4.65-1-pve but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
root@proxmox ~ #
 
root@proxmox ~ # apt --fix-broken install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
pve-kernel-5.0 pve-kernel-5.0.21-5-pve pve-kernel-5.3.13-1-pve pve-kernel-5.3.13-3-pve pve-kernel-5.3.18-2-pve pve-kernel-5.4.34-1-pve pve-kernel-5.4.41-1-pve
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
pve-kernel-5.4.65-1-pve
The following NEW packages will be installed:
pve-kernel-5.4.65-1-pve
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
28 not fully installed or removed.
Need to get 0 B/60.3 MB of archives.
After this operation, 288 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 101047 files and directories currently installed.)
Preparing to unpack .../pve-kernel-5.4.65-1-pve_5.4.65-1_amd64.deb ...
Unpacking pve-kernel-5.4.65-1-pve (5.4.65-1) ...
dpkg: error processing archive /var/cache/apt/archives/pve-kernel-5.4.65-1-pve_5.4.65-1_amd64.deb (--unpack):
cannot copy extracted data for './boot/vmlinuz-5.4.65-1-pve' to '/boot/vmlinuz-5.4.65-1-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 5.4.65-1-pve /boot/vmlinuz-5.4.65-1-pve
update-initramfs: Deleting /boot/initrd.img-5.4.65-1-pve
run-parts: executing /etc/kernel/postrm.d/pve-auto-removal 5.4.65-1-pve /boot/vmlinuz-5.4.65-1-pve
run-parts: executing /etc/kernel/postrm.d/zz-pve-efiboot 5.4.65-1-pve /boot/vmlinuz-5.4.65-1-pve
Re-executing '/etc/kernel/postrm.d/zz-pve-efiboot' in new private mount namespace..
No /etc/kernel/pve-efiboot-uuids found, skipping ESP sync.
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 5.4.65-1-pve /boot/vmlinuz-5.4.65-1-pve
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.4.60-1-pve
Found linux image: /boot/vmlinuz-5.4.44-2-pve
Found initrd image: /boot/initrd.img-5.4.44-2-pve
Found linux image: /boot/vmlinuz-5.4.41-1-pve
Found initrd image: /boot/initrd.img-5.4.41-1-pve
Found linux image: /boot/vmlinuz-5.4.34-1-pve
Found initrd image: /boot/initrd.img-5.4.34-1-pve
Found linux image: /boot/vmlinuz-5.3.18-3-pve
Found initrd image: /boot/initrd.img-5.3.18-3-pve
Found linux image: /boot/vmlinuz-5.3.18-2-pve
Found initrd image: /boot/initrd.img-5.3.18-2-pve
Found linux image: /boot/vmlinuz-5.3.13-3-pve
Found initrd image: /boot/initrd.img-5.3.13-3-pve
Found linux image: /boot/vmlinuz-5.3.13-1-pve
Found initrd image: /boot/initrd.img-5.3.13-1-pve
Found linux image: /boot/vmlinuz-5.0.21-5-pve
Found initrd image: /boot/initrd.img-5.0.21-5-pve
done
Errors were encountered while processing:
/var/cache/apt/archives/pve-kernel-5.4.65-1-pve_5.4.65-1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@proxmox ~ #
 
Ok now please do apt update && apt dist-upgrade and see if download a new pve-kernel.

Or you can do that manually by apt install pve-kernel-5.4.65-1-pve
 
no works not....

----------------------------------------------------------------------------------------------------------
root@proxmox / # apt update && apt dist-upgrade
Hit:1 http://mirror.hetzner.de/debian/packages buster InRelease
Hit:2 http://mirror.hetzner.de/debian/security buster/updates InRelease
Hit:3 http://mirror.hetzner.de/debian/packages buster-updates InRelease
Hit:4 http://security.debian.org/debian-security buster/updates InRelease
Hit:5 http://download.proxmox.com/debian/ceph-luminous buster InRelease
Hit:6 http://ftp.de.debian.org/debian buster InRelease
Get:7 http://ftp.de.debian.org/debian buster-updates InRelease [51.9 kB]
Hit:8 https://enterprise.proxmox.com/debian/pve buster InRelease
Fetched 51.9 kB in 1s (103 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
pve-kernel-5.4 : Depends: pve-kernel-5.4.65-1-pve but it is not installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
root@proxmox / # apt install pve-kernel-5.4.65-1-pve
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
pve-kernel-5.0 pve-kernel-5.0.21-5-pve pve-kernel-5.3.13-1-pve pve-kernel-5.3.13-3-pve pve-kernel-5.3.18-2-pve pve-kernel-5.4.34-1-pve pve-kernel-5.4.41-1-pve
Use 'apt autoremove' to remove them.
The following NEW packages will be installed:
pve-kernel-5.4.65-1-pve
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
28 not fully installed or removed.
Need to get 0 B/60.3 MB of archives.
After this operation, 288 MB of additional disk space will be used.
(Reading database ... 101047 files and directories currently installed.)
Preparing to unpack .../pve-kernel-5.4.65-1-pve_5.4.65-1_amd64.deb ...
Unpacking pve-kernel-5.4.65-1-pve (5.4.65-1) ...
dpkg: error processing archive /var/cache/apt/archives/pve-kernel-5.4.65-1-pve_5.4.65-1_amd64.deb (--unpack):
cannot copy extracted data for './boot/vmlinuz-5.4.65-1-pve' to '/boot/vmlinuz-5.4.65-1-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 5.4.65-1-pve /boot/vmlinuz-5.4.65-1-pve
update-initramfs: Deleting /boot/initrd.img-5.4.65-1-pve
run-parts: executing /etc/kernel/postrm.d/pve-auto-removal 5.4.65-1-pve /boot/vmlinuz-5.4.65-1-pve
run-parts: executing /etc/kernel/postrm.d/zz-pve-efiboot 5.4.65-1-pve /boot/vmlinuz-5.4.65-1-pve
Re-executing '/etc/kernel/postrm.d/zz-pve-efiboot' in new private mount namespace..
No /etc/kernel/pve-efiboot-uuids found, skipping ESP sync.
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 5.4.65-1-pve /boot/vmlinuz-5.4.65-1-pve
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.4.60-1-pve
Found linux image: /boot/vmlinuz-5.4.44-2-pve
Found initrd image: /boot/initrd.img-5.4.44-2-pve
Found linux image: /boot/vmlinuz-5.4.41-1-pve
Found initrd image: /boot/initrd.img-5.4.41-1-pve
Found linux image: /boot/vmlinuz-5.4.34-1-pve
Found initrd image: /boot/initrd.img-5.4.34-1-pve
Found linux image: /boot/vmlinuz-5.3.18-3-pve
Found initrd image: /boot/initrd.img-5.3.18-3-pve
Found linux image: /boot/vmlinuz-5.3.18-2-pve
Found initrd image: /boot/initrd.img-5.3.18-2-pve
Found linux image: /boot/vmlinuz-5.3.13-3-pve
Found initrd image: /boot/initrd.img-5.3.13-3-pve
Found linux image: /boot/vmlinuz-5.3.13-1-pve
Found initrd image: /boot/initrd.img-5.3.13-1-pve
Found linux image: /boot/vmlinuz-5.0.21-5-pve
Found initrd image: /boot/initrd.img-5.0.21-5-pve
done
Errors were encountered while processing:
/var/cache/apt/archives/pve-kernel-5.4.65-1-pve_5.4.65-1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@proxmox / #
 
i think this is the problem

'/boot/vmlinuz-5.4.65-1-pve.dpkg-new': failed to write (No space left on device)
 
i cannot remove some old kernels... comes a error :

root@proxmox ~ # apt remove pve-kernel-5.0.21-5-pve
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
pve-kernel-5.0 : Depends: pve-kernel-5.0.21-5-pve but it is not going to be installed
pve-kernel-5.4 : Depends: pve-kernel-5.4.65-1-pve but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
root@proxmox ~ #
 
i canno delete any of my kernels...

--------------------------------------------------------------------------------
root@proxmox ~ # git clone https://github.com/jordanhillis/pvekclean.git
-bash: git: command not found
root@proxmox ~ # dpkg --list|grep pve-kernel
ii pve-firmware 3.1-3 all Binary firmware code for the pve-kernel
rc pve-kernel-4.15 5.4-12 all Latest Proxmox VE Kernel Image
ii pve-kernel-5.0 6.0-11 all Latest Proxmox VE Kernel Image
ii pve-kernel-5.0.21-5-pve 5.0.21-10 amd64 The Proxmox PVE Kernel Image
ii pve-kernel-5.3 6.1-6 all Latest Proxmox VE Kernel Image
ii pve-kernel-5.3.13-1-pve 5.3.13-1 amd64 The Proxmox PVE Kernel Image
ii pve-kernel-5.3.13-3-pve 5.3.13-3 amd64 The Proxmox PVE Kernel Image
ii pve-kernel-5.3.18-2-pve 5.3.18-2 amd64 The Proxmox PVE Kernel Image
ii pve-kernel-5.3.18-3-pve 5.3.18-3 amd64 The Proxmox PVE Kernel Image
iU pve-kernel-5.4 6.2-7 all Latest Proxmox VE Kernel Image
ii pve-kernel-5.4.34-1-pve 5.4.34-2 amd64 The Proxmox PVE Kernel Image
ii pve-kernel-5.4.41-1-pve 5.4.41-1 amd64 The Proxmox PVE Kernel Image
ii pve-kernel-5.4.44-2-pve 5.4.44-2 amd64 The Proxmox PVE Kernel Image
iF pve-kernel-5.4.60-1-pve 5.4.60-2 amd64 The Proxmox PVE Kernel Image
iU pve-kernel-helper 6.2-7 all Function for various kernel maintenance tasks.
root@proxmox ~ # apt purge pve-kernel-5.4.34-1-pve
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
pve-kernel-5.4 : Depends: pve-kernel-5.4.65-1-pve but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
root@proxmox ~ # apt remove pve-kernel-5.0.21-5-pve
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
pve-kernel-5.0 : Depends: pve-kernel-5.0.21-5-pve but it is not going to be installed
pve-kernel-5.4 : Depends: pve-kernel-5.4.65-1-pve but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
root@proxmox ~ #
 
you have an idea how i can delete old kernels to become free space??
as you can see i become always an error when i want delete an old kernel
 
so now i have it fixed after long testing i was able to delete the old kernels all and have now enouph space free...
the upgrade to kernel version 5.4.65-1 is now also working, and iam now on the latest kernel version and the system is booting again with the newest kernel....

i think the only problem was i was not having free space on /boot drive when i was click the Upgrade Button in the Web Interface....

but what i don't understand is when i click the Upgrade Button in Proxmox Web Interface normaly the system must first check if enaugh space avvailible and then run the Upgrade!!
but not start an upgrade when is no space left and kill all the system....

this is not good from Proxmox!!!

but thank you for your helping
 
glad that you solved your issue, please mark the thread as [SOLVED] to help other people who have the same problem Thanks!

but what i don't understand is when i click the Upgrade Button in Proxmox Web Interface normaly the system must first check if enaugh space avvailible and then run the Upgrade!!
but not start an upgrade when is no space left and kill all the system....

the upgrade from web ui is used same command as apt-get dist-upgrade [1] through API, so i don't think so :)
Perl:
my $cmdstr = 'apt-get dist-upgrade';

[1] https://git.proxmox.com/?p=pve-mana...=abc4a675d0808d62d8cbd34261a3ffabda214005#l43
 

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!