Upgrade v6 to v7 undefined state

mcflux101

Member
Jul 3, 2021
18
0
6
33
Hi

I'm a bit lost. I executed the upgrade like described on https://pve.proxmox.com/wiki/Upgrade_from_6.x_to_7.0 and followed most of the steps (at least the ones i could)
At some point I got a suspicios message that it wants to remove proxmox-ve and i have to type touch "please-allow-remove-proxmox" or something like that, I continued becasue i thought thats part of the flow.

Not it seems thatI have only my proxmox on the file system and there is nothinginstalled. I cannot execute pveversion nor cant I install proxmox-ve again. Im getting the error it depends on packages and does not install them:

Code:
root@SRV-PROXMOX:/etc# 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:
 ceph-common : Depends: librbd1 (= 17.2.6-pve1+3) but 15.2.17-pve1~bpo10 is to be installed
               Depends: python3-cephfs (= 17.2.6-pve1+3) but it is not going to be installed
               Depends: python3-rados (= 17.2.6-pve1+3) but it is not going to be installed
               Depends: python3-rbd (= 17.2.6-pve1+3) but it is not going to be installed
               Depends: python3-rgw (= 17.2.6-pve1+3) but it is not going to be installed
               Depends: libc6 (>= 2.34) but 2.31-13+deb11u6 is to be installed
               Depends: libfmt9 (>= 9.1.0+ds1) but it is not installable
               Depends: libgoogle-perftools4 (>= 2.10) but 2.8.1-1 is to be installed
               Depends: libicu72 (>= 72.1~rc-1~) but it is not installable
               Depends: libldap-2.5-0 (>= 2.5.4) but it is not installable
               Depends: libsnappy1v5 (>= 1.1.9) but 1.1.8-1 is to be installed
               Depends: libssl3 (>= 3.0.0) but it is not installable
               Depends: libstdc++6 (>= 12) but 10.2.1-6 is to be installed
               Depends: libthrift-0.17.0 (>= 0.17.0-1~) but it is not installable
 libpve-rs-perl : Depends: perl (>= 5.36.0-7) but 5.32.1-4+deb11u2 is to be installed
                  Depends: perlapi-5.36.0 but it is not installable
                  Depends: libc6 (>= 2.34) but 2.31-13+deb11u6 is to be installed
                  Depends: libssl3 (>= 3.0.0) but it is not installable
 proxmox-backup-file-restore : Depends: libc6 (>= 2.34) but 2.31-13+deb11u6 is to be installed
                               Depends: libssl3 (>= 3.0.0) but it is not installable
                               Depends: libzstd1 (>= 1.5.2) but 1.4.8+dfsg-2.1 is to be installed
                               Recommends: proxmox-backup-restore-image but it is not going to be installed
 proxmox-mail-forward : Depends: libc6 (>= 2.34) but 2.31-13+deb11u6 is to be installed
 proxmox-websocket-tunnel : Depends: libc6 (>= 2.34) but 2.31-13+deb11u6 is to be installed
                            Depends: libssl3 (>= 3.0.0) but it is not installable
 pve-ha-manager : Depends: libc6 (>= 2.34) but 2.31-13+deb11u6 is to be installed
 pve-qemu-kvm : Depends: libc6 (>= 2.34) but 2.31-13+deb11u6 is to be installed
                Depends: libfdt1 (>= 1.6.1) but it is not going to be installed
                Depends: libglib2.0-0 (>= 2.67.3) but 2.66.8-1 is to be installed
                Depends: libgnutls30 (>= 3.7.5) but 3.7.1-5+deb11u3 is to be installed
                Depends: libnuma1 (>= 2.0.15-1) but 2.0.12-1+b1 is to be installed
                Depends: librados2 (>= 16.2.11+ds) but 15.2.17-pve1~bpo10 is to be installed
                Depends: librbd1 (>= 16.2.6+ds) but 15.2.17-pve1~bpo10 is to be installed
                Depends: libslirp0 (>= 4.7.0) but it is not going to be installed
                Depends: liburing2 (>= 2.3) but it is not installable
                Depends: libzstd1 (>= 1.5.2) but 1.4.8+dfsg-2.1 is to be installed
 qemu-server : Depends: swtpm but it is not going to be installed
               Depends: swtpm-tools but it is not going to be installed
               Depends: libc6 (>= 2.34) but 2.31-13+deb11u6 is to be installed
 spiceterm : Depends: libc6 (>= 2.34) but 2.31-13+deb11u6 is to be installed
E: Unable to correct problems, you have held broken packages.

I added the pve-no-subscription repo tothe configuration for bullseye:

deb http://download.proxmox.com/debian/pve bullseye pve-no-subscription

and now I really dont know how to proceed.

Thanks in advance for the help, I relly appreciate it.

kind regards
mcflux
 
To get an overview, please provide the full output in code-tags each of:
  • (pveversion -v)
  • apt list --installed | grep linux-image
  • grep -r '' /etc/apt/sources.list*
  • apt update
 
