[SOLVED] Failed dist-upgrade

mihalski

New Member
May 22, 2017
17
0
1
48
Hi,

I just tried to dist-upgrade to 5.0 and got the following error:
```
Selecting previously unselected package pve-manager.
Preparing to unpack .../pve-manager_4.4-13_amd64.deb ...
Detected old pve-manager version - using stop/start to restart daemons
Unpacking pve-manager (4.4-13) ...
Processing triggers for man-db (2.7.0.2-5) ...
Processing triggers for systemd (215-17+deb8u7) ...
Setting up libappconfig-perl (1.66-1) ...
Setting up libjs-extjs (6.0.1-1) ...
Setting up libpve-http-server-perl (1.0-4) ...
Setting up libtemplate-perl (2.24-1.2+b1) ...
Setting up pve-manager (4.4-13) ...
Attempt to reload PVE/LXC.pm aborted.
Compilation failed in require at /usr/share/perl5/PVE/API2/Nodes.pm line 23, <DATA> line 751.
BEGIN failed--compilation aborted at /usr/share/perl5/PVE/API2/Nodes.pm line 23, <DATA> line 751.
Compilation failed in require at /usr/share/perl5/PVE/CLI/pveam.pm line 15, <DATA> line 751.
BEGIN failed--compilation aborted at /usr/share/perl5/PVE/CLI/pveam.pm line 15, <DATA> line 751.
Compilation failed in require at /usr/bin/pveam line 6, <DATA> line 751.
BEGIN failed--compilation aborted at /usr/bin/pveam line 6, <DATA> line 751.
Job for pvedaemon.service failed. See 'systemctl status pvedaemon.service' and 'journalctl -xn' for details.
dpkg: error processing package pve-manager (--configure):
subprocess installed post-installation script returned error exit status 1
Processing triggers for systemd (215-17+deb8u7) ...
Errors were encountered while processing:
pve-manager
E: Sub-process /usr/bin/dpkg returned an error code (1)
```
Does anyone know how to resolve this?
Thanks in advance.

Regards,
Michal

P.S. If it helps diagnose the problem here are my apt sources:
```
deb http://ftp.us.debian.org/debian stretch main contrib

# PVE pve-no-subscription repository provided by proxmox.com,
# NOT recommended for production use
deb http://download.proxmox.com/debian stretch pve-no-subscription

# security updates
deb http://security.debian.org stretch/updates main contrib
```

Also, for what it's worth:
ii libmime-base32-perl 1.02a-1 all Base32 encoder/decoder

I just tried with 1.301-1 but that didn't work also.
 
Last edited:
I've managed to get it upgraded.. for some reason I had to do multiple dist-upgrades.

But now after a reboot the webui isn't available and as far as I can tell none of the containers or vm's are running.

EDIT: I've worked it out.

Because of the earlier problems pve-manager hadn't been installed.. Installed that and it's all back up and running.. Fingers crossed.