Error upgrade

AnthonyV

New Member
Nov 9, 2026
7
0
1
Hi,

I have made a dist-upgrade on my client proxmox server.

I lost shell connection during the update and now, i run the command dpkg--configure -a and i got this :

Code:
root@:/# dpkg --configure -a
Setting up pve-manager (9.2.24) ...
^Cdpkg: error processing package pve-manager (--configure):
 installed pve-manager package post-installation script subprocess was interrupted
dpkg: dependency problems prevent configuration of proxmox-ve:
 proxmox-ve depends on pve-manager (>= 9.0~); however:
  Package pve-manager is not configured yet.

dpkg: error processing package proxmox-ve (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 pve-manager
 proxmox-ve

Also when i run dpkg again i got this :
root@:/# dpkg --configure -a
Setting up pve-manager (9.2.24) ...


Can you help me ?
 
Last edited:
Hi,
The log shows the ^C was sent while pve-manager’s post-install script was running, so the script was interrupted again and the package is still unconfigured. proxmox-ve fails only because it depends on pve-manager. Nothing looks broken so far, the configuration just never finished.

1. Make sure nothing else is running

ps aux | grep -E 'apt|dpkg' | grep -v grep
If the old upgrade process is still alive, let it finish. Don’t kill it.

2. Re-run the configuration and let it finish
dpkg --configure -a
Don’t press Ctrl+C. The pve-manager postinst can take a few minutes because it restarts pvedaemon, pveproxy, pvestatd and so on, and it may look stuck while it does. For safety, run it inside tmux or screen so a dropped SSH session doesn’t interrupt it again.

3. Finish the upgrade

apt update
apt -f install
apt full-upgrade

4. Verify

pveversion -v
systemctl status pve-cluster pvedaemon pveproxy pvestatd
Then reboot if a new kernel was installed.
If the postinst really hangs (more than 10-15 minutes with no activity), check from a second shell:

systemctl status pve-cluster
pvecm status
journalctl -xe

The postinst needs /etc/pve (pmxcfs) to be available. If the node is in a cluster and has lost quorum, or pve-cluster isn’t running, it can stall. In that case post the output of those commands and we can go from there.
 
HI thanks for your quick answer !

I got this :

root@:~# ps aux | grep -E 'apt|dpkg' | grep -v grep
root 10582 0.0 0.0 8724 5896 ? Ss 13:13 0:00 /usr/bin/dpkg --status-fd 29 --configure --pending
root 30785 0.0 0.0 2680 1828 ? S 13:14 0:00 /bin/sh /var/lib/dpkg/info/pve-manager.postinst configure 9.1.6
root 41805 0.0 0.0 8584 5432 pts/2 S+ 13:36 0:00 dpkg --configure -a
root 41806 0.0 0.0 2680 1980 pts/2 S+ 13:36 0:00 /bin/sh /var/lib/dpkg/info/pve-manager.postinst configure 9.1.6

When i made the update my shell window just freeze because of the reboot of the service i think.

Now, i let it go the update but even when i let it almost for 15 minutes nothings happen...
VM are still running by the way.
 
Hi,

You should upgrade by connecting to the server through SSH, don't use the WebUI console to update the host.

Best regards,
 
Hi,

You should upgrade by connecting to the server through SSH, don't use the WebUI console to update the host.

Best regards,
Thanks for your answer, next time i will just tmux to do so...

But now that i'm stuck what can i do to go through this error and fix this issue ?

My pveversion
pveversion -v
proxmox-ve: not correctly installed (running kernel: 6.17.13-2-pve)
pve-manager: not correctly installed (running version: 9.2.24/66bc407c6d90a67a)
proxmox-kernel-helper: 9.2.0
proxmox-kernel-7.0: 7.0.14-26
proxmox-kernel-7.0.14-26-pve-signed: 7.0.14-26
proxmox-kernel-6.17: 6.17.13-21

Thanks
 
Last edited:
Hi,

right now what's the output of these commands in SSH :
Code:
apt update
apt -f install
apt full-upgrade

Best regards,
 
Hi,

right now what's the output of these commands in SSH :
Code:
apt update
apt -f install
apt full-upgrade

Best regards,
Here the result :
Code:
 apt update
Get:1 http://security.debian.org trixie-security InRelease [43.4 kB]
Hit:2 http://ftp.fr.debian.org/debian trixie InRelease                                           
Hit:3 http://ftp.fr.debian.org/debian trixie-updates InRelease
Hit:4 https://enterprise.proxmox.com/debian/pve trixie InRelease
Fetched 43.4 kB in 0s (223 kB/s)                     
8 packages can be upgraded. Run 'apt list --upgradable' to see them.
Warning: Target Packages (pve-enterprise/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/pve-enterprise.list:1 and /etc/apt/sources.list.d/pve-enterprise.sources:1
Warning: Target Packages (pve-enterprise/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/pve-enterprise.list:1 and /etc/apt/sources.list.d/pve-enterprise.sources:1
Warning: Target Translations (pve-enterprise/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/pve-enterprise.list:1 and /etc/apt/sources.list.d/pve-enterprise.sources:1
Warning: Target Translations (pve-enterprise/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/pve-enterprise.list:1 and /etc/apt/sources.list.d/pve-enterprise.sources:1
Warning: Target Packages (pve-enterprise/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/pve-enterprise.list:1 and /etc/apt/sources.list.d/pve-enterprise.sources:1
Warning: Target Packages (pve-enterprise/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/pve-enterprise.list:1 and /etc/apt/sources.list.d/pve-enterprise.sources:1
Warning: Target Translations (pve-enterprise/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/pve-enterprise.list:1 and /etc/apt/sources.list.d/pve-enterprise.sources:1
Warning: Target Translations (pve-enterprise/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/pve-enterprise.list:1 and /etc/apt/sources.list.d/pve-enterprise.sources:1
root@l:~# apt -f install
Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 41805 (dpkg)     
Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 41805 (dpkg)     
Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 41805 (dpkg)     
Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 41805 (dpkg)     
Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 41805 (dpkg)     
Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 41805 (dpkg)     
^Citing for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 41805 (dpkg)... 6s
 
Hi,

First you have an issue with your source. From what I see, you should delete "/etc/apt/sources.list.d/pve-enterprise.list".

And the second you have dpkg that is still running on locking you, it should be visible with ps aux | grep 41805

If it were me, I would kill the process and then restart it with dpkg --configure -a followed by apt update && apt full-upgrade.

Best regards,
 
  • Like
Reactions: UdoB
Hi,

First you have an issue with your source. From what I see, you should delete "/etc/apt/sources.list.d/pve-enterprise.list".

And the second you have dpkg that is still running on locking you, it should be visible with ps aux | grep 41805

If it were me, I would kill the process and then restart it with dpkg --configure -a followed by apt update && apt full-upgrade.

Best regards,
Jean, thanks for your answer.

Any risk to do so ?

Can i lost access to my VM ?
Thanks
 
I kill the process and run again a dpkg --configure -a
But still nothing it's still block ;

root@:~# dpkg --configure -a
Setting up pve-manager (9.2.24) ...

ps aux | grep -E 'apt|dpkg' | grep -v grep
root 109177 0.0 0.0 11572 5904 pts/2 S+ 18:25 0:00 dpkg --configure -a
root 109178 0.0 0.0 2680 1976 pts/2 S+ 18:25 0:00 /bin/sh /var/lib/dpkg/info/pve-manager.postinst configure 9.1.6


If anyone got an other idea !