[SOLVED] Dist-upgrade error about dpkg.

totae

New Member
May 27, 2023
14
1
3
Hello ,

I can't dist-upgrade show error about dpkg upgrade.

Code:
apt dist-upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  libjemalloc2 pve-kernel-5.15.60-2-pve pve-kernel-5.15.83-1-pve
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
10 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 openssh-server (1:8.4p1-5+deb11u3) ...
dpkg: error processing package openssh-server (--configure):
 installed openssh-server package post-installation script subprocess returned error exit status 10
Setting up samba-common (2:4.13.13+dfsg-1~deb11u6) ...
dpkg: error processing package samba-common (--configure):
 installed samba-common package post-installation script subprocess returned error exit status 10
Setting up grub-pc (2.06-3~deb11u6) ...
dpkg: error processing package grub-pc (--configure):
 installed grub-pc package post-installation script subprocess returned error exit status 10
dpkg: dependency problems prevent configuration of smbclient:
 smbclient depends on samba-common (= 2:4.13.13+dfsg-1~deb11u6); however:
  Package samba-common is not configured yet.


dpkg: error processing package smbclient (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of samba-common-bin:
 samba-common-bin depends on samba-common (= 2:4.13.13+dfsg-1~deb11u6); however:
  Package samba-common is not configured yet.


dpkg: error processing package samba-common-bin (--configure):
 dependency problems - leaving unconfigured
Setting up zabbix-agent (1:5.0.8+dfsg-1) ...
dpkg: error processing package zabbix-agent (--configure):
 installed zabbix-agent package post-installation script subprocess returned error exit status 10
dpkg: dependency problems prevent configuration of libpve-storage-perl:
 libpve-storage-perl depends on smbclient; however:
  Package smbclient is not configured yet.


dpkg: error processing package libpve-storage-perl (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of pve-container:
 pve-container depends on libpve-storage-perl (>= 7.2-10); however:
  Package libpve-storage-perl 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 libpve-storage-perl (>= 7.2-12); however:
  Package libpve-storage-perl is not configured yet.
 pve-manager depends on pve-container (>= 4.0-9); however:
  Package pve-container is not configured yet.


dpkg: error processing package pve-manager (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of qemu-server:
 qemu-server depends on libpve-storage-perl (>= 7.2-10); however:
  Package libpve-storage-perl is not configured yet.


dpkg: error processing package qemu-server (--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.
 pve-ha-manager depends on qemu-server (>= 6.0-15); 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:
 openssh-server
 samba-common
 grub-pc
 smbclient
 samba-common-bin
 zabbix-agent
 libpve-storage-perl
 pve-container
 pve-manager
 qemu-server
 pve-ha-manager
E: Sub-process /usr/bin/dpkg returned an error code (1)

I've try update & dpkg --configure -a but it's still error.

Could you please suggest.

Best regards,
 
Hi,

Could you please provide us with the output of `apt update` command as well as `pveversion -v`?
 

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!