Bash:
root@xxx:~# pveversion -v
bash: pveversion: command not found
Bash:
root@xxx:~# apt list --installed | grep linux-image

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Bash:
root@xxx:~# grep -r '' /etc/apt/sources.list
deb http://ftp.debian.org/debian bullseye main contrib
deb http://ftp.debian.org/debian bullseye-updates main contrib

# Proxmox VE pve-no-subscription repository provided by proxmox.com,
# NOT recommended for production use
deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription

# security updates
deb http://security.debian.org/debian-security bullseye-security main contrib
Bash:
root@xxx:~# apt update
Hit:1 http://ftp.debian.org/debian bullseye InRelease
Hit:2 http://ftp.debian.org/debian bullseye-updates InRelease                                  
Get:3 http://security.debian.org/debian-security bullseye-security InRelease [48.4 kB]          
Hit:4 http://download.proxmox.com/debian/pve bookworm InRelease        
Hit:5 http://download.proxmox.com/debian/ceph-octopus buster InRelease
Hit:6 http://download.proxmox.com/debian/ceph-quincy bookworm InRelease
Hit:7 http://download.proxmox.com/debian/pve bullseye InRelease
Hit:8 http://download.proxmox.com/debian/pve buster InRelease
Get:9 http://security.debian.org/debian-security bullseye-security/main amd64 Packages [252 kB]
Fetched 301 kB in 1s (444 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
37 packages can be upgraded. Run 'apt list --upgradable' to see them.

Those are the results of teh 4 statements where are the first two proabably dont result in what you hoped for.
 
# Proxmox VE pve-no-subscription repository provided by proxmox.com, # NOT recommended for production use deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription
You've added the PVE8 repo, not the one for PVE7. And there are still PVE6 repos.
Buster = Debian 10 = PVE 6.
Bullseye = Debian 11 = PVE 7.
Bookwork = Debian 12 = PVE 8.

Your repos are a total mess. There shouldn't be any "buster" or "bookworm" repos configured.
 
Last edited:
Well didnt understand that those are the versions of proxmox. It didnt work out of the box and I tried to fix it. thats probalby wha its a mess. Removed the v6 and v8 and will try it again.


Now that I removed all other sources, Im getting this when trying to install proxmox-ve:

Bash:
root@xxx:/etc# 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:
 ceph-common : Depends: librbd1 (= 14.2.21-1) but 15.2.17-pve1~bpo10 is to be installed
               Depends: python3-cephfs (= 14.2.21-1) but it is not going to be installed
               Depends: python3-rados (= 14.2.21-1) but it is not going to be installed
 proxmox-ve : Depends: qemu-server but it is not installable
 pve-container : Depends: libpve-guest-common-perl (>= 4.2-3) but it is not installable
 pve-ha-manager : Depends: qemu-server (>= 6.0-15) but it is not installable
 pve-manager : Depends: libpve-guest-common-perl (>= 4.2-1) but it is not installable
               Depends: qemu-server (>= 7.2-8) but it is not installable
E: Unable to correct problems, you have held broken packages.

Here the sourcelists to show I removed it:

Bash:
root@xxx:/etc# grep -r '' /etc/apt/sources.list*
/etc/apt/sources.list:deb http://ftp.debian.org/debian bullseye main contrib
/etc/apt/sources.list:deb http://ftp.debian.org/debian bullseye-updates main contrib
/etc/apt/sources.list:
/etc/apt/sources.list:# Proxmox VE pve-no-subscription repository provided by proxmox.com,
/etc/apt/sources.list:# NOT recommended for production use
/etc/apt/sources.list:deb http://download.proxmox.com/debian/pve bullseye pve-no-subscription
/etc/apt/sources.list:
/etc/apt/sources.list:# security updates
/etc/apt/sources.list:deb http://security.debian.org/debian-security bullseye-security main contrib
/etc/apt/sources.list.d/pve-enterprise.list:#deb https://enterprise.proxmox.com/debian/pve bullseye pve-enterprise
 
Last edited:
You probably now got packages from different Debian versions installed that won't fit together. Not sure how to fix this, but as apt complains about a ceph package and you previously got two different ceph repos configured, that are now missing, I would try to remove the installed ceph packages before trying to install the proxmox-ve package. Maybe it might also help to add the correct PVE 7 ceph repo. Previously you got the ceph repos for PVE 6 + PVE 8 with the ceph repo for PVE 7 missing. And in case ceph was installed, did you also follow this from your linked upgrade guide?:
  • Hyper-converged Ceph: upgrade the Ceph Nautilus cluster to Ceph 15.2 Octopus before you start the Proxmox VE upgrade to 7.0. Follow the guide Ceph Nautilus to Octopus
 
I installed Ceph only because if exactly that phrase. But I have only one disk where I could let Ceph work on. So I couldnt configure Ceph to the end. I decided to continue to upgrade anyway.. Since Ceph is not necessary to run the Proxmox, I assumed why should it be necessary just for the upgrade then.

I actually dont know how to remove ceph without the UI. It does not seem to be that easy (had a quick look online, but they explainit with the UI). Cant I just backup the pve files and install the v6 and retry the upgrade?
 
Last edited:

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!