Hi,
One of our pves refuses to upgrade from Proxmox 7.3-3 to 7.3-6: apt dist-upgrade returns a 'corrupted double-linked list' error, followed by a number of packages that are seemingly not (or no longer) installed:
So far, we have tried : replacing /var/lib/dpkg/status with an older one (from its backups), emptying out apt cache and re-running apt dist-upgrade. Many packages got reinstalled over (due to the replacement of an older version of /var/lib/dpkg/status), but the same 12 packages (ceph-common, pve-qemu-kvm, ceph-base, ceph-mds, qemu-server, ceph-mgr, libpve-storage-perl, ceph-osd, ceph-mon, pve-manager, ceph, pve-ha-manager) continue to refuse to update.
Any pointers as to how to solve this?
Thanks
One of our pves refuses to upgrade from Proxmox 7.3-3 to 7.3-6: apt dist-upgrade returns a 'corrupted double-linked list' error, followed by a number of packages that are seemingly not (or no longer) installed:
Code:
oot@ci-px5:~# 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:
bsdmainutils libboost-context1.74.0 libboost-coroutine1.74.0 libboost-iostreams1.74.0 libboost-program-options1.74.0 libboost-thread1.74.0 libzpool4linux
pve-kernel-5.11 pve-kernel-5.11.22-3-pve pve-kernel-5.13.19-4-pve pve-kernel-5.15.53-1-pve pve-kernel-5.4 pve-kernel-5.4.114-1-pve
pve-kernel-5.4.124-1-pve pve-kernel-5.4.128-1-pve pve-kernel-5.4.55-1-pve
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
11 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_TIME = "fr_FR.UTF-8",
LC_MONETARY = "fr_FR.UTF-8",
LC_ADDRESS = "fr_FR.UTF-8",
LC_TELEPHONE = "fr_FR.UTF-8",
LC_MESSAGES = "fr_FR.UTF-8",
LC_NAME = "fr_FR.UTF-8",
LC_MEASUREMENT = "fr_FR.UTF-8",
LC_IDENTIFICATION = "fr_FR.UTF-8",
LC_NUMERIC = "fr_FR.UTF-8",
LC_PAPER = "fr_FR.UTF-8",
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.UTF-8").
apt-listchanges: Can't set locale; make sure $LC_* and $LANG are correct!
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_TIME = "fr_FR.UTF-8",
LC_MONETARY = "fr_FR.UTF-8",
LC_ADDRESS = "fr_FR.UTF-8",
LC_TELEPHONE = "fr_FR.UTF-8",
LC_MESSAGES = "fr_FR.UTF-8",
LC_NAME = "fr_FR.UTF-8",
LC_MEASUREMENT = "fr_FR.UTF-8",
LC_IDENTIFICATION = "fr_FR.UTF-8",
LC_NUMERIC = "fr_FR.UTF-8",
LC_PAPER = "fr_FR.UTF-8",
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.UTF-8").
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Setting up ceph-common (16.2.11-pve1) ...
Setting system user ceph properties..usermod: no changes
..done
corrupted double-linked list
dpkg: error processing package ceph-common (--configure):
installed ceph-common package post-installation script subprocess was killed by signal (Aborted)
dpkg: dependency problems prevent configuration of pve-qemu-kvm:
pve-qemu-kvm depends on ceph-common (>= 0.48); however:
Package ceph-common is not configured yet.
dpkg: error processing package pve-qemu-kvm (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of ceph-base:
ceph-base depends on ceph-common (= 16.2.11-pve1); however:
Package ceph-common is not configured yet.
dpkg: error processing package ceph-base (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of ceph-mds:
ceph-mds depends on ceph-base (= 16.2.11-pve1); however:
Package ceph-base is not configured yet.
dpkg: error processing package ceph-mds (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of qemu-server:
qemu-server depends on pve-qemu-kvm (>= 3.0.1-62); however:
Package pve-qemu-kvm is not configured yet.
dpkg: error processing package qemu-server (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of ceph-mgr:
ceph-mgr depends on ceph-base (= 16.2.11-pve1); however:
Package ceph-base is not configured yet.
dpkg: error processing package ceph-mgr (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libpve-storage-perl:
libpve-storage-perl depends on ceph-common (>= 12.2~); however:
Package ceph-common is not configured yet.
dpkg: error processing package libpve-storage-perl (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of ceph-osd:
ceph-osd depends on ceph-base (= 16.2.11-pve1); however:
Package ceph-base is not configured yet.
dpkg: error processing package ceph-osd (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of ceph-mon:
ceph-mon depends on ceph-base (= 16.2.11-pve1); however:
Package ceph-base is not configured yet.
dpkg: error processing package ceph-mon (--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 qemu-server (>= 7.2-8); however:
Package qemu-server is not configured yet.
dpkg: error processing package pve-manager (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of ceph:
ceph depends on ceph-mgr (= 16.2.11-pve1); however:
Package ceph-mgr is not configured yet.
ceph depends on ceph-mon (= 16.2.11-pve1); however:
Package ceph-mon is not configured yet.
ceph depends on ceph-osd (= 16.2.11-pve1); however:
Package ceph-osd is not configured yet.
dpkg: error processing package ceph (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent processing triggers for pve-ha-manager:
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
Processing triggers for libc-bin (2.31-13+deb11u5) ...
Errors were encountered while processing:
ceph-common
pve-qemu-kvm
ceph-base
ceph-mds
qemu-server
ceph-mgr
libpve-storage-perl
ceph-osd
ceph-mon
pve-manager
ceph
pve-ha-manager
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@ci-px5:~#
So far, we have tried : replacing /var/lib/dpkg/status with an older one (from its backups), emptying out apt cache and re-running apt dist-upgrade. Many packages got reinstalled over (due to the replacement of an older version of /var/lib/dpkg/status), but the same 12 packages (ceph-common, pve-qemu-kvm, ceph-base, ceph-mds, qemu-server, ceph-mgr, libpve-storage-perl, ceph-osd, ceph-mon, pve-manager, ceph, pve-ha-manager) continue to refuse to update.
Any pointers as to how to solve this?
Thanks