Can't Upgrade? 'dpkg --configure -a'

Dec 9, 2023
6
0
1
Trying to go from 0.1.8 to 0.1.10, haven't checked PDM in about a week or so.

When trying to upgrade via GUI or apt full-upgrade I get this error - E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
On running dpkg --configure -a the shell will close itself with this message - proxmox-datacenter-manager-daily-update.service is a disabled or a static unit not running, not starting it.

Anyone else experience this issue? Maybe a PDM issue or just a basic Linux thing that has a common workaround?

Many thanks


SOLVED: run dpkg --configure -a via direct access to the VM/host.
 

Attachments

  • 0d8f8458-faac-4576-b080-ef0b74139c46.jpg
    0d8f8458-faac-4576-b080-ef0b74139c46.jpg
    59.8 KB · Views: 8
Last edited:
Please do update via the integrated console, use ssh (or the host directly).

The issue should be fixed with one of the next update round.
 
We have to console to the PDM VM/server and run dpkg --configure -a and then apt upgrade for the upgrade from 0.1.8 to 0.1.10 to work. If we SSH/WebConsole or use the WebUpgrade option the --configure fails because the console PID is dropped during man-db and libc-bin processing, failing the pre-reqs for apt upgrade to work.

Here is what the successful process from the PDM console looks like - Highlighted where SSH/WebShell/WebUpgrades are failing.
1735684265165.png
 
This worked, thank you! I thought I had tried this already but I guess I must not have. :cool:
It's almost too obvious.. haha
Oh no worries, I was hitting my head against this one for a few days (0.1.9 failed too, same error) then I found this thread with the maintainer saying to use console and i was like 'I wonder...' Boom upgraded!

Funny enough 0.1.7 to 0.1.8 worked normally no issue, so something broke with dpkg on 1.0.8.
 
  • Like
Reactions: abcrate

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!