Update problem

syndicate1

New Member
Jun 17, 2024
4
1
3
Hi there,
I tried to update my PVE this morning and something messed up which make the GUi non accessible.
I tried to login via terminal and manual upgarde, got the following error:

```
root@pve:~#
root@pve:~# apt full-upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages will be REMOVED:
pve-kernel-5.15.74-1-pve
The following packages have been kept back:
pve-container
0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded.
2 not fully installed or removed.
After this operation, 400 MB disk space will be freed.
Do you want to continue? [Y/n] Y
(Reading database ... 101381 files and directories currently installed.)
Removing pve-kernel-5.15.74-1-pve (5.15.74-1) ...
Examining /etc/kernel/postrm.d.
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 5.15.74-1-pve /boot/vmlinuz-5.15.74-1-pve
update-initramfs: Deleting /boot/initrd.img-5.15.74-1-pve
run-parts: executing /etc/kernel/postrm.d/proxmox-auto-removal 5.15.74-1-pve /boot/vmlinuz-5.15.74-1-pve
/etc/kernel/postrm.d/proxmox-auto-removal: 4: .: cannot open /usr/share/proxmox-kernel-helper/scripts/functions: No such file
run-parts: /etc/kernel/postrm.d/proxmox-auto-removal exited with return code 2
Failed to process /etc/kernel/postrm.d at /var/lib/dpkg/info/pve-kernel-5.15.74-1-pve.postrm line 14.
dpkg: error processing package pve-kernel-5.15.74-1-pve (--remove):
installed pve-kernel-5.15.74-1-pve package post-removal script subprocess returned error exit status 1
dpkg: too many errors, stopping
Errors were encountered while processing:
pve-kernel-5.15.74-1-pve
Processing was halted because there were too many errors.
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@pve:~#
```

Anyone have any idea how to solve?
Thanks.
 
If redoing update + dist-upgrade on your system still don't repair the situation the thread linked by UdoB can point you to some possible solution (not experienced by myself but seems to help someone).
 
  • Like
Reactions: iwik

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!