[Proxmox] Erreur a l’installation sur Debian 9 Stretch

 

Erreur a l’installation sur Debian 9 Stretch

 

 

Je ne sais pas si cela est lié a la maj de Debian 8 Jessie vers Stretch 9 mais impossible de finaliser l’installation de Proxmox 5 (5.1.43).

Une piste  –> https://www.mail-archive.com/pve-user@pve.proxmox.com/msg08264.html

L’erreur:

Setting up pve-firewall (3.0-5) ...
Created symlink
/etc/systemd/system/multi-user.target.wants/pve-firewall.service →
/lib/systemd/system/pve-firewall.service.
insserv: Service pve-cluster has to be enabled to start service pvefw-logger
insserv: exiting now!
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
Processing triggers for initramfs-tools (0.130) ...
update-initramfs: Generating /boot/initrd.img-4.13.13-1-pve
I: The initramfs will attempt to resume from /dev/md0
I: (UUID=25b05adb-f12d-40d0-8c68-1bf28e25e9ba)
I: Set the RESUME variable to override this.
Processing triggers for libc-bin (2.24-11+deb9u1) ...
Processing triggers for systemd (232-25+deb9u1) ...
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)
root@pve /etc/apt/sources.list.d #

 

Solution, retirer pve-cluster du Required-Start/Stop sur les fichiers /etc/init.d/pve-firewall et /etc/init.d/pvefw-logger (merci Axel!)

$ sudo vim /etc/init.d/pvefw-logger
#!/bin/sh

### BEGIN INIT INFO
# Provides: pvefw-logger
# Required-Start: $remote_fs $network $syslog pve-cluster
# Required-Stop: $remote_fs $network $syslog pve-cluster
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: PVE firewall logger
### END INIT INFO

 

$ sudo vim /etc/init.d/pve-firewall
#!/bin/sh

### BEGIN INIT INFO
# Provides: pve-firewall
# Required-Start: $remote_fs $network pvefw-logger pve-cluster
# Required-Stop: $remote_fs $network pvefw-logger pve-cluster
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Proxmox VE firewall
### END INIT INFO

 

Puis relancer l’installation, cela va corriger les liens manquants.

$ sudo apt install proxmox-ve

 

Done!

 

 

Rating: 5.0/5. From 1 vote.
Please wait...

Laisser un commentaire

Votre adresse de messagerie ne sera pas publiée. Les champs obligatoires sont indiqués avec *

Ce site utilise Akismet pour réduire les indésirables. Apprenez comment vos données de commentaires sont traitées.