Can't upgrade from 3.11 to 4. Need help.

evg32

Renowned Member
Jan 4, 2016
34
3
73
46
I've been trying to upgrade Proxmox from 3.x to 4 since yesterday.

I managed to upgrade it for 3 of 4 servers, but couldn't upgrade for the latest one.
After apt-get install proxmox-ve I got:
Code:
apt-get install proxmox-ve
Reading package lists... Done
Building dependency tree
Reading state information... 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:
 proxmox-ve : Depends: pve-manager but it is not going to be installed
              Depends: qemu-server but it is not going to be installed
              Depends: pve-qemu-kvm but it is not going to be installed
              Depends: spiceterm but it is not going to be installed
E: Unable to correct problems, you have held broken packages.


I tried with pve-no-subscription and pve-enterprise repositories.

For the latest attempt i used pve-no-subscription:
Code:
# cat /etc/apt/sources.list /etc/apt/sources.list.d/*
deb http://ftp.debian.org/debian jessie main contrib

# PVE pve-no-subscription repository provided by proxmox.com,
# NOT recommended for production use
deb http://download.proxmox.com/debian jessie pve-no-subscription

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


##############################################################################
# Hetzner APT-Mirror

#deb     http://mirror.hetzner.de/debian/packages jessie main contrib non-free
#deb     http://mirror.hetzner.de/debian/security jessie/updates main contrib non-free



##############################################################################
# Backupmirror
#
#deb    http://http.debian.net/debian/ jessie main non-free contrib
#deb-src http://http.debian.net/debian/ jessie main non-free contrib

#deb     http://security.debian.org/  jessie/updates  main contrib non-free
#deb-src http://security.debian.org/  jessie/updates  main contrib non-free

#deb     http://mirror.hetzner.de/debian/packages jessie-backports main contrib non-free
#deb    http://http.debian.net/debian/ jessie-backports main non-free contrib


# PVE packages provided by proxmox.com
#deb http://mirror.hetzner.de/debian/pve wheezy pve-no-subscription

#deb http://download.proxmox.com/debian wheezy pve-no-subscription:

#deb https://enterprise.proxmox.com/debian jessie pve-enterprise

How can i fix that?
 
Of course I followed these instructions, but was able to upgrade Kernel only up to 4.4.8-1-pve.
Proxmox-ve is not installed and returns the same errors:
Code:
# apt-get install proxmox-ve
Reading package lists... Done
Building dependency tree
Reading state information... 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:
 proxmox-ve : Depends: pve-manager but it is not going to be installed
              Depends: qemu-server but it is not going to be installed
              Depends: pve-qemu-kvm but it is not going to be installed
              Depends: spiceterm but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
 
Finally, I got it working.
I had conflicts with librbd1 and librados2.
These commands helped me:
Code:
apt-cache policy librbd1
apt-cache policy librados2

I have another question:
I installed proxmox-ve 4.2-64 on my Server#1.
But the rest use proxmox-ve 4.2-66, I guess from pve-no-subscription.

Should I re-install proxmox-ve 4.2-64 on my servers #2-#4 to get stable versions from pve-enterprise repositories?

Thanks.
 
Last edited:

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!