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.
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.