contabo VPS : Proxmox installtion on debian 12 -

Nov 6, 2018
11
1
43
51
Dear

We try to install proxmox on Contabo vps (debian 12).

We followed the steps as described here : https://pve.proxmox.com/wiki/Install_Proxmox_VE_on_Debian_12_Bookworm

When running this command :

Install the Proxmox VE packages

> apt install proxmox-ve postfix open-iscsi chrony

We get this error :

dpkg: error processing package proxmox-ve (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
ifupdown2
pve-manager
proxmox-ve

If anybody has or had the same issue thanks for sharing ;-)

Best Regards
Youssef
 
Can you post the output of the following commands?

Bash:
dmidecode -s system-manufacturer
uname -a
lsb_release -a
cat /etc/apt/sources.list.d/pve-install-repo.list
apt update
 
Dear,

Please find below the result of the commands :

root@vmi1533533:~# dmidecode -s system-manufacturer
-bash: dmidecode: command not found
root@vmi1533533:~# uname -a
Linux vmi1533533 6.5.11-7-pve #1 SMP PREEMPT_DYNAMIC PMX 6.5.11-7 (2023-12-05T09:44Z) x86_64 GNU/Linux
root@vmi1533533:~# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 12 (bookworm)
Release: 12
Codename: bookworm
root@vmi1533533:~# cat /etc/apt/sources.list.d/pve-install-repo.list
deb [arch=amd64] http://download.proxmox.com/debian/pve bookworm pve-no-subscription
root@vmi1533533:~# apt update
Get:1 file:/etc/apt/mirrors/debian.list Mirrorlist [30 B]
Get:5 file:/etc/apt/mirrors/debian-security.list Mirrorlist [39 B]
Hit:2 https://deb.debian.org/debian bookworm InRelease
Hit:3 https://deb.debian.org/debian bookworm-updates InRelease
Hit:4 https://deb.debian.org/debian bookworm-backports InRelease
Hit:6 https://deb.debian.org/debian-security bookworm-security InRelease
Hit:7 http://download.proxmox.com/debian/pve bookworm InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
root@vmi1533533:~#
 
I have installed the dmidecode package

root@vmi1533533:~# sudo apt install -y dmidecode
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
dmidecode
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 68.8 kB of archives.
After this operation, 226 kB of additional disk space will be used.
Get:1 file:/etc/apt/mirrors/debian.list Mirrorlist [30 B]
Get:2 https://deb.debian.org/debian bookworm/main amd64 dmidecode amd64 3.4-1 [68.8 kB]
Fetched 68.8 kB in 0s (647 kB/s)
Selecting previously unselected package dmidecode.
(Reading database ... 32084 files and directories currently installed.)
Preparing to unpack .../dmidecode_3.4-1_amd64.deb ...
Unpacking dmidecode (3.4-1) ...
Setting up dmidecode (3.4-1) ...
Processing triggers for man-db (2.11.2-2) ...
root@vmi1533533:~# dmidecode -s system-manufacturer
QEMU
 
Dear,

Please find below the result of the commands :

root@vmi1533533:~# dmidecode -s system-manufacturer
-bash: dmidecode: command not found
root@vmi1533533:~# uname -a
Linux vmi1533533 6.5.11-7-pve #1 SMP PREEMPT_DYNAMIC PMX 6.5.11-7 (2023-12-05T09:44Z) x86_64 GNU/Linux
root@vmi1533533:~# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 12 (bookworm)
Release: 12
Codename: bookworm
root@vmi1533533:~# cat /etc/apt/sources.list.d/pve-install-repo.list
deb [arch=amd64] http://download.proxmox.com/debian/pve bookworm pve-no-subscription
root@vmi1533533:~# apt update
Get:1 file:/etc/apt/mirrors/debian.list Mirrorlist [30 B]
Get:5 file:/etc/apt/mirrors/debian-security.list Mirrorlist [39 B]
Hit:2 https://deb.debian.org/debian bookworm InRelease
Hit:3 https://deb.debian.org/debian bookworm-updates InRelease
Hit:4 https://deb.debian.org/debian bookworm-backports InRelease
Hit:6 https://deb.debian.org/debian-security bookworm-security InRelease
Hit:7 http://download.proxmox.com/debian/pve bookworm InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
root@vmi1533533:~#

Looks as expected. Interestingly you already have the pve kernel installed which indicates you ran the installation the second time in your first post correct?

Okay let's try the following:

First let's manually try installing ifupdown2:
Bash:
apt install ifupdown2

Second, let's see if we can get a bit more output about what is failing:
Bash:
dpkg --configure -a

Can you please also check if this reports the correct IP?

Bash:
hostname --ip-address
AA.ZZ.XX.YY # should return your IP address here
 
Dear,

Thanks for your quick replies and I appreciate it.

Finally to install, the hosts file needs to reference the ip address of the host.
But unfortunately, each time to reboot the ip address becomes 127.0.1.1 ;-)

To fix that, I edited : "/etc/cloud/templates/hosts.debian.tmpl" and forced to : "my_ip_address {{fqdn}} {{hostname}}"
Rebooted and then the install is complete and I have access to proxmox.

Now, I am expecting to add my secondary public ip and /etc/network/interfaces is :

# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback

don't know where the config is ?

Best Regards
Youssef
 
Dear,

Thanks for your quick replies and I appreciate it.

Finally to install, the hosts file needs to reference the ip address of the host.
But unfortunately, each time to reboot the ip address becomes 127.0.1.1 ;-)

To fix that, I edited : "/etc/cloud/templates/hosts.debian.tmpl" and forced to : "my_ip_address {{fqdn}} {{hostname}}"
Rebooted and then the install is complete and I have access to proxmox.

Now, I am expecting to add my secondary public ip and /etc/network/interfaces is :

# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback

don't know where the config is ?

Best Regards
Youssef
Okay, this makes things a bit more complicated if your hosting company re-configures your VM. I assume you are aware that you are effectively setting yourself up for nested virtualization in this environment after all?

For further assistance I think we should directly get in touch as this seems to be a bit too much for this forums context ;)
 
Dear @Bent

Today, I have my own proxmox with enterprise license on bare metal servers.

I was looking to evaluate the easiest way to migrate our on premise proxmox to the cloud and unfortunately if you are using VPS instead of physical server in the cloud, it failed.

While we're being pitched the idea of migrating to the cloud.

If you have more experience than me using proxmox pve with pFsense/OPNsense, K8S cluster than we could have a chat.

Thanks for your reply then how to reach you ?

BR
Youssef
 

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!