i updated other day and noticed today that noVNC was no longer working on all my VM's and containers. did a google search and it said to use the
the output of which came out as
apt --fix-broken install
the output of which came out as
any idea how to fix?root@vixen:~# apt --fix-broken install
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
proxmox-kernel-6.8.12-10-pve-signed proxmox-kernel-6.8.12-17-pve-signed proxmox-kernel-6.8.12-18-pve-signed
0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded.
4 not fully installed or removed.
After this operation, 1,732 MB disk space will be freed.
Do you want to continue? [Y/n]
(Reading database ... 100280 files and directories currently installed.)
Removing proxmox-kernel-6.8.12-10-pve-signed (6.8.12-10) ...
Examining /etc/kernel/postrm.d.
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 6.8.12-10-pve /boot/vmlinuz-6.8.12-10-pve
/usr/sbin/update-initramfs: 301: getopt: not found
Usage: update-initramfs {-c|-d|-u} [-k version] [-v] [-b directory]
Options:
-k version Specify kernel version or 'all'
-c Create a new initramfs
-u Update an existing initramfs
-d Remove an existing initramfs
-b directory Set alternate boot directory
-v Be verbose
See update-initramfs(8) for further details.
run-parts: /etc/kernel/postrm.d/initramfs-tools exited with return code 2
Failed to process /etc/kernel/postrm.d at /var/lib/dpkg/info/proxmox-kernel-6.8.12-10-pve-signed.postrm line 15.
dpkg: error processing package proxmox-kernel-6.8.12-10-pve-signed (--remove):
installed proxmox-kernel-6.8.12-10-pve-signed package post-removal script subprocess returned error exit status 1
dpkg: too many errors, stopping
Errors were encountered while processing:
proxmox-kernel-6.8.12-10-pve-signed
Processing was halted because there were too many errors.
Removing subscription nag from UI...
E: Sub-process /usr/bin/dpkg returned an error code (1)