Debian 9 (Proxmox): installation completely broken

Post questions regarding lower-level issues will here.

Debian 9 (Proxmox): installation completely broken

Postby zamana » September 4th, 2018, 4:03 pm

Hi!

Ok, I'm using Proxmox, but it's based on Debian 9, and my problem is not with Proxmox itself, but with some kind of "catch 22" with apt/dpkg...

After rebooting the server Proxmox isn't working anymore due to some kind of unconfigured packages that raised from nowhere. And everything I tried to do is not working.

To summarize:

Code: Select all
apt update
$ apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
7 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up pve-cluster (5.0-30) ...
Failed to retrieve unit: No such method 'GetUnit'
Failed to retrieve unit: No such method 'GetUnit'
Failed to start pve-ha-lrm.service: Unknown unit: pve-ha-lrm.service
See system logs and 'systemctl status pve-ha-lrm.service' for details.
dpkg: error processing package pve-cluster (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of pve-firewall:
 pve-firewall depends on pve-cluster; however:
  Package pve-cluster is not configured yet.

dpkg: error processing package pve-firewall (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libpve-guest-common-perl:
 libpve-guest-common-perl depends on pve-cluster; however:
  Package pve-cluster is not configured yet.

dpkg: error processing package libpve-guest-common-perl (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of qemu-server:
 qemu-server depends on libpve-guest-common-perl; however:
  Package libpve-guest-common-perl is not configured yet.
 qemu-server depends on pve-cluster; however:
  Package pve-cluster is not configured yet.
 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 libpve-storage-perl:
 libpve-storage-perl depends on pve-cluster; however:
  Package pve-cluster is not configured yet.

dpkg: error processing package libpve-storage-perl (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of pve-manager:
 pve-manager depends on libpve-guest-common-perl (>= 2.0-14); however:
  Package libpve-guest-common-perl is not configured yet.
 pve-manager depends on libpve-storage-perl (>= 5.0-18); however:
  Package libpve-storage-perl is not configured yet.
 pve-manager depends on pve-cluster (>= 5.0-27); however:
  Package pve-cluster is not configured yet.
 pve-manager depends on pve-firewall; however:
  Package pve-firewall is not configured yet.
 pve-manager depends on qemu-server (>= 5.0-24); 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-container:
 pve-container depends on libpve-guest-common-perl; however:
  Package libpve-guest-common-perl is not configured yet.
 pve-container depends on libpve-storage-perl (>= 5.0-18); however:
  Package libpve-storage-perl is not configured yet.
 pve-container depends on pve-cluster (>= 4.0-8); however:
  Package pve-cluster is not configured yet.

dpkg: error processing package pve-container (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent processing triggers for pve-ha-manager:
 pve-ha-manager depends on pve-cluster (>= 3.0-17); however:
  Package pve-cluster is not configured yet.
 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 triggers unprocessed
Errors were encountered while processing:
 pve-cluster
 pve-firewall
 libpve-guest-common-perl
 qemu-server
 libpve-storage-perl
 pve-manager
 pve-container
 pve-ha-manager
E: Sub-process /usr/bin/dpkg returned an error code (1)

$ dpkg -C
The following packages have been unpacked but not yet configured.
They must be configured using dpkg --configure or the configure
menu option in dselect for them to work:
 libpve-guest-common-perl Proxmox VE common guest-related modules
 libpve-storage-perl  Proxmox VE storage management library
 pve-container        Proxmox VE Container management tool
 pve-firewall         Proxmox VE Firewall
 pve-manager          Proxmox Virtual Environment Management Tools
 qemu-server          Qemu Server Tools

The following packages are only half configured, probably due to problems
configuring them the first time.  The configuration should be retried using
dpkg --configure <package> or the configure menu option in dselect:
 pve-cluster          Cluster Infrastructure for Proxmox Virtual Environment

The following packages have been triggered, but the trigger processing
has not yet been done.  Trigger processing can be requested using
dselect or dpkg --configure --pending (or dpkg --triggers-only):
 pve-ha-manager       Proxmox VE HA Manager


apt update, upgrade does not fix the issue.
dpkg --reconfigure -a does not fix the issue.

Is there some way to get out of this situation without reinstalling the whole system?

Thanks.
Regards.
zamana
 
Posts: 1
Joined: September 4th, 2018, 3:58 pm

Re: Debian 9 (Proxmox): installation completely broken

Postby arochester » September 4th, 2018, 9:45 pm

Have you asked Proxmox? https://forum.proxmox.com/
arochester
 
Posts: 18
Joined: July 11th, 2012, 6:57 pm


Return to System Issues

Who is online

Users browsing this forum: No registered users and 2 guests

x