[SOLVED] apt install proxmox-ve unmet dependencies Debian netinst 9.2.0

MrMe01

New Member
Sep 16, 2017
22
0
1
40
I am getting the following error,

Code:
root@hostname:/home/userk# 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: 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.

My /etc/hosts looks like this,
Code:
127.0.0.1       localhost
192.168.***.***   hostname hostname.dvmhashb pvelocalhost

# The following lines are desirable for IPv6 capable hosts
::1     localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

Unsure of what to do, I am missing firmware for the wireless, but I don't think that is the cause here. I am fixing that as I speak, Realtek rtl8168d-1.fw is the missing firmware. Will mark as fixed if fixed by the wireless firmware
 
It's working on my other PVE install. In fact, that will run without a FQDN, without issue. The FQDN has always stumped me, to be honest and I've never known exactly what it likes as a FQDN. Any ideas on what would work as an FQDN?
 
Could I please have an example of a known working FQDN that will work, as I have a feeling this has nothing to do with FQDN? Thanks!
 
can you post the content of your apt sources files? (/etc/apt/sources.list and /etc/apt/sources.list.d/* )
also can you run
Code:
apt-get update
apt-get -f install
?
 
Here is my /etc/apt/sources.list,

Code:
# deb cdrom:[Debian GNU/Linux 9.2.0 _Stretch_ - Official amd64 NETINST 20171007-12:09]/ stretch main

#deb cdrom:[Debian GNU/Linux 9.2.0 _Stretch_ - Official amd64 NETINST 20171007-12:09]/ stretch main

deb http://ftp.uk.debian.org/debian/ stretch main non-free
deb-src http://ftp.uk.debian.org/debian/ stretch main

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

# stretch-updates, previously known as 'volatile'
deb http://ftp.uk.debian.org/debian/ stretch-updates main
deb-src http://ftp.uk.debian.org/debian/ stretch-updates main

The contents of /etc/apt/sources.list.d is just the one file, pve-install-repo.list.

This contains the following,

Code:
deb http://download.proxmox.com/debian jessie pve-no-subscription
apt-get update yields,
Code:
apt-get update
Ign:1 http://ftp.uk.debian.org/debian stretch InRelease
Hit:2 http://ftp.uk.debian.org/debian stretch-updates InRelease           
Hit:3 http://ftp.uk.debian.org/debian stretch Release                                                                       
Hit:5 http://security.debian.org/debian-security stretch/updates InRelease                                                 
Hit:6 http://download.proxmox.com/debian jessie InRelease         
Reading package lists... Done

apt-get -f install,

Code:
apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
 
Got it working, using Jessie repositories, when I should have paid closer attention and used Stretch. Installing as I type this.
 
I'm still too used to typing Jessie in when it comes to searching for a guide. I did use the above guide once I realised my mistake.
 
Hi folks - I know it is 2022 ! but if anyone is still stuck at this issue like I was I found out how to work it out !
1. first , you need to nano /etc/apt/sources.list

and paste these :
deb http://ftp.debian.org/debian bullseye main contrib

deb http://ftp.debian.org/debian bullseye-updates main contrib

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

#deb http://security.debian.org bullseye-security main contrib
# PVE pve-no-subscription repository provided by proxmox.com,
save and quit ,
2. Then 2nd : run apt update
3. 3th Run apt upgrade
and follow the promoted dialogs and follow along , if you got ssd in your sys it will take less than 3 mints to fully upgrade ,
You should see this at the end when all are done :
"Running hooks in /etc/ca-certificates/update.d...
done.
Processing triggers for initramfs-tools (0.140) ...
update-initramfs: Generating /boot/initrd.img-5.15.53-1-pve
Running hook script 'zz-proxmox-boot'..
Re-executing '/etc/kernel/postinst.d/zz-proxmox-boot' in new private mount namespace..
No /etc/kernel/proxmox-boot-uuids found, skipping ESP sync. "
Finally Reboot and you are good to go - if you got any issue hamedo6610@gmail.com :)
Good luck !
 
Hi folks - I know it is 2022 ! but if anyone is still stuck at this issue like I was I found out how to work it out !
Please avoid bumping such old threads! This was talking about Proxmox VE on Debian Stretch, not on Bullseye.
3. 3th Run apt upgrade
This is dangerous, always use apt full-upgrade (or it's alias, apt dist-upgrade)

Just follow our official documentation for such things
https://pve.proxmox.com/wiki/Install_Proxmox_VE_on_Debian_11_Bullseye
See the Installation category for other versions/articles: https://pve.proxmox.com/wiki/Category:Installation
 

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!