The following packages have unmet dependencies

scouser_

New Member
May 15, 2020
4
0
1
34
Hello guys!

A couple of months ago we've updated our proxmox cluster to version 6. Now we are preparing to upgrade ceph to nautilus, but we got apt update errors on some hosts:
Code:
~]# apt dist-upgrade
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-19 is to be installed
                            Breaks: qemu-server (< 6.1-19) but 6.1-5 is to be installed
 libpve-storage-perl : Breaks: pve-container (< 3.1-2) but 3.0-19 is to be installed
                       Breaks: qemu-server (< 6.1-14) but 6.1-5 is to be installed
                       Recommends: zfs-zed but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

I've checked all /etc/apt/sources* files, there no mentions about stretch.

Hope on your experience,
BR
 
Hi,

I've checked all /etc/apt/sources* files, there no mentions about stretch.

What about the corosync-3 upgrade repo (drop it), please post all configured apt sources here and also the unmodified output of apt update
 
According to internal security rules, I substituted original private repo names:

Code:
~ cat /etc/apt/sources.list
deb http://ftp.ru.debian.org/debian buster main contrib
deb http://download.proxmox.com/debian/pve buster pve-no-subscription
deb http://security.debian.org buster/updates main contrib

~ cat /etc/apt/sources.list.d/*
deb [trusted=yes] https://my-private-repo/debian/3rd buster main
deb http://download.proxmox.com/debian/ceph-luminous stretch main
deb [trusted=yes] https://my-private-repo2/mirror-deb/osquery/ deb main
deb http://repo.zabbix.com/zabbix/4.2/debian buster main
deb-src http://repo.zabbix.com/zabbix/4.2/debian buster main

Code:
~ apt update
Ign:1 https://my-private-repo2/mirror-deb/osquery deb InRelease
Ign:2 https://my-private-repo/debian/3rd buster InRelease
Ign:3 https://my-private-repo/debian/3rd buster Release
Hit:4 https://my-private-repo2/mirror-deb/osquery deb Release
Ign:5 https://my-private-repo/debian/3rd buster/main amd64 Packages
Get:6 https://my-private-repo2/mirror-deb/osquery deb Release.gpg [819 B]
Ign:7 https://my-private-repo/debian/3rd buster/main all Packages
Ign:8 https://my-private-repo/debian/3rd buster/main Translation-en_US
Ign:9 https://my-private-repo/debian/3rd buster/main Translation-en
Ign:5 https://my-private-repo/debian/3rd buster/main amd64 Packages
Ign:7 https://my-private-repo/debian/3rd buster/main all Packages
Ign:8 https://my-private-repo/debian/3rd buster/main Translation-en_US
Hit:10 http://ftp.ru.debian.org/debian buster InRelease
Ign:9 https://my-private-repo/debian/3rd buster/main Translation-en
Ign:5 https://my-private-repo/debian/3rd buster/main amd64 Packages
Ign:7 https://my-private-repo/debian/3rd buster/main all Packages
Ign:8 https://my-private-repo/debian/3rd buster/main Translation-en_US
Ign:9 https://my-private-repo/debian/3rd buster/main Translation-en
Hit:5 https://my-private-repo/debian/3rd buster/main amd64 Packages
Ign:7 https://my-private-repo/debian/3rd buster/main all Packages
Ign:8 https://my-private-repo/debian/3rd buster/main Translation-en_US
Ign:9 https://my-private-repo/debian/3rd buster/main Translation-en
Ign:7 https://my-private-repo/debian/3rd buster/main all Packages
Hit:11 http://security.debian.org buster/updates InRelease
Ign:8 https://my-private-repo/debian/3rd buster/main Translation-en_US
Ign:9 https://my-private-repo/debian/3rd buster/main Translation-en
Ign:7 https://my-private-repo/debian/3rd buster/main all Packages
Ign:8 https://my-private-repo/debian/3rd buster/main Translation-en_US
Hit:12 http://download.proxmox.com/debian/pve buster InRelease
Ign:9 https://my-private-repo/debian/3rd buster/main Translation-en
Ign:7 https://my-private-repo/debian/3rd buster/main all Packages
Ign:8 https://my-private-repo/debian/3rd buster/main Translation-en_US
Ign:9 https://my-private-repo/debian/3rd buster/main Translation-en
Hit:13 http://download.proxmox.com/debian/ceph-luminous stretch InRelease
Ign:6 https://my-private-repo2/mirror-deb/osquery deb Release.gpg
Hit:14 http://repo.zabbix.com/zabbix/4.2/debian buster InRelease
Fetched 819 B in 1s (1,460 B/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
10 packages can be upgraded. Run 'apt list --upgradable' to see them.


Obviously you can suspect my private repos as a root cause, but when I disabled proxmox repo, apt dist-upgrade wouldn't retrieve the error.
 
Obviously you can suspect my private repos as a root cause, but when I disabled proxmox repo, apt dist-upgrade wouldn't retrieve the error.

My prime suspect are the various "stretch" occurrences ;) Second one are the extra repos, whatever is on them can block stuff, so we cannot really help with those there..
 
my fault, I wanted to replace stretch on buster during ceph upgrade. This was the reason, why I've got this error.
 

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!