Upgrade to 7.2: unmet dependencies

Oct 28, 2013
318
54
93
www.nadaka.de
Hello everyone,

today we upgraded our three node PVE/Ceph cluster from 7.1 to 7.2.

The first attempt of apt dist-uprade ended up with
Code:
Errors were encountered while processing:
 /tmp/apt-dpkg-install-0DYbqq/46-libproxmox-rs-perl_0.1.0_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Another apt dist-upgrade shows this
Code:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 libpve-common-perl : Depends: libproxmox-rs-perl but it is not installed
 pve-manager : Depends: libproxmox-rs-perl but it is not installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

apt --fix-broken install
started like this
Code:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Correcting dependencies... Done
The following package was automatically installed and is no longer required:
  pve-kernel-5.11.22-5-pve
Use 'apt autoremove' to remove it.
The following additional packages will be installed:
  libproxmox-rs-perl
The following NEW packages will be installed:
  libproxmox-rs-perl
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
81 not fully installed or removed.
Need to get 0 B/2,500 B of archives.
After this operation, 18.4 kB of additional disk space will be used.
Do you want to continue? [Y/n]

This fixed the problem, everthing looks good so far.
But it seems that there is a little dependency foo in your packages?

Greets
Stephan
 
Just wanted to chime in that I hit this exact same dependency error (perl).
 
There's a patch on the pve-devel mailinglist for review - which should address this issue:
https://lists.proxmox.com/pipermail/pve-devel/2022-May/052955.html

Sadly it's a bit racy in nature - thus we could not reproduce it here locally (it depends on whether libproxmox-rs-perl or libpve-rs-perl are unpacked first)

Once the patch is applied the issue should not occur at all anymore

In the meantime `apt install -f` should resolve the issue.