Unmet dependencies issue when updating 5.x

jhboricua

Active Member
Dec 7, 2016
5
0
41
51
I have a home lab running three Proxmox 5.x servers. They are identical in terms of hardware setup and they were setup originally at the same time. I update them on a quarterly basis and always do all three without issues until today. The first host upgraded fine, but the other two hosts are not upgrading. Instead they are throwing the following message when I do apt upgrade:

Code:
root@mp1infpve002:~# apt upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... 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-firmware : Conflicts: firmware-linux-free but 3.4 is to be installed
E: Broken packages

I've verified the repo in /etc/apt/sources.list.d is correct on all three. And here's the output of pveversion on the two hosts were 'apt upgrade' is barking:

Code:
root@mp1infpve002:~# pveversion -v
proxmox-ve: 5.0-20 (running kernel: 4.10.17-2-pve)
pve-manager: 5.0-30 (running version: 5.0-30/5ab26bc)
pve-kernel-4.4.76-1-pve: 4.4.76-94
pve-kernel-4.4.62-1-pve: 4.4.62-88
pve-kernel-4.4.19-1-pve: 4.4.19-66
pve-kernel-4.10.17-2-pve: 4.10.17-20
pve-kernel-4.4.21-1-pve: 4.4.21-71
pve-kernel-4.4.16-1-pve: 4.4.16-64
pve-kernel-4.4.67-1-pve: 4.4.67-92
pve-kernel-4.4.59-1-pve: 4.4.59-87
libpve-http-server-perl: 2.0-6
lvm2: 2.02.168-pve3
corosync: 2.4.2-pve3
libqb0: 1.0.1-1
pve-cluster: 5.0-12
qemu-server: 5.0-15
pve-firmware: 2.0-2
libpve-common-perl: 5.0-16
libpve-guest-common-perl: 2.0-11
libpve-access-control: 5.0-6
libpve-storage-perl: 5.0-14
pve-libspice-server1: 0.12.8-3
vncterm: 1.5-2
pve-docs: 5.0-9
pve-qemu-kvm: 2.9.0-4
pve-container: 2.0-15
pve-firewall: 3.0-2
pve-ha-manager: 2.0-2
ksm-control-daemon: 1.2-2
glusterfs-client: 3.8.8-1
lxc-pve: 2.0.8-3
lxcfs: 2.0.7-pve4
criu: 2.11.1-1~bpo90
novnc-pve: 0.6-4
smartmontools: 6.5+svn4324-1

How do I get over this error to bring the remaining two host to the same pve version as the first one that upgraded fine. These hosts have been running Proxmox since the 4.x release and this is the first time since then that I have run into an issue doing 'apt upgrade'. Any help is appreciated.
 
I've got the same trouble.

/etc/apt/sources.list.d/pve-enterprise.list

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

/etc/apt/sources.list

Code:
deb http://ftp.at.debian.org/debian stretch main contrib
deb http://security.debian.org stretch/updates main contrib

Code:
The following packages have unmet dependencies:
 pve-firmware : Conflicts: firmware-linux-free but 3.4 is to be installed
E: Broken packages

Code:
pveversion
pve-manager/5.0-32/2560e073 (running kernel: 4.10.17-3-pve)
 
Last edited:
you can't have pve-firmware and stock Debian firmware packages installed at the same time, as they (partly) contain the same files..
 
Code:
apt dist-upgrade
I have solved the problem.

Code:
pveversion
pve-manager/5.0-32/2560e073 (running kernel: 4.10.17-4-pve)
 
  • Like
Reactions: raymov

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!