results after apt dist-upgrade
root@proxmox:/etc/apt# apt dist-upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages will be REMOVED:
pve-kernel-5.15.74-1-pve
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 400 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 46863 files and directories currently installed.)
Removing pve-kernel-5.15.74-1-pve (5.15.74-1) ...
Examining /etc/kernel/postrm.d.
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 5.15.74-1-pve /boot/vmlinuz-5.15.74-1-pve
update-initramfs: Deleting /boot/initrd.img-5.15.74-1-pve
run-parts: executing /etc/kernel/postrm.d/proxmox-auto-removal 5.15.74-1-pve /boot/vmlinuz-5.15.74-1-pve
/etc/kernel/postrm.d/proxmox-auto-removal: 4: .: cannot open /usr/share/proxmox-kernel-helper/scripts/functions: No such file
run-parts: /etc/kernel/postrm.d/proxmox-auto-removal exited with return code 2
Failed to process /etc/kernel/postrm.d at /var/lib/dpkg/info/pve-kernel-5.15.74-1-pve.postrm line 14.
dpkg: error processing package pve-kernel-5.15.74-1-pve (--remove):
installed pve-kernel-5.15.74-1-pve package post-removal script subprocess returned error exit status 1
dpkg: too many errors, stopping
Errors were encountered while processing:
pve-kernel-5.15.74-1-pve
Processing was halted because there were too many errors.
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@proxmox:/etc/apt#
repositories
root@proxmox:/etc# grep '' /etc/apt/sources.list* /etc/apt/sources.list.d/*
/etc/apt/sources.list:deb http://ftp.debian.org/debian bookworm main contrib
/etc/apt/sources.list:deb http://ftp.debian.org/debian bookworm-updates main contrib
/etc/apt/sources.list:
/etc/apt/sources.list:# Proxmox VE pve-no-subscription repository provided by proxmox.com,
/etc/apt/sources.list:# NOT recommended for production use
/etc/apt/sources.list:deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription
/etc/apt/sources.list:
/etc/apt/sources.list:# security updates
/etc/apt/sources.list:deb http://security.debian.org/debian-security bookworm-security main contrib
/etc/apt/sources.list:deb http://security.debian.org bookworm-security main contrib
grep: /etc/apt/sources.list.d: Is a directory
/etc/apt/sources.list.save:# deb
/etc/apt/sources.list.d/ceph.list:deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription
/etc/apt/sources.list.d/pve-enterprise.list:deb https://enterprise.proxmox.com/debian/pve bookworm pve-enterprise
/etc/apt/sources.list.d/pve-enterprise.list.save:# deb https://enterprise.proxmox.com/debian/pve bullseye pve-enterprise
/etc/apt/sources.list.d/pve-enterprise.list.save:deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription
/etc/apt/sources.list.d/pve-enterprise.list.save:apt -o Debug:kgProblemResolver=yes dist-upgrade
root@proxmox:/etc#
after apt install proxmox-ve
root@proxmox:/etc# apt install proxmox-ve
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
ceph-common : Depends: librbd1 (= 16.2.11+ds-2) but 17.2.7-pve2~bpo11+1 is to be installed
Depends: python3-ceph-argparse (= 16.2.11+ds-2) but 17.2.7-pve2~bpo11+1 is to be installed
Depends: python3-ceph-common (< 16.2.11+ds-2.1~) but 17.2.7-pve2~bpo11+1 is to be installed
Depends: python3-cephfs (= 16.2.11+ds-2) but it is not going to be installed
Depends: python3-rados (= 16.2.11+ds-2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
root@proxmox:/etc#
Please help
root@proxmox:/etc/apt# apt dist-upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages will be REMOVED:
pve-kernel-5.15.74-1-pve
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 400 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 46863 files and directories currently installed.)
Removing pve-kernel-5.15.74-1-pve (5.15.74-1) ...
Examining /etc/kernel/postrm.d.
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 5.15.74-1-pve /boot/vmlinuz-5.15.74-1-pve
update-initramfs: Deleting /boot/initrd.img-5.15.74-1-pve
run-parts: executing /etc/kernel/postrm.d/proxmox-auto-removal 5.15.74-1-pve /boot/vmlinuz-5.15.74-1-pve
/etc/kernel/postrm.d/proxmox-auto-removal: 4: .: cannot open /usr/share/proxmox-kernel-helper/scripts/functions: No such file
run-parts: /etc/kernel/postrm.d/proxmox-auto-removal exited with return code 2
Failed to process /etc/kernel/postrm.d at /var/lib/dpkg/info/pve-kernel-5.15.74-1-pve.postrm line 14.
dpkg: error processing package pve-kernel-5.15.74-1-pve (--remove):
installed pve-kernel-5.15.74-1-pve package post-removal script subprocess returned error exit status 1
dpkg: too many errors, stopping
Errors were encountered while processing:
pve-kernel-5.15.74-1-pve
Processing was halted because there were too many errors.
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@proxmox:/etc/apt#
repositories
root@proxmox:/etc# grep '' /etc/apt/sources.list* /etc/apt/sources.list.d/*
/etc/apt/sources.list:deb http://ftp.debian.org/debian bookworm main contrib
/etc/apt/sources.list:deb http://ftp.debian.org/debian bookworm-updates main contrib
/etc/apt/sources.list:
/etc/apt/sources.list:# Proxmox VE pve-no-subscription repository provided by proxmox.com,
/etc/apt/sources.list:# NOT recommended for production use
/etc/apt/sources.list:deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription
/etc/apt/sources.list:
/etc/apt/sources.list:# security updates
/etc/apt/sources.list:deb http://security.debian.org/debian-security bookworm-security main contrib
/etc/apt/sources.list:deb http://security.debian.org bookworm-security main contrib
grep: /etc/apt/sources.list.d: Is a directory
/etc/apt/sources.list.save:# deb
/etc/apt/sources.list.d/ceph.list:deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription
/etc/apt/sources.list.d/pve-enterprise.list:deb https://enterprise.proxmox.com/debian/pve bookworm pve-enterprise
/etc/apt/sources.list.d/pve-enterprise.list.save:# deb https://enterprise.proxmox.com/debian/pve bullseye pve-enterprise
/etc/apt/sources.list.d/pve-enterprise.list.save:deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription
/etc/apt/sources.list.d/pve-enterprise.list.save:apt -o Debug:kgProblemResolver=yes dist-upgrade
root@proxmox:/etc#
after apt install proxmox-ve
root@proxmox:/etc# apt install proxmox-ve
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
ceph-common : Depends: librbd1 (= 16.2.11+ds-2) but 17.2.7-pve2~bpo11+1 is to be installed
Depends: python3-ceph-argparse (= 16.2.11+ds-2) but 17.2.7-pve2~bpo11+1 is to be installed
Depends: python3-ceph-common (< 16.2.11+ds-2.1~) but 17.2.7-pve2~bpo11+1 is to be installed
Depends: python3-cephfs (= 16.2.11+ds-2) but it is not going to be installed
Depends: python3-rados (= 16.2.11+ds-2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
root@proxmox:/etc#
Please help