Proxmox Upgrade Failing

infinityM

Well-Known Member
Dec 7, 2019
179
1
58
31
Hey Guys,

Can someone assist, I've been looking but was unable to find a resolution. I am unable to upgrade proxmox using apt-get upgrade.
Below is logs, I have tried running: dpkg --configure with no success aswell.

Logs of the output:

systemctl start pve-cluapt-get 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.
3 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 lxc-pve (4.0.2-1) ...
usermod: cannot open /etc/passwd
dpkg: error processing package lxc-pve (--configure):
installed lxc-pve package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of pve-container:
pve-container depends on lxc-pve; however:
Package lxc-pve is not configured yet.

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

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

dpkg: error processing package pve-ha-manager (--configure):
dependency problems - leaving triggers unprocessed
Processing triggers for libc-bin (2.28-10) ...
Errors were encountered while processing:
lxc-pve
pve-container
pve-manager
pve-ha-manager
E: Sub-process /usr/bin/dpkg returned an error code (1)
 
This is not the corret way to upgrade, see https://pve.proxmox.com/pve-docs/chapter-sysadmin.html#_system_software_updates
(apt upgrade refuses some operations required by Proxmox VE's rolling release model, thus use apt dist-upgrade)

Still getting the same output?


apt dist-upgraderoot@c5:~# apt dist-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.
3 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 lxc-pve (4.0.2-1) ...
usermod: cannot open /etc/passwd
dpkg: error processing package lxc-pve (--configure):
installed lxc-pve package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of pve-container:
pve-container depends on lxc-pve; however:
Package lxc-pve is not configured yet.

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

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

dpkg: error processing package pve-ha-manager (--configure):
dependency problems - leaving triggers unprocessed
Processing triggers for libc-bin (2.28-10) ...
Errors were encountered while processing:
lxc-pve
pve-container
pve-manager
pve-ha-manager
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@c5:~#
 

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!