[SOLVED] Broken Upgrade from 5 to 6

blacklotus

New Member
Aug 5, 2020
5
0
1
40
I've attempted to upgrade my Proxmox Server from 5 to 6, but things seem to be badly broken. After running apt-dist upgrade and rebooting, there seem to be several things missing/broken. I'm attempting to install proxmox-ve, but get the following error:
Code:
# apt install proxmox-ve
Reading package lists... Done
Building dependency tree
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:
 proxmox-ve : Depends: pve-manager but it is not going to be installed
              Depends: qemu-server but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Here's my /etc/apt/sources.list:
Code:
# cat /etc/apt/sources.list
deb http://ftp.debian.org/debian buster main contrib
deb http://ftp.debian.org/debian buster-updates main contrib

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

# security updates
deb http://security.debian.org/debian-security buster/updates main contrib

There is currently nothing else within /etc/apt/sources.list.d/

Here's my apt update output:
Code:
# apt update
Hit:1 http://security.debian.org/debian-security buster/updates InRelease
Hit:2 http://download.proxmox.com/debian/pve buster InRelease
Hit:3 http://ftp.debian.org/debian buster InRelease
Hit:4 http://ftp.debian.org/debian buster-updates InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
2 packages can be upgraded. Run 'apt list --upgradable' to see them.

Trying to install something like pve-manager gives the following:
Code:
# apt install pve-manager
Reading package lists... Done
Building dependency tree
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:
 pve-manager : Depends: libproxmox-acme-perl but it is not going to be installed
               Depends: libpve-access-control (>= 6.0-6) but it is not going to be installed
               Depends: libpve-cluster-api-perl but it is not going to be installed
               Depends: libpve-cluster-perl (>= 6.1-6) but it is not going to be installed
               Depends: libpve-common-perl (>= 6.0-11) but 5.0-56 is to be installed
               Depends: libpve-guest-common-perl (>= 3.0-8~) but it is not going to be installed
               Depends: libpve-http-server-perl (>= 3.0-4) but 2.0-14 is to be installed
               Depends: libpve-storage-perl (>= 6.1-7) but it is not going to be installed
               Depends: librados2-perl but it is not going to be installed
               Depends: pve-cluster (>= 6.0-4) but it is not going to be installed
               Depends: pve-container (>= 2.0-21) but it is not going to be installed
               Depends: pve-firewall but it is not going to be installed
               Depends: pve-ha-manager but it is not going to be installed
               Depends: qemu-server (>= 6.0-15) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

I've attempted to run apt --fix-broken install, but it only gives the following:
Code:
# apt --fix-broken install
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  ebtables g++-6 genisoimage libdbus-glib-1-2 libfdt1 liblttng-ust-ctl2 libpve-apiclient-perl libpve-u2f-server-perl libstdc++-6-dev libu2f-server0 libxml-libxml-perl
  proxmox-mini-journalreader proxmox-widget-toolkit pve-edk2-firmware pve-i18n pve-kernel-helper pve-xtermjs python-pyasn1
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.

I'd greatly appreciate any assistance, this server is completely dead in the water in the meantime. Did I miss a critical step somehow in the upgrade process?
 
did you previously use our Ceph repositories and remove them instead of replacing them with the Proxmox Buster ones?
 
did you previously use our Ceph repositories and remove them instead of replacing them with the Proxmox Buster ones?
It does seem like something is missing/broken with Ceph:

Code:
The following packages have unmet dependencies:
 pve-qemu-kvm : Depends: ceph-common (>= 0.48) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
root@lothlorien:/boot# apt install ceph-common
Reading package lists... Done
Building dependency tree
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 (= 12.2.11+dfsg1-2.1+b1) but 12.2.13-pve1~bpo9 is to be installed
               Depends: python-cephfs (= 12.2.11+dfsg1-2.1+b1) but 12.2.13-pve1~bpo9 is to be installed
               Depends: python-rados (= 12.2.11+dfsg1-2.1+b1) but 12.2.13-pve1~bpo9 is to be installed
               Depends: python-rbd (= 12.2.11+dfsg1-2.1+b1) but 12.2.13-pve1~bpo9 is to be installed
E: Unable to correct problems, you have held broken packages.
 
please configure the pveceph luminous buster repository:
Code:
echo "deb http://download.proxmox.com/debian/ceph-luminous buster main" > /etc/apt/sources.list.d/ceph.list

refresh the package info
Code:
apt update

finish upgrade
Code:
apt full-upgrade
 
  • Like
Reactions: shahz
please configure the pveceph luminous buster repository:
Code:
echo "deb http://download.proxmox.com/debian/ceph-luminous buster main" > /etc/apt/sources.list.d/ceph.list

refresh the package info
Code:
apt update

finish upgrade
Code:
apt full-upgrade
That did it. It allowed me to reinstall Ceph, which then let me reinstall Proxmox-ve. I appreciate the help Fabian. The thread has been marked Solved.
 
it worked for me! I have removed proxmox-pve and tried to reinstall going into a big mess but that did the magic!!!!!!!!!!:D:D:D:D;):p:D
Only one answer:
at the end of installation it does ask me to install enterprise, but I am (sorry for this) in no-subscription
What should I do?

Code:
Setting up gstreamer1.0-libav:amd64 (1.15.0.1+git20180723+db823502-2) ...
Setting up pve-container (3.3-4) ...
Setting up pve-ha-manager (3.1-1) ...
Setting up qemu-server (6.3-8) ...
Setting up pve-manager (6.3-6) ...



Configuration file '/etc/apt/sources.list.d/pve-enterprise.list'
==> Deleted (by you or by a script) since installation.
==> Package distributor has shipped an updated version.
   What would you like to do about it ?  Your options are:
    Y or I  : install the package maintainer's version
    N or O  : keep your currently-installed version
      D     : show the differences between the versions
      Z     : start a shell to examine the situation
The default action is to keep your current version.
*** pve-enterprise.list (Y/I/N/O/D/Z) [default=N] ? D
--- /etc/apt/sources.list.d/pve-enterprise.list 1970-01-01 01:00:00.000000000 +0100
+++ /etc/apt/sources.list.d/pve-enterprise.list.dpkg-new        2021-03-09 08:22:47.000000000 +0100
@@ -0,0 +1 @@
+deb https://enterprise.proxmox.com/debian/pve buster pve-enterprise

Configuration file '/etc/apt/sources.list.d/pve-enterprise.list'
==> Deleted (by you or by a script) since installation.
==> Package distributor has shipped an updated version.
   What would you like to do about it ?  Your options are:
    Y or I  : install the package maintainer's version
    N or O  : keep your currently-installed version
      D     : show the differences between the versions
      Z     : start a shell to examine the situation
The default action is to keep your current version.
*** pve-enterprise.list (Y/I/N/O/D/Z) [default=N] ? Y
Installing new version of config file /etc/apt/sources.list.d/pve-enterprise.list ...
Installing new version of config file /etc/network/if-up.d/bridgevlan ...
Processing triggers for systemd (241-7~deb10u6) ...
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for fontconfig (2.13.1-2) ...
Processing triggers for mime-support (3.62) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for libglib2.0-0:amd64 (2.58.3-2+deb10u2) ...
Processing triggers for libc-bin (2.28-10) ...
Setting up glib-networking:amd64 (2.58.0-2+deb10u2) ...
Setting up libsoup2.4-1:amd64 (2.64.2-2) ...
Setting up gstreamer1.0-plugins-good:amd64 (1.14.4-1) ...
Processing triggers for pve-ha-manager (3.1-1) ...
Processing triggers for libc-bin (2.28-10) ...
 
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!