Installing Proxmox on Debain 9 ( command line or iso ) on Dedicat Server

nagui

New Member
Apr 6, 2018
1
0
1
40
Hello,

Please need help to install Proxmox on Debain 9 in dedicate server.

with command line i have this error :

update-rc.d: error: insserv rejected the script header
dpkg: error processing package pve-firewall (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of qemu-server:
qemu-server depends on pve-firewall; however:
Package pve-firewall is not configured yet.

dpkg: error processing package qemu-server (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of proxmox-ve:
proxmox-ve depends on qemu-server; however:
Package qemu-server is not configured yet.

dpkg: error processing package proxmox-ve (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of pve-manager:
pve-manager depends on pve-firewall; however:
Package pve-firewall is not configured yet.
pve-manager depends on qemu-server (>= 1.1-1); however:
Package qemu-server is not configured yet.

dpkg: error processing package pve-manager (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of pve-ha-manager:
pve-ha-manager depends on qemu-server; however:
Package qemu-server is not configured yet.

dpkg: error processing package pve-ha-manager (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of pve-container:
pve-container depends on pve-ha-manager; however:
Package pve-ha-manager is not configured yet.

dpkg: error processing package pve-container (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
pve-firewall
qemu-server
proxmox-ve
pve-manager
pve-ha-manager
pve-container
E: Sub-process /usr/bin/dpkg returned an error code (1)

And with when mount iso in my server i can run install

Thnxs for your help
 
I remember, that I had the same error somewhere near the beginning of this year, yet I cannot recall how I fixed it.

Please post the entries in /etc/hosts (in CODE tags please)
 
i have the same issue as described above, started with a fresh debian box, following https://pve.proxmox.com/wiki/Install_Proxmox_VE_on_Debian_Stretch

As this isn ot the first PVE box i have set up i did comparisons on the other running machines .. could not find anything out of the ordinary.
Only difference is that those machines were setup with Jessie and Pve, and lateron upgraded to Stretch .. this new box is stretch from start.

@lnxbill /etc/hosts is same as on the already runnig machines, and
Code:
hostname --ip-address
Does show the correct IP

- Michael
 
Just as a comparison i re-installed the machine with the Debian Jessie version from scratch ( as it was not functioning anyways i have room to play)

Hardware : DL380 Generation 5 2x Quad core cpu / 32M ram

Yes i know its out-dated hardware, still its more then sufficient for my needs :)

Partitioning :

- 500M /boot
- 20Gb /
- 2Gb swap
-> will setup lvm for the rest of the storage for hosting the VM's

Setup patterns : unchanged from default selections

After initial setup changed the IP from dhcp to fixed (having it the same of all the other machines as comparison (except the ip itself ofc) :) and editted /etc/hosts

Code:
127.0.0.1       localhost
#127.0.1.1      prox04.domainname.tld      prox04
172.16.0.33     prox04.domainname.tld      prox04

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

Then started following the https://pve.proxmox.com/wiki/Install_Proxmox_VE_on_Debian_Jessie guide

This went without any issue and i ended up with a working PVE 4.4-22 host ( tested login on port 8006 - flawless!)

After that i grabbed the upgrade-guide https://pve.proxmox.com/wiki/Upgrade_from_4.x_to_5.0

This guide is missing the sed line to deal with the no-subscription, so for completeness its added below :

Code:
sed -i 's/jessie/stretch/g' /etc/apt/sources.list.d/pve-install-repo.list

After performing the dist-upgrade and rebooting the machine i have successfully ended up with a working PVE 5.1-46 host

So this works, without any pain.

The install which leaded to the issues as stated by the topic-starter was :

- install Jessie (this has to do with the hardware and the recognition of my P400 raid controller)
- upgrade to stretch
- install PVE 5.1 directly according to the stretch debian guide.
 
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!