Can't install proxmox on debian 9

onetwothree

New Member
May 30, 2019
2
0
1
35
Running
apt install proxmox-ve
i've got
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.​


127.0.0.1 localhost.localdomain localhost
192.168.1.* profipve.proxmox.com profipve

# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
deb CANT POS EXTERNAL LINKS stretch/updates main
deb-src CANT POS EXTERNAL LINKS stretch/updates main
deb http://download.proxmox.com/debian/pve stretch pve-no-subscription
 
It seems apt can't find the pve repo. A minimal sources.list for Debian would look like this:

Code:
deb http://deb.debian.org/debian/ stretch main
deb http://deb.debian.org/debian stretch-updates main
deb http://security.debian.org/ stretch/updates main

Is that "pve-install-repo.list" in /etc/apt/sources.list.d or somewhere else?
 
Ok now my sources.list
Code:
deb [http here]security.debian.org/debian-security stretch/updates main
deb-src [http here]security.debian.org/debian-security stretch/updates main
deb [http here]deb.debian.org/debian/ stretch main
deb [http here]deb.debian.org/debian stretch-updates main
deb [http here]security.debian.org/ stretch/updates main
Doens't change anything, same problem

Is that "pve-install-repo.list" in /etc/apt/sources.list.d or somewhere else?
Yes, /etc/apt/sources.list.d/pve-install-repo.list

I followed instructions https://pve.proxmox.com/wiki/Install_Proxmox_VE_on_Debian_Stretch
Any ideas?
P.S. Ok thank you problem solved after apt update)
 
Last edited:
Try rebbot server and install again

I have too in /etc/apt/source.list contrib non-free for deb source

Code:
cat /etc/apt/sources.list
#

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

deb http://ftp.de.debian.org/debian/ stretch main non-free contrib
deb http://security.debian.org/debian-security stretch/updates main contrib non-free

# stretch-updates, previously known as 'volatile'
deb http://ftp.de.debian.org/debian/ stretch-updates main contrib non-free
 
Running
apt install proxmox-ve
i've got
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.​

Can you paste the output of "apt policy proxmox-ve"?
 
the server where I had this problem - a week ago, after rebooting and installing

policy now

Code:
~# apt policy proxmox-ve
proxmox-ve:
  Instalovaná verze: 5.4-1
  Kandidát:          5.4-1
  Tabulka verzí:
 *** 5.4-1 500
        500 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 Packages
        100 /var/lib/dpkg/status
     5.3-1 500
        500 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 Packages
     5.2-3 500
        500 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 Packages
     5.2-2 500
        500 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 Packages
     5.2-1 500
        500 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 Packages
     5.1-43 500
        500 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 Packages
     5.1-42 500
        500 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 Packages
     5.1-41 500
        500 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 Packages
     5.1-40 500
        500 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 Packages
     5.1-38 500
        500 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 Packages
     5.1-37 500
        500 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 Packages
     5.1-36 500
        500 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 Packages
     5.1-35 500
        500 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 Packages
     5.1-34 500
        500 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 Packages
     5.1-33 500
        500 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 Packages
     5.1-32 500
        500 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 Packages
     5.1-31 500
        500 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 Packages
     5.1-30 500
        500 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 Packages
     5.1-29 500
        500 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 Packages
     5.1-28 500
        500 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 Packages
     5.1-27 500
        500 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 Packages
     5.1-26 500
        500 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 Packages
     5.1-25 500
        500 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 Packages
     5.0-25 500
        500 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 Packages
     5.0-24 500
        500 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 Packages
     5.0-23 500
        500 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 Packages
     5.0-22 500
        500 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 Packages
     5.0-21 500
        500 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 Packages
     5.0-20 500
        500 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 Packages
     5.0-19 500
        500 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 Packages
     5.0-18 500
        500 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 Packages
     5.0-16 500
        500 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 Packages
     5.0-15 500
        500 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 Packages
     5.0-12 500
        500 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 Packages
     5.0-9 500
        500 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 Packages
     5.0-7 500
        500 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 Packages
     5.0-6 500
        500 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 Packages
     5.0-5 500
        500 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 Packages
     5.0-2 500
        500 http://download.proxmox.com/debian/pve stretch/pve-no-subscription amd64 Packages
 
the server where I had this problem - a week ago, after rebooting and installing

policy now

That looks good - and you have proxmox-ve installed just fine? I was rather interested in the output from onetwothree who had the issue of not being able to install it though.
 

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!