[SOLVED] Proxmox completely broken

Hello everyone, I messed around with some repository for updates, and now I have completely broken the install it seems like...
I did touch the remove-proxmox-ve because I thought it would be reinstall with the apt full-upgrade. The following errors are plaguing me.

Code:
root@Isis:/etc/apt# apt install proxmox-ve
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:

Unsatisfied dependencies:
 libgnutlsxx30 : Depends: libgnutls30 (= 3.7.9-2+deb12u2)
 libpve-rs-perl : Depends: perlapi-5.36.0
 libpve-u2f-server-perl : Depends: perlapi-5.36.0
 librados2-perl : Depends: perlapi-5.36.0
 pve-cluster : Depends: perlapi-5.36.0
Error: Unable to correct problems, you have held broken packages.
root@Isis:/etc/apt# dpkg -l perl-base
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version      Architecture Description
+++-==============-============-============-=================================
ii  perl-base      5.38.2-4     amd64        minimal Perl system

From my knowledge, my installed version is higher, so why can't I install any proxmox packages?
 
Hello,

please only touch remove-proxmox-ve if really want to remove PVE.

What did you change with your repos? (please post the output of one of these two commands)
Code:
grep -r '' /etc/apt/sources.list*
# or
apt update

From my knowledge, my installed version is higher, so why can't I install any proxmox packages?
Because they depend on the specific version (higher does not mean compatible, ABIs do change). You will have to manually downgrade all required packages to the required versions. Maybe apt install -f can help.
 
Last edited:
Code:
root@Isis:~# grep -r '' /etc/apt/sources.list*
/etc/apt/sources.list:deb http://ftp.nl.debian.org/debian bookworm main contrib non-free
/etc/apt/sources.list:
/etc/apt/sources.list:deb http://ftp.nl.debian.org/debian bookworm-updates main contrib non-free
/etc/apt/sources.list:
/etc/apt/sources.list:# security updates
/etc/apt/sources.list:deb http://security.debian.org bookworm-security main contrib
/etc/apt/sources.list:
/etc/apt/sources.list:# Non-free repos for RealTek Driver
/etc/apt/sources.list:deb http://ftp.debian.org/debian bookworm main contrib non-free non-free-firmware
/etc/apt/sources.list:
/etc/apt/sources.list:deb http://ftp.debian.org/debian bookworm-updates main contrib non-free non-free-firmware
/etc/apt/sources.list:
/etc/apt/sources.list:# Testing repos
/etc/apt/sources.list:#deb http://ftp.debian.org/debian testing non-free contrib main non-free-firmware
/etc/apt/sources.list:
/etc/apt/sources.list:#deb http://ftp.de.debian.org/debian sid main non-free contrib non-free-firmware
/etc/apt/sources.list:
/etc/apt/sources.list:deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription
/etc/apt/sources.list:
/etc/apt/sources.list:deb http://download.proxmox.com/debian/pve bookworm pvetest
/etc/apt/sources.list.d/ceph.list:# deb https://enterprise.proxmox.com/debian/ceph-quincy bookworm enterprise
/etc/apt/sources.list.d/pve-enterprise.list:# deb https://enterprise.proxmox.com/debian/pve bookworm pve-enterprise

I think I have created a FrankenDebian machine... and a reinstall is the quickest option, I luckily moved all the VM's to the still working node before doing all this...

This all started with Proxmox reporting Qemu version 8.1.x with no updates when 8.2.x should be available.
 
More details:
Code:
root@Isis:~# apt -o Debug::pkgProblemResolver=yes install proxmox-ve
Starting pkgProblemResolver with broken count: 5
Starting 2 pkgProblemResolver with broken count: 5
Investigating (0) pve-cluster:amd64 < none -> 8.0.6 @rc puN Ib >
Broken pve-cluster:amd64 Depends on perlapi-5.36.0:amd64 < none @un H >
  Considering perl-base:amd64 5262 as a solution to pve-cluster:amd64 29
Investigating (0) libpve-rs-perl:amd64 < none -> 0.8.8 @un puN Ib >
Broken libpve-rs-perl:amd64 Depends on perlapi-5.36.0:amd64 < none @un H >
  Considering perl-base:amd64 5262 as a solution to libpve-rs-perl:amd64 17
Investigating (0) libpve-u2f-server-perl:amd64 < none -> 1.2.0 @un puN Ib >
Broken libpve-u2f-server-perl:amd64 Depends on perlapi-5.36.0:amd64 < none @un H >
  Considering perl-base:amd64 5262 as a solution to libpve-u2f-server-perl:amd64 7
Investigating (0) librados2-perl:amd64 < none -> 1.4.1 @un puN Ib >
Broken librados2-perl:amd64 Depends on perlapi-5.36.0:amd64 < none @un H >
  Considering perl-base:amd64 5262 as a solution to librados2-perl:amd64 4
Investigating (0) libgnutlsxx30:amd64 < none -> 3.7.9-2+deb12u2 @un puN Ib >
Broken libgnutlsxx30:amd64 Depends on libgnutls30:amd64 < none @un pmH > (= 3.7.9-2+deb12u2)
  Considering libgnutls30:amd64 0 as a solution to libgnutlsxx30:amd64 0
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:

Unsatisfied dependencies:
 libgnutlsxx30 : Depends: libgnutls30 (= 3.7.9-2+deb12u2)
 libpve-rs-perl : Depends: perlapi-5.36.0
 libpve-u2f-server-perl : Depends: perlapi-5.36.0
 librados2-perl : Depends: perlapi-5.36.0
 pve-cluster : Depends: perlapi-5.36.0
Error: Unable to correct problems, you have held broken packages.
 
I think I have created a FrankenDebian machine... and a reinstall is the quickest option, I luckily moved all the VM's to the still working node before doing all this...
Yes, I agree. Never touch the testing/sid repositories!

If you really want newer packages there is a debian backport repository:
https://backports.debian.org/Instructions/

But be careful!
 
Last edited:
  • Like
Reactions: Kingneutron
I cannot close this thread but you can mark this thread as solved.
 

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!