When updating to Proxmox VE 8.0, I was supposed to run touch '/please-remove-proxmox-ve' because otherwise some things would not install. I thought no problem just reinstall later. but now this error comes up
then I tried apt --fix-broken install.
this is what came up
i tried to reinstall the python packages but again i got only this error
I just don't know what to do!
Code:
root@home:~# apt install proxmox-ve
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
python3-cephfs : Depends: python3 (< 3.10) but 3.11.2-1+b1 is to be installed
python3-rados : Depends: python3 (< 3.10) but 3.11.2-1+b1 is to be installed
python3-rbd : Depends: python3 (< 3.10) but 3.11.2-1+b1 is to be installed
python3-rgw : Depends: python3 (< 3.10) but 3.11.2-1+b1 is to be installed
E: Unable to correct problems, you have held broken packages.
then I tried apt --fix-broken install.
this is what came up
Code:
root@home:~# apt --fix-broken install
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
pve-kernel-5.15.116-1-pve
0 upgraded, 0 newly installed, 1 to remove and 0 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
Traceback (most recent call last):
File "/usr/bin/apt-listchanges", line 29, in <module>
import apt_pkg
ModuleNotFoundError: No module named 'apt_pkg'
(Reading database ... 74358 files and directories currently installed.)
Removing pve-kernel-5.15.116-1-pve (5.15.116-1) ...
Examining /etc/kernel/postrm.d.
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 5.15.116-1-pve /boot/vmlinuz-5.15.116-1-pve
update-initramfs: Deleting /boot/initrd.img-5.15.116-1-pve
run-parts: executing /etc/kernel/postrm.d/proxmox-auto-removal 5.15.116-1-pve /boot/vmlinuz-5.15.116-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.116-1-pve.postrm line 14.
dpkg: error processing package pve-kernel-5.15.116-1-pve (--remove):
installed pve-kernel-5.15.116-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.116-1-pve
Processing was halted because there were too many errors.
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@home:~#
i tried to reinstall the python packages but again i got only this error
I just don't know what to do!
Last edited: