Proxmox-VE clean install on debian buster - unmet dependencies

siginigin

New Member
Feb 26, 2021
3
0
1
43
Hi,

I installed debian buster netinst and then added repos into /etc/apt/sources.list
Code:
#deb http://security.debian.org buster/updates main contrib

deb http://ftp.sk.debian.org/debian buster main contrib
deb-src http://ftp.sk.debian.org/debian buster main contrib

deb http://ftp.sk.debian.org/debian buster-updates main contrib
deb-src http://ftp.sk.debian.org/debian buster-updates main contrib

deb http://ftp.sk.debian.org/debian buster-backports main
deb-src http://ftp.sk.debian.org/debian buster-backports main contrib
Then I added proxmox repo:
Code:
deb http://download.proxmox.com/debian/pve buster pve-no-subscription
But then this error happens:
Code:
root@debian:/home/user# apt 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: pve-qemu-kvm but it is not going to be installed
              Depends: qemu-server 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 have read a lot of posts, but none helped although some of them seemed similar. What could be the problem?

Thank you for help.
 
<snip>
Code:
E: Unable to correct problems, you have held broken packages.
<snip>

What is the output of apt-mark showhold?

Did you also install the repo GPG key as documented here?

Generally, with the repo config you have and an installed GPG key, I've always had success with:
Code:
apt update && apt full-upgrade

apt install proxmox-ve

NB: NEVER use apt[-get] upgrade after installing PVE -- always use apt full-upgrade or apt-get dist-upgrade (or pveupgrade , which does the same thing.)
 
Don't know if it helps but by default "deb http://ftp.sk.debian.org/debian buster-backports main" should be "deb http://ftp.sk.debian.org/debian buster-backports main contrib".

Did you also removed the subscription repo?

And I also needed to install postfix, open-iscsi and ksmtuned:
apt install proxmox-ve postfix open-iscsi ksmtuned

Ksmtuned wasn't a dependency but the proxmox-ve package won't install it for you and you can't use memory deduplication otherwise. And there are some other packages that are optional and not installed if you just install the proxmox-ve package.
 
Last edited:
What is the output of apt-mark showhold?

Did you also install the repo GPG key as documented here?

Generally, with the repo config you have and an installed GPG key, I've always had success with:
Code:
apt update && apt full-upgrade

apt install proxmox-ve

NB: NEVER use apt[-get] upgrade after installing PVE -- always use apt full-upgrade or apt-get dist-upgrade (or pveupgrade , which does the same thing.)
apt-mark showhold returns empty output
I did apt update && apt full-upgrade, but the error remains.
What is the output of apt-mark showhold?

Did you also install the repo GPG key as documented here?

Generally, with the repo config you have and an installed GPG key, I've always had success with:
Code:
apt update && apt full-upgrade

apt install proxmox-ve

NB: NEVER use apt[-get] upgrade after installing PVE -- always use apt full-upgrade or apt-get dist-upgrade (or pveupgrade , which does the same thing.)
Thanx for reply.
Seems the system is updated with no hold packages:
Code:
root@debian:/home/user# apt-mark showhold
root@debian:/home/user# apt update && apt full-upgrade
Hit:1 http://ftp.sk.debian.org/debian buster InRelease
Get:2 http://ftp.sk.debian.org/debian buster-updates InRelease [51.9 kB]
Get:3 http://ftp.sk.debian.org/debian buster-backports InRelease [46.7 kB]
Hit:4 http://download.proxmox.com/debian/pve buster InRelease
Get:5 http://ftp.sk.debian.org/debian buster-backports/main Sources.diff/Index [27.8 kB]
Get:6 http://ftp.sk.debian.org/debian buster-backports/main amd64 Packages.diff/Index [27.8 kB]
Get:7 http://ftp.sk.debian.org/debian buster-backports/main Sources 2021-02-27-2001.00.pdiff [523 B]
Get:8 http://ftp.sk.debian.org/debian buster-backports/main Sources 2021-02-28-0200.50.pdiff [836 B]
Get:8 http://ftp.sk.debian.org/debian buster-backports/main Sources 2021-02-28-0200.50.pdiff [836 B]
Get:9 http://ftp.sk.debian.org/debian buster-backports/main amd64 Packages 2021-02-27-2001.00.pdiff [439 B]
Get:10 http://ftp.sk.debian.org/debian buster-backports/main amd64 Packages 2021-02-28-0800.46.pdiff [562 B]
Get:10 http://ftp.sk.debian.org/debian buster-backports/main amd64 Packages 2021-02-28-0800.46.pdiff [562 B]
Fetched 157 kB in 4s (37.8 kB/s)                 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
All packages are up to date.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
 
Don't know if it helps but by default "deb http://ftp.sk.debian.org/debian buster-backports main" should be "deb http://ftp.sk.debian.org/debian buster-backports main contrib".

Did you also removed the subscription repo?

And I also needed to install postfix, open-iscsi and ksmtuned:
apt install proxmox-ve postfix open-iscsi ksmtuned

Ksmtuned wasn't a dependency but the proxmox-ve package won't install it for you and you can't use memory deduplication otherwise. And there are some other packages that are optional and not installed if you just install the proxmox-ve package.
Thank you for reply. There is no other subscription repo except the one I posted.
 

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!