Need help with Proxmox VE install on Debian 10

btammer

Member
Jan 22, 2021
1
0
6
75
LS, I am installing Proxmox VE on Debian 10 and follow the guidelines from this link:
https://pve.proxmox.com/wiki/Install_Proxmox_VE_on_Debian_Buster
I created a new partition on my 1TB SSD drive with size of 500GB, and installed Debian 10 in this partition.
After a
Code:
sudo apt update && sudo apt full-upgrade
I installed Proxmox VE.

But i run into the following problems with this install. I first performed the install as user with sudo ... and secondly i switches to root.
Both times i heve the same issues:
Code:
root@nuc-i5-p4-d:~# sudo apt install proxmox-ve postfix open-iscsi
Reading package lists... Done
Building dependency tree
Reading state information... Done
open-iscsi is already the newest version (2.0.874-7.1).
postfix is already the newest version (3.4.14-0+deb10u1).
proxmox-ve is already the newest version (6.3-1).
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
pve-container : Depends: lxc-pve but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
root@nuc-i5-p4-d:~#

My /etc/apt/sources.list:
Code:
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

Using the command pveversion -v gives me this:
Code:
pve-manager/6.3-3/eee5f901 (running kernel: 5.4.78-2-pve)
root@nuc-i5-p4-d:~# pveversion -v
proxmox-ve: not correctly installed (running kernel: 5.4.78-2-pve)
pve-manager: not correctly installed (running version: 6.3-3/eee5f901)
ceph-fuse: not correctly installed
corosync: not correctly installed
criu: not correctly installed
glusterfs-client: not correctly installed
ifupdown: 0.8.35+pve1
libjs-extjs: not correctly installed
libknet1: not correctly installed
libproxmox-acme-perl: not correctly installed
libproxmox-backup-qemu0: not correctly installed
libpve-access-control: not correctly installed
libpve-apiclient-perl: not correctly installed
libpve-common-perl: not correctly installed
libpve-guest-common-perl: not correctly installed
libpve-http-server-perl: not correctly installed
libpve-storage-perl: not correctly installed
libqb0: not correctly installed
libspice-server1: not correctly installed
lvm2: not correctly installed
lxc-pve: not correctly installed
lxcfs: not correctly installed
novnc-pve: not correctly installed
proxmox-backup-client: not correctly installed
proxmox-mini-journalreader: not correctly installed
proxmox-widget-toolkit: not correctly installed
pve-cluster: not correctly installed
pve-container: not correctly installed
pve-docs: not correctly installed
pve-edk2-firmware: not correctly installed
pve-firewall: not correctly installed
pve-firmware: not correctly installed
pve-ha-manager: not correctly installed
pve-i18n: not correctly installed
pve-qemu-kvm: not correctly installed
pve-xtermjs: not correctly installed
qemu-server: not correctly installed
smartmontools: not correctly installed
spiceterm: not correctly installed
vncterm: not correctly installed
zfsutils-linux: not correctly installed

Can anyone please tell me what i am missing with this install?
Edit:
I already started all over again with a fresh install of Debian 10, but the same result.
Kind regards, Bert

Edit2:
I did a dpkg --configure -a and after that pveversion -v gives lots of correctly installed modules.
But a number of modules remain 'not correctly installed':
Code:
root@nuc-i5-p4-d:~# pveversion -v | grep correctly
proxmox-ve: not correctly installed (running kernel: 5.4.78-2-pve)
pve-manager: not correctly installed (running version: 6.3-3/eee5f901)
lxc-pve: not correctly installed
pve-container: not correctly installed
pve-ha-manager: not correctly installed
qemu-server: not correctly installed

The problem remains in lxc-pve! It seems this is a prerequisite for the other modules.
And i can't figure out why is does not install correctly...

Edit3
Try to run: apt --fix-broken install

Code:
root@nuc-i5-p4-d:~# apt --fix-broken install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
  lxc-pve
The following NEW packages will be installed:
  lxc-pve
0 upgraded, 1 newly installed, 0 to remove and 9 not upgraded.
5 not fully installed or removed.
Need to get 0 B/1007 kB of archives.
After this operation, 3764 kB of additional disk space will be used.
Do you want to continue? [Y/n]
(Reading database ... 257237 files and directories currently installed.)
Preparing to unpack .../lxc-pve_4.0.6-2_amd64.deb ...
Adding 'diversion of /usr/share/apparmor-features/features to /usr/share/apparmor-features/features.stock by lxc-pve'
dpkg-divert: error: rename involves overwriting '/usr/share/apparmor-features/features.stock' with
  different file '/usr/share/apparmor-features/features', not allowed
dpkg: error processing archive /var/cache/apt/archives/lxc-pve_4.0.6-2_amd64.deb (--unpack):
 new lxc-pve package pre-installation script subprocess returned error exit status 2
No diversion 'diversion of /usr/share/apparmor-features/features to /usr/share/apparmor-features/features.stock by lxc-pve', none removed.
Errors were encountered while processing:
 /var/cache/apt/archives/lxc-pve_4.0.6-2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
 
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!