[SOLVED] Proxmox VE 6.1-8 upgrade error

badnews

New Member
May 19, 2020
9
0
1
44
Hello everyone! I need help to figure-out this situation with apt dist-upgrade below

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.

________________________
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
________________________
# cat /etc/apt/sources.list.d/*.list

deb http://download.proxmox.com/debian/corosync-3/ stretch main
#deb https://enterprise.proxmox.com/debian/pve buster pve-enterprise
________________________
pveversion -v

proxmox-ve: 6.2-1 (running kernel: 5.4.41-1-pve)
pve-manager: 6.1-8 (running version: 6.1-8/806edfe1)
pve-kernel-5.4: 6.2-2
pve-kernel-helper: 6.2-2
pve-kernel-5.3: 6.1-6
pve-kernel-5.4.41-1-pve: 5.4.41-1
pve-kernel-4.15: 5.4-9
pve-kernel-5.3.18-3-pve: 5.3.18-3
pve-kernel-4.15.18-21-pve: 4.15.18-48
pve-kernel-4.15.18-10-pve: 4.15.18-32
ceph: 12.2.13-pve1~bpo9
ceph-fuse: 12.2.13-pve1~bpo9
corosync: 3.0.3-pve1
criu: 3.11-3
glusterfs-client: 5.5-3
ifupdown: residual config
ifupdown2: 2.0.1-1+pve8
ksm-control-daemon: 1.3-1
libjs-extjs: 6.0.1-10
libknet1: 1.15-pve1
libpve-access-control: 6.0-6
libpve-apiclient-perl: 3.0-3
libpve-common-perl: 6.0-17
libpve-guest-common-perl: 3.0-5
libpve-http-server-perl: 3.0-5
libpve-storage-perl: 6.1-5
libqb0: 1.0.5-1
libspice-server1: 0.14.2-4~pve6+1
lvm2: 2.03.02-pve4
lxc-pve: 3.2.1-1
lxcfs: 4.0.3-pve2
novnc-pve: 1.1.0-1
openvswitch-switch: 2.12.0-1
proxmox-mini-journalreader: 1.1-1
proxmox-widget-toolkit: 2.2-1
pve-cluster: 6.1-8
pve-container: 3.0-23
pve-docs: 6.2-4
pve-edk2-firmware: 2.20200229-1
pve-firewall: 4.1-2
pve-firmware: 3.1-1
pve-ha-manager: 3.0-9
pve-i18n: 2.1-2
pve-qemu-kvm: 5.0.0-2
pve-xtermjs: 4.3.0-1
qemu-server: 6.1-7
smartmontools: 7.1-pve2
spiceterm: 3.1-1
vncterm: 1.6-1
zfsutils-linux: 0.8.4-pve1
________________________

Many thanks!!!
 
hi,

firstly please comment the corosync-3 stretch repository (you shouldn't mix stretch and buster repositories)

also post the output of apt update
 
Hi, Oguz

corosync-3 stretch commented

apt update

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
Reading package lists... Done
Building dependency tree
Reading state information... Done
8 packages can be upgraded. Run 'apt list --upgradable' to see them.

apt list --upgradable

Listing... Done
libpve-access-control/stable 6.1-1 all [upgradable from: 6.0-6]
libpve-common-perl/stable 6.1-2 all [upgradable from: 6.0-17]
libpve-guest-common-perl/stable 3.0-10 all [upgradable from: 3.0-5]
libpve-storage-perl/stable 6.1-8 all [upgradable from: 6.1-5]
lxc-pve/stable 4.0.2-1 amd64 [upgradable from: 3.2.1-1]
pve-container/stable 3.1-6 all [upgradable from: 3.0-23]
pve-manager/stable 6.2-4 amd64 [upgradable from: 6.1-8]
qemu-server/stable 6.2-2 amd64 [upgradable from: 6.1-7]
 
okay and what about apt list --upgradable and apt full-upgrade now? does it change anything? can you post the outputs?
 
apt full-upgrade - shows the same error

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'm not sure how you got into this situation but you can try running dpkg --configure -a.
 
The server works about few mounts without updates, then I decide to update the packets, nothing special. Just push update using the GUI, and got this error with packet versions...

dpkg --configure -a does not help :(
 
just tried upgrade from an earlier version to the latest, and it seems to work fine with the pve-no-subscription repository, so i think something is wrong in your setup.

just to be sure, can you try adding deb http://download.proxmox.com/debian/pve buster pvetest to the repository list, comment no-sub and try updating again?
 
also try apt install --fix-broken
 
Okey, here is my source.list

cat 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
deb http://download.proxmox.com/debian/pve buster pvetest

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

apt update

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

apt list --upgradable

Listing... Done
libpve-access-control/stable 6.1-1 all [upgradable from: 6.0-6]
libpve-common-perl/stable 6.1-2 all [upgradable from: 6.0-17]
libpve-guest-common-perl/stable 3.0-10 all [upgradable from: 3.0-5]
libpve-storage-perl/stable 6.1-8 all [upgradable from: 6.1-5]
lxc-pve/stable 4.0.2-1 amd64 [upgradable from: 3.2.1-1]
pve-container/stable 3.1-6 all [upgradable from: 3.0-23]
pve-manager/stable 6.2-4 amd64 [upgradable from: 6.1-8]
qemu-server/stable 6.2-2 amd64 [upgradable from: 6.1-7]

and 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-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.
 
and apt install --fix-broken

Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.

dist-upgrade after the same issue
 
also tried:

apt-get clean
apt-get update
apt-get install -f
dpkg -a --configure
apt-get dist-upgrade

The same error
 
check the output of apt-mark showhold to see held packages.. you can apt-mark unhold PKGNAME to unhold a package
 
Maybe I can reinstall proxmox-ve? Configs already inside, reinstall will not take too much time? What you think?
 
oh yes, i didn't think of that, but i don't see how it solved your problem.

i guess you forgot this while upgrading from 5 to 6?

in any case i'm glad your issue is gone. you can mark the thread as [SOLVED] to help others in similar situation!
 
Just because the solution here was out of left field... I had this issue, and this was also my solution.

And yes, I had forgotten to add it during the 5->6 upgrade. Luminous was commented, but nautilus was not added.
 
Just because the solution here was out of left field... I had this issue, and this was also my solution.

And yes, I had forgotten to add it during the 5->6 upgrade. Luminous was commented, but nautilus was not added.

thanks for the report, i'll mark this as [SOLVED] then!
 

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!