Proxmox 6.1-8 update/dist-upgrade error

jeremyricci

New Member
May 9, 2020
9
1
3
45
I have 2 hosts both running 6.1-8 in a cluster. One of the hosts updated fine (apparently) the other throws errors (below). I have double checked the sources.list and confirmed against the documentation that it's correct. I am using the non-subscription repos. I have also commented out the enterprise repos - per the documentation since I do not have a valid subscription - this is my home/test lab not production.

Here is the output of the following command: apt-get update && apt-get dist-upgrade -y (I also get the same output running full-upgrade -y)

root@pv0:~# apt-get update && apt-get dist-upgrade -y
Hit:1 http://security.debian.org/debian-security buster/updates InRelease
Hit:2 http://ftp.debian.org/debian buster InRelease
Hit:3 http://ftp.debian.org/debian buster-updates InRelease
Hit:4 http://download.proxmox.com/debian/pve buster InRelease
Hit:5 http://download.proxmox.com/debian/ceph-luminous stretch InRelease
Hit:6 http://download.proxmox.com/debian/corosync-3 stretch InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Error!
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:
libpve-guest-common-perl : Breaks: pve-container (< 3.1-4) but 3.0-23 is to be installed
Breaks: qemu-server (< 6.1-19) but 6.1-7 is to be installed
libpve-storage-perl : Breaks: pve-container (< 3.1-2) but 3.0-23 is to be installed
Breaks: qemu-server (< 6.1-14) but 6.1-7 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

I cannot seem to find any information about this issue. I've attempted to correct with apt install -f to no avail.

I also attempted to migrate a vm between the hosts. This has always worked just fine, but today it failed. I don't know if it's related, but it seems relevant.

Any help would be greatly appreciated!

Thank you
 
One quick update. I just realized the problematic host is version 6.1-8

The other host was successfully upgraded to 6.1-11
 

Those two are still stretch ones, the corosync-3 is probably left over from an upgrade from PVE 5.4 (based on Debian Stretch) to PVE 6.x (based on Debian Buster), drop that one. The ceph-luminous one should definitively be switched with the one from buster, and then upgrade to Nautilus would be recommended too, at least if you use Ceph server, else you can just drop it.

libpve-guest-common-perl : Breaks: pve-container (< 3.1-4) but 3.0-23 is to be installed

Huh, 3.0-23 is the current version on pve-enterprise, pve-no-subscription has version 3.1-4.

Can you still post all your repository lists:
Bash:
# cat /etc/apt/sources.list 

# cat /etc/apt/sources.list.d/*.list
 
Here's my sources.list:

deb http://ftp.us.debian.org/debian buster main contrib
deb http://ftp.us.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


and even though it's commented out here's my sources.list.d/pve-enterprise.list:
#deb https://enterprise.proxmox.com/debian/pve buster pve-enterprise
#deb http://download.proxmox.com/debian/pve buster pve-no-subscription

I am not sure how the ceph or corosync repos got in there. I must be missing something. I do vaguely remember having to do something with corosync when I upgraded to v6.

I appreciate the help!!! can you give me a shove in the right direction to eliminating the repos you mentioned and upgrading to nautilis

Thanks again
 
I think that was it. I found the ceph repos and updated to the latest per the documentation.
I commented out the corosync3 repo as a test and the dist-upgrade appears to have worked
 
  • Like
Reactions: t.lamprecht
@jeremyrici could you please give the link of the doc. would be really nice.
many thx in advance
 
@t.lamprecht , that's the one! Had I just read a little further down, I may have been able to put 2 and 2 together..... Lesson learned. But I appreciate the help.

@cemoi71, the comment above this one has the link to the doc I was referring to. About halfway down the page theres references to the ceph repo (which I do not need) and info about the cororsync3 repo as well. I ultimately just needed to fix their sources list under /etc/apt/sources.list.d/....

Hope that helps you
 
@t.lamprecht @jeremyricci thank you very much for your answer. It seems to me that ceph and corosync came on my proxmox setup for a couple of update. maybe since upgrade from v5 to v6. I remembered it. i accepted it but didn't what i may use it.
Thought that i'll wait the time that i could pay more attention on it, and maybe could use it.
Until now it never disturb the update process.

Currently ceph is not configured. saw on internet Wikipedia etc.. that is a kind of data storage, but something more for server right? a shared data server storage capacity. didn't understand exactly the corosync.
Both are typically for enterprise usage, that's right?
how could it be useful to me?
why do it disturb the update process?
Activity of both Is not able to be deactivated per gui?
 

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!