I think I may have done apt upgrade instead of apt dist-upgrade.

Aug 27, 2025
9
0
1
I think I may have done an `apt upgrade` instead of `apt dist-upgrade` and now we see:

Code:
root@prox2:~# apt dist-upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
ceph : Depends: ceph-osd (= 19.2.3-pve1) but 19.2.2-pve1~bpo12+1 is installed
ceph-common : Depends: librbd1 (= 19.2.2-pve1~bpo12+1) but 19.2.3-pve1 is installed
ceph-mds : Depends: ceph-base (= 19.2.3-pve1) but 19.2.2-pve1~bpo12+1 is installed
Recommends: ceph-fuse (= 19.2.3-pve1) but 19.2.2-pve1~bpo12+1 is installed
ceph-mgr : Depends: ceph-base (= 19.2.3-pve1) but 19.2.2-pve1~bpo12+1 is installed
ceph-mon : Depends: ceph-base (= 19.2.3-pve1) but 19.2.2-pve1~bpo12+1 is installed
dirmngr : Depends: libgnutls30t64 (>= 3.8.1) but it is not installed
Depends: libldap2 (>= 2.6.2) but it is not installed
libanyevent-perl : Depends: perlapi-5.40.0
Recommends: libasync-interrupt-perl but it is not installed
Recommends: libev-perl but it is not installed or
libevent-perl but it is not installed
Recommends: libguard-perl but it is not installed
libarchive13t64 : Depends: libnettle8t64 but it is not installed
libc-dev-bin : Depends: libc6 (< 2.37) but 2.41-12 is installed
libc6-dev : Depends: libc6 (= 2.36-9+deb12u10) but 2.41-12 is installed
libcurl3t64-gnutls : Depends: libgnutls30t64 (>= 3.8.6) but it is not installed
Depends: libldap2 (>= 2.6.2) but it is not installed
Depends: libnettle8t64 but it is not installed
Depends: libpsl5t64 (>= 0.16.0) but it is not installed
libgfapi0 : Depends: libtirpc3t64 (>= 1.1.4) but it is not installed
libgfchangelog0 : Depends: libtirpc3t64 (>= 1.1.4) but it is not installed
libgfrpc0 : Depends: libtirpc3t64 (>= 1.1.4) but it is not installed
libgfxdr0 : Depends: libtirpc3t64 (>= 1.1.4) but it is not installed
libngtcp2-crypto-gnutls8 : Depends: libgnutls30t64 (>= 3.8.2) but it is not installed
libnvpair3linux : Depends: libtirpc3t64 (>= 1.0.2) but it is not installed
libpython3.13-stdlib : Depends: libdb5.3t64 but it is not installed
libqt5core5t64 : Depends: libglib2.0-0t64 (>= 2.22.0) but it is not installed
Recommends: qttranslations5-l10n but it is not installed
librgw2 : Depends: libcurl4t64 (>= 7.28.0) but it is not installed
Depends: libldap2 (>= 2.6.2) but it is not installed
libsmbclient0 : Depends: samba-libs (= 2:4.22.3+dfsg-4) but 2:4.17.12+dfsg-0+deb12u2 is installed
Depends: libndr6 (>= 2:4.17.2)
libterm-readline-gnu-perl : Depends: perl (>= 5.40.0-6) but 5.36.0-7+deb12u2 is installed
Depends: perlapi-5.40.0
libtirpc-dev : Depends: libtirpc3t64 (= 1.3.6+ds-1) but it is not installed
openssh-client : Depends: init-system-helpers (>= 1.66~) but 1.65.2 is installed
Recommends: xauth but it is not installed
openssh-server : Depends: libwtmpdb0 (>= 0.13.0) but it is not installed
Recommends: xauth but it is not installed
openssh-sftp-server : Depends: openssh-client (= 1:9.2p1-2+deb12u7) but 1:10.0p1-7 is installed
python3 : PreDepends: python3-minimal (= 3.11.2-1+b1) but 3.13.5-1 is installed
Depends: libpython3-stdlib (= 3.11.2-1+b1) but 3.13.5-1 is installed
python3-cephfs : Depends: libcephfs2 (= 19.2.2-pve1~bpo12+1) but 19.2.3-pve1 is installed
radosgw : Depends: ceph-common (= 19.2.3-pve1) but 19.2.2-pve1~bpo12+1 is installed
Depends: libcurl4t64 (>= 7.28.0) but it is not installed
Depends: libldap2 (>= 2.6.2) but it is not installed
shared-mime-info : Depends: libglib2.0-0t64 (>= 2.76.0) but it is not installed
smbclient : Depends: samba-libs (= 2:4.22.3+dfsg-4) but 2:4.17.12+dfsg-0+deb12u2 is installed
Depends: libgnutls30t64 (>= 3.7.0) but it is not installed
Depends: libndr6 (>= 2:4.20.0~rc1)
spiceterm : Depends: libglib2.0-0t64 (>= 2.32.0) but it is not installed
sshfs : Depends: libglib2.0-0t64 (>= 2.24.0) but it is not installed
swtpm-tools : Depends: swtpm (= 0.8.0+pve1) but 0.8.0+pve2 is installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

Code:
root@prox2:~# grep '' /etc/apt/source.list
deb https://enterprise.proxmox.com/debian/pve trixie pve-enterprise non-free-firmware

Code:
root@prox2:~# grep '' /etc/apt/sources.list.d/*
/etc/apt/sources.list.d/caddy-stable.list:# Source: Caddy
/etc/apt/sources.list.d/caddy-stable.list:# Site: https://github.com/caddyserver/caddy
/etc/apt/sources.list.d/caddy-stable.list:# Repository: Caddy / stable
/etc/apt/sources.list.d/caddy-stable.list:# Description: Fast, multi-platform web server with automatic HTTPS
/etc/apt/sources.list.d/caddy-stable.list:
/etc/apt/sources.list.d/caddy-stable.list:
/etc/apt/sources.list.d/caddy-stable.list:deb [signed-by=/usr/share/keyrings/caddy-stable-archive-keyring.gpg] https://dl.cloudsmith.io/public/caddy/stable/deb/debian trixie main
/etc/apt/sources.list.d/caddy-stable.list:
/etc/apt/sources.list.d/caddy-stable.list:deb-src [signed-by=/usr/share/keyrings/caddy-stable-archive-keyring.gpg] https://dl.cloudsmith.io/public/caddy/stable/deb/debian trixie main
/etc/apt/sources.list.d/ceph.sources:Types: deb
/etc/apt/sources.list.d/ceph.sources:URIs: http://download.proxmox.com/debian/ceph-squid
/etc/apt/sources.list.d/ceph.sources:Suites: trixie
/etc/apt/sources.list.d/ceph.sources:Components: no-subscription
/etc/apt/sources.list.d/ceph.sources:Signed-By: /usr/share/keyrings/proxmox-archive-keyring.gpg
/etc/apt/sources.list.d/debian.sources:Types: deb deb-src
/etc/apt/sources.list.d/debian.sources:URIs: http://deb.debian.org/debian/
/etc/apt/sources.list.d/debian.sources:Suites: trixie trixie-updates
/etc/apt/sources.list.d/debian.sources:Components: main non-free-firmware
/etc/apt/sources.list.d/debian.sources:Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
/etc/apt/sources.list.d/debian.sources:
/etc/apt/sources.list.d/debian.sources:Types: deb deb-src
/etc/apt/sources.list.d/debian.sources:URIs: http://security.debian.org/debian-security/
/etc/apt/sources.list.d/debian.sources:Suites: trixie-security
/etc/apt/sources.list.d/debian.sources:Components: main non-free-firmware
/etc/apt/sources.list.d/debian.sources:Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
/etc/apt/sources.list.d/docker.list:deb [arch=amd64] https://download.docker.com/linux/debian trixie stable
/etc/apt/sources.list.d/proxmox.sources:Types: deb
/etc/apt/sources.list.d/proxmox.sources:URIs: http://download.proxmox.com/debian/pve
/etc/apt/sources.list.d/proxmox.sources:Suites: trixie
/etc/apt/sources.list.d/proxmox.sources:Components: pve-enterprise
/etc/apt/sources.list.d/proxmox.sources:Signed-By: /usr/share/keyrings/proxmox-archive-keyring.gpg
/etc/apt/sources.list.d/proxmox.sources:Enabled: true
/etc/apt/sources.list.d/proxmox.sources:
/etc/apt/sources.list.d/pve-enterprise.sources:Types: deb
/etc/apt/sources.list.d/pve-enterprise.sources:URIs: https://enterprise.proxmox.com/debian/pve
/etc/apt/sources.list.d/pve-enterprise.sources:Suites: trixie
/etc/apt/sources.list.d/pve-enterprise.sources:Components: pve-enterprise
/etc/apt/sources.list.d/pve-enterprise.sources:Signed-By: /usr/share/keyrings/proxmox-archive-keyring.gpg

Code:
root@prox2:~# apt --fix-broken install
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  conntrack fonts-font-logos libabsl20220623 libaom3 libapt-pkg6.0 libavif15 libc-devtools libdav1d6 libde265-0 libdeflate0 libdpkg-perl libfile-fcntllock-perl libfile-find-rule-perl libgav1-1 libgd3 libheif1
  libjbig0 libjs-qrcodejs libjs-sencha-touch libjson-glib-1.0-0 libjson-glib-1.0-common liblerc4 libnet-subnet-perl libnsl-dev libnumber-compare-perl libpmemblk1 libposix-strptime-perl libpython3.11
  libpython3.11-minimal libpython3.11-stdlib librav1e0 libsvtav1enc1 libtext-glob-perl libthrift-0.17.0 libtiff6 libtirpc-dev libtpms0 libwebp7 libx265-199 libxpm4 libyuv0 lua-lpeg proxmox-archive-keyring
  proxmox-backup-client proxmox-backup-file-restore proxmox-backup-restore-image proxmox-default-kernel proxmox-kernel-helper proxmox-mail-forward proxmox-offline-mirror-docs proxmox-offline-mirror-helper
  proxmox-websocket-tunnel pve-esxi-import-tools pve-lxc-syscalld pve-nvidia-vgpu-helper python3-attr python3-cached-property python3-distro python3-docker python3-dockerpty python3-docopt python3-dotenv
  python3-json-pointer python3-jsonschema python3-pyrsistent python3-pyvmomi python3-rfc3987 python3-texttable python3-uritemplate python3-webcolors python3-websocket python3.11 python3.11-minimal qrencode
  swtpm swtpm-libs swtpm-tools usrmerge virtiofsd
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
  apt apt-utils ceph-base ceph-common ceph-osd ceph-volume curl docker-compose gir1.2-girepository-2.0 gir1.2-glib-2.0 init-system-helpers libapt-pkg-perl libapt-pkg7.0 libauthen-pam-perl libc-dev-bin
  libc6-dev libclone-perl libcommon-sense-perl libcrypt-openssl-bignum-perl libcrypt-openssl-random-perl libcrypt-openssl-rsa-perl libcrypt-ssleay-perl libcurl4t64 libdb5.3t64 libdbi1t64 libfile-fcntllock-perl
  libfilesys-df-perl libfuse2t64 libgdbm-compat4t64 libgdbm6t64 libgirepository-1.0-1 libglib2.0-0t64 libglib2.0-data libgmp10 libgnutls-dane0t64 libgnutls30t64 libhogweed6t64 libhtml-parser-perl
  libjson-xs-perl libldap2 libldb2 liblinux-inotify2-perl liblocale-gettext-perl libnet-dbus-perl libnet-libidn2-perl libnet-ssleay-perl libnetaddr-ip-perl libnettle8t64 liboath0t64 libp11-kit0 libperl5.40
  libposix-strptime-perl libprotobuf32t64 libpsl5t64 libpve-rs-perl libpve-u2f-server-perl libsasl2-2 libsasl2-modules-db libsocket6-perl libtemplate-perl libtext-charwidth-perl libtext-iconv-perl libtirpc3t64
  liburcu8t64 libuuid-perl libwtmpdb0 libxml-libxml-perl libxml-parser-perl libxml2 libyaml-libyaml-perl lxc-pve openssh-sftp-server perl perl-base perl-modules-5.40 publicsuffix python3 python3-apt
  python3-ceph-argparse python3-ceph-common python3-cephfs python3-cffi-backend python3-dbus python3-gi python3-markupsafe python3-protobuf python3-pycurl python3-pyrsistent python3-rados python3-rbd
  python3-rgw python3-systemd python3-yaml samba-libs sqv swtpm-tools xdg-user-dirs
Suggested packages:
  apt-doc aptitude | synaptic | wajig dpkg-dev powermgmt-base libc-devtools glibc-doc gcc | c-compiler gdbm-l10n low-memory-monitor dns-root-data libdata-dump-perl iwatch libtemplate-plugin-gd-perl
  libtemplate-plugin-xml-perl perl-doc make libtap-harness-archive-perl python3-doc python3-tk python3-venv python-apt-doc python-dbus-doc libcurl4-gnutls-dev python-pycurl-doc trousers
Recommended packages:
  btrfs-tools docker-cli libsasl2-modules
The following packages will be REMOVED:
  libcurl4 libdb5.3 libdbi1 libfuse2 libgdbm-compat4 libgdbm6 libglib2.0-0 libgnutls-dane0 libgnutls30 libgnutlsxx30 libhogweed6 libnettle8 liboath0 libprotobuf32 libpsl5 libpve-access-control
  libpve-cluster-api-perl libpve-cluster-perl libpve-guest-common-perl libpve-network-api-perl libpve-network-perl libpve-notify-perl libpve-storage-perl librados2-perl librrds-perl libtirpc3 liburcu8
  proxmox-firewall proxmox-ve pve-cluster pve-container pve-firewall pve-ha-manager pve-manager python3-distutils python3-lib2to3 qemu-server
The following NEW packages will be installed:
  gir1.2-girepository-2.0 libapt-pkg7.0 libcurl4t64 libdb5.3t64 libdbi1t64 libfuse2t64 libgdbm-compat4t64 libgdbm6t64 libglib2.0-0t64 libglib2.0-data libgnutls-dane0t64 libgnutls30t64 libhogweed6t64 libldap2
  libnettle8t64 liboath0t64 libperl5.40 libprotobuf32t64 libpsl5t64 libtirpc3t64 liburcu8t64 libwtmpdb0 perl-modules-5.40 publicsuffix sqv xdg-user-dirs
The following packages will be upgraded:
  apt apt-utils ceph-base ceph-common ceph-osd ceph-volume curl docker-compose gir1.2-glib-2.0 init-system-helpers libapt-pkg-perl libauthen-pam-perl libc-dev-bin libc6-dev libclone-perl libcommon-sense-perl
  libcrypt-openssl-bignum-perl libcrypt-openssl-random-perl libcrypt-openssl-rsa-perl libcrypt-ssleay-perl libfile-fcntllock-perl libfilesys-df-perl libgirepository-1.0-1 libgmp10 libhtml-parser-perl
  libjson-xs-perl libldb2 liblinux-inotify2-perl liblocale-gettext-perl libnet-dbus-perl libnet-libidn2-perl libnet-ssleay-perl libnetaddr-ip-perl libp11-kit0 libposix-strptime-perl libpve-rs-perl
  libpve-u2f-server-perl libsasl2-2 libsasl2-modules-db libsocket6-perl libtemplate-perl libtext-charwidth-perl libtext-iconv-perl libuuid-perl libxml-libxml-perl libxml-parser-perl libxml2
  libyaml-libyaml-perl lxc-pve openssh-sftp-server perl perl-base python3 python3-apt python3-ceph-argparse python3-ceph-common python3-cephfs python3-cffi-backend python3-dbus python3-gi python3-markupsafe
  python3-protobuf python3-pycurl python3-pyrsistent python3-rados python3-rbd python3-rgw python3-systemd python3-yaml samba-libs swtpm-tools
71 upgraded, 26 newly installed, 37 to remove and 588 not upgraded.
123 not fully installed or removed.
Need to get 119 MB of archives.
After this operation, 149 MB of additional disk space will be used.
Do you want to continue? [Y/n]
Do you want to continue? [Y/n] 
W: (pve-apt-hook) !! WARNING !!
W: (pve-apt-hook) You are attempting to remove the meta-package 'proxmox-ve'!
W: (pve-apt-hook) 
W: (pve-apt-hook) If you really want to permanently remove 'proxmox-ve' from your system, run the following command
W: (pve-apt-hook)     touch '/please-remove-proxmox-ve'
W: (pve-apt-hook) run apt purge proxmox-ve to remove the meta-package
W: (pve-apt-hook) and repeat your apt invocation.
W: (pve-apt-hook) 
W: (pve-apt-hook) If you are unsure why 'proxmox-ve' would be removed, please verify
W: (pve-apt-hook)     - your APT repository settings
W: (pve-apt-hook)     - that you are using 'apt full-upgrade' to upgrade your system
E: Sub-process /usr/share/proxmox-ve/pve-apt-hook returned an error code (1)
E: Failure running script /usr/share/proxmox-ve/pve-apt-hook
 
Last edited:
Maybe the Caddy repository is getting in the way? Probably not because it is commented out. Maybe just remove the old .list files and stick to new .sources files?
You have main and non-free-firmware enabled for the Debian repositories but not contrib? I'm not sure if it matters but it's different from mine.
It looks like you have the no-subscription Ceph repository enabled but also the PVE enterprise. Try changing the Ceph to the enterprise version also since you appear to have a support subscription?
It looks like you have enabled the PVE enterprise repository twice. Maybe the /etc/apt/sources.list.d/proxmox.sources can be removed?
This is what I would expect when having an support subscription (in NL):
Code:
/etc/apt/sources.list.d/ceph.sources:Types: deb
/etc/apt/sources.list.d/ceph.sources:URIs: https://enterprise.proxmox.com/debian/ceph-squid
/etc/apt/sources.list.d/ceph.sources:Suites: trixie
/etc/apt/sources.list.d/ceph.sources:Components: enterprise
/etc/apt/sources.list.d/ceph.sources:Signed-By: /usr/share/keyrings/proxmox-archive-keyring.gpg
/etc/apt/sources.list.d/debian.sources:# Modernized from /etc/apt/sources.list
/etc/apt/sources.list.d/debian.sources:Types: deb
/etc/apt/sources.list.d/debian.sources:URIs: http://ftp.nl.debian.org/debian/
/etc/apt/sources.list.d/debian.sources:Suites: trixie
/etc/apt/sources.list.d/debian.sources:Components: main contrib non-free-firmware
/etc/apt/sources.list.d/debian.sources:Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
/etc/apt/sources.list.d/debian.sources:
/etc/apt/sources.list.d/debian.sources:# Modernized from /etc/apt/sources.list
/etc/apt/sources.list.d/debian.sources:Types: deb
/etc/apt/sources.list.d/debian.sources:URIs: http://ftp.nl.debian.org/debian/
/etc/apt/sources.list.d/debian.sources:Suites: trixie-updates
/etc/apt/sources.list.d/debian.sources:Components: main contrib non-free-firmware
/etc/apt/sources.list.d/debian.sources:Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
/etc/apt/sources.list.d/debian.sources:
/etc/apt/sources.list.d/debian.sources:# Modernized from /etc/apt/sources.list
/etc/apt/sources.list.d/debian.sources:Types: deb
/etc/apt/sources.list.d/debian.sources:URIs: http://security.debian.org/
/etc/apt/sources.list.d/debian.sources:Suites: trixie-security
/etc/apt/sources.list.d/debian.sources:Components: main contrib non-free-firmware
/etc/apt/sources.list.d/debian.sources:Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
/etc/apt/sources.list.d/pve-enterprise.sources:Types: deb
/etc/apt/sources.list.d/pve-enterprise.sources:URIs: https://enterprise.proxmox.com/debian/pve
/etc/apt/sources.list.d/pve-enterprise.sources:Suites: trixie
/etc/apt/sources.list.d/pve-enterprise.sources:Components: pve-enterprise
/etc/apt/sources.list.d/pve-enterprise.sources:Signed-By: /usr/share/keyrings/proxmox-archive-keyring.gpg
 
I have cleaned the sources files to this:

Code:
root@prox2:/etc/apt/sources.list.d# grep "" *
caddy-stable.list:# Source: Caddy
caddy-stable.list:# Site: https://github.com/caddyserver/caddy
caddy-stable.list:# Repository: Caddy / stable
caddy-stable.list:# Description: Fast, multi-platform web server with automatic HTTPS
caddy-stable.list:
caddy-stable.list:
caddy-stable.list:deb [signed-by=/usr/share/keyrings/caddy-stable-archive-keyring.gpg] https://dl.cloudsmith.io/public/caddy/stable/deb/debian trixie main
caddy-stable.list:
caddy-stable.list:deb-src [signed-by=/usr/share/keyrings/caddy-stable-archive-keyring.gpg] https://dl.cloudsmith.io/public/caddy/stable/deb/debian trixie main
ceph.sources:Types: deb
ceph.sources:URIs: https://enterprise.proxmox.com/debian/ceph-squid
ceph.sources:Suites: trixie
ceph.sources:Components: enterprise   
ceph.sources:Signed-By: /usr/share/keyrings/proxmox-archive-keyring.gpg
debian.sources:Types: deb deb-src
debian.sources:URIs: http://deb.debian.org/debian/
debian.sources:Suites: trixie trixie-updates
debian.sources:Components: main contrib non-free-firmware
debian.sources:Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
debian.sources:
debian.sources:Types: deb deb-src
debian.sources:URIs: http://security.debian.org/debian-security/
debian.sources:Suites: trixie-security
debian.sources:Components: main contrib non-free-firmware
debian.sources:Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
docker.list:deb [arch=amd64] https://download.docker.com/linux/debian trixie stable
pve-enterprise.sources:Types: deb
pve-enterprise.sources:URIs: https://enterprise.proxmox.com/debian/pve
pve-enterprise.sources:Suites: trixie
pve-enterprise.sources:Components: pve-enterprise
pve-enterprise.sources:Signed-By: /usr/share/keyrings/proxmox-archive-keyring.gpg

Still the same issue as above. The fact that the `apt --fix-broken install` removes proxmox-ve seems concerning.
 
The difference are still deb-src (also for Caddy which I don't know) but I don't know how that influences stuff.
There is also docker.list (that I missed before), which can interfere with Proxmox. Can you (temporarily) remove that?
Did you re-run apt update and apt dist-upgrade (make sure not to remove proxmox-ve!)?
Did you install Proxmox on top of Debian and not remove the Debian kernel and firmware (which often causes the removal of proxmox-ve)?
 
I have removed Docker, Caddy, and the deb-src. No dice, same output.

Did you re-run apt update and apt dist-upgrade (make sure not to remove proxmox-ve!)?
I did, even cleaned the apt cache, but got the same output.

Proxmox has been installed with the ISO on the host directly bare metal, since version 6, I think.
 
Code:
root@prox2:/etc/apt/sources.list.d# apt update
Get:1 http://security.debian.org/debian-security trixie-security InRelease [43.4 kB]
Get:2 https://enterprise.proxmox.com/debian/ceph-squid trixie InRelease [1,976 B]
Get:3 http://deb.debian.org/debian trixie InRelease [138 kB]
Get:4 https://enterprise.proxmox.com/debian/pve trixie InRelease [1,986 B]
Get:5 http://security.debian.org/debian-security trixie-security/main amd64 Packages [30.1 kB]
Get:6 https://enterprise.proxmox.com/debian/ceph-squid trixie/enterprise amd64 Packages [23.7 kB]
Get:7 http://deb.debian.org/debian trixie-updates InRelease [47.1 kB]                     
Get:8 https://enterprise.proxmox.com/debian/pve trixie/pve-enterprise amd64 Packages [170 kB]
Get:9 http://deb.debian.org/debian trixie/main amd64 Packages [9,668 kB]                       
Get:10 http://security.debian.org/debian-security trixie-security/main Translation-en [19.6 kB]
Get:11 http://deb.debian.org/debian trixie/main Translation-en [6,484 kB]
Get:12 http://deb.debian.org/debian trixie/main amd64 Contents (deb) [12.4 MB]
Get:13 http://deb.debian.org/debian trixie/main all Contents (deb) [37.6 MB]
Get:14 http://deb.debian.org/debian trixie/contrib amd64 Packages [53.8 kB]
Get:15 http://deb.debian.org/debian trixie/contrib Translation-en [49.6 kB]
Get:16 http://deb.debian.org/debian trixie/contrib all Contents (deb) [134 kB]
Get:17 http://deb.debian.org/debian trixie/contrib amd64 Contents (deb) [188 kB]
Get:18 http://deb.debian.org/debian trixie/non-free-firmware amd64 Packages [6,868 B]
Get:19 http://deb.debian.org/debian trixie/non-free-firmware Translation-en [4,704 B]
Get:20 http://deb.debian.org/debian trixie/non-free-firmware amd64 Contents (deb) [1,177 B]
Get:21 http://deb.debian.org/debian trixie/non-free-firmware all Contents (deb) [27.0 kB]
Get:22 http://deb.debian.org/debian trixie-updates/main amd64 Packages [2,432 B]
Get:23 http://deb.debian.org/debian trixie-updates/main Translation-en [396 B]
Get:24 http://deb.debian.org/debian trixie-updates/main all Contents (deb) [14.0 kB]
Fetched 67.1 MB in 10s (6,458 kB/s)                                                                                                                                                                               
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
671 packages can be upgraded. Run 'apt list --upgradable' to see them.

Code:
root@prox2:/etc/apt/sources.list.d# apt dist-upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 ceph : Depends: ceph-osd (= 19.2.3-pve1) but 19.2.2-pve1~bpo12+1 is installed
 ceph-common : Depends: librbd1 (= 19.2.2-pve1~bpo12+1) but 19.2.3-pve1 is installed
 ceph-mds : Depends: ceph-base (= 19.2.3-pve1) but 19.2.2-pve1~bpo12+1 is installed
            Recommends: ceph-fuse (= 19.2.3-pve1) but 19.2.2-pve1~bpo12+1 is installed
 ceph-mgr : Depends: ceph-base (= 19.2.3-pve1) but 19.2.2-pve1~bpo12+1 is installed
 ceph-mon : Depends: ceph-base (= 19.2.3-pve1) but 19.2.2-pve1~bpo12+1 is installed
 dirmngr : Depends: libgnutls30t64 (>= 3.8.1) but it is not installed
           Depends: libldap2 (>= 2.6.2) but it is not installed
 libanyevent-perl : Depends: perlapi-5.40.0
                    Recommends: libasync-interrupt-perl but it is not installed
                    Recommends: libev-perl but it is not installed or
                                libevent-perl but it is not installed
                    Recommends: libguard-perl but it is not installed
 libarchive13t64 : Depends: libnettle8t64 but it is not installed
 libc-dev-bin : Depends: libc6 (< 2.37) but 2.41-12 is installed
 libc6-dev : Depends: libc6 (= 2.36-9+deb12u10) but 2.41-12 is installed
 libcurl3t64-gnutls : Depends: libgnutls30t64 (>= 3.8.6) but it is not installed
                      Depends: libldap2 (>= 2.6.2) but it is not installed
                      Depends: libnettle8t64 but it is not installed
                      Depends: libpsl5t64 (>= 0.16.0) but it is not installed
 libgfapi0 : Depends: libtirpc3t64 (>= 1.1.4) but it is not installed
 libgfchangelog0 : Depends: libtirpc3t64 (>= 1.1.4) but it is not installed
 libgfrpc0 : Depends: libtirpc3t64 (>= 1.1.4) but it is not installed
 libgfxdr0 : Depends: libtirpc3t64 (>= 1.1.4) but it is not installed
 libngtcp2-crypto-gnutls8 : Depends: libgnutls30t64 (>= 3.8.2) but it is not installed
 libnvpair3linux : Depends: libtirpc3t64 (>= 1.0.2) but it is not installed
 libpython3.13-stdlib : Depends: libdb5.3t64 but it is not installed
 libqt5core5t64 : Depends: libglib2.0-0t64 (>= 2.22.0) but it is not installed
                  Recommends: qttranslations5-l10n but it is not installed
 librgw2 : Depends: libcurl4t64 (>= 7.28.0) but it is not installed
           Depends: libldap2 (>= 2.6.2) but it is not installed
 libsmbclient0 : Depends: samba-libs (= 2:4.22.3+dfsg-4) but 2:4.17.12+dfsg-0+deb12u2 is installed
                 Depends: libndr6 (>= 2:4.17.2)
 libterm-readline-gnu-perl : Depends: perl (>= 5.40.0-6) but 5.36.0-7+deb12u2 is installed
                             Depends: perlapi-5.40.0
 libtirpc-dev : Depends: libtirpc3t64 (= 1.3.6+ds-1) but it is not installed
 openssh-client : Depends: init-system-helpers (>= 1.66~) but 1.65.2 is installed
                  Recommends: xauth but it is not installed
 openssh-server : Depends: libwtmpdb0 (>= 0.13.0) but it is not installed
                  Recommends: xauth but it is not installed
 openssh-sftp-server : Depends: openssh-client (= 1:9.2p1-2+deb12u7) but 1:10.0p1-7 is installed
 python3 : PreDepends: python3-minimal (= 3.11.2-1+b1) but 3.13.5-1 is installed
           Depends: libpython3-stdlib (= 3.11.2-1+b1) but 3.13.5-1 is installed
 python3-cephfs : Depends: libcephfs2 (= 19.2.2-pve1~bpo12+1) but 19.2.3-pve1 is installed
 radosgw : Depends: ceph-common (= 19.2.3-pve1) but 19.2.2-pve1~bpo12+1 is installed
           Depends: libcurl4t64 (>= 7.28.0) but it is not installed
           Depends: libldap2 (>= 2.6.2) but it is not installed
 shared-mime-info : Depends: libglib2.0-0t64 (>= 2.76.0) but it is not installed
 smbclient : Depends: samba-libs (= 2:4.22.3+dfsg-4) but 2:4.17.12+dfsg-0+deb12u2 is installed
             Depends: libgnutls30t64 (>= 3.7.0) but it is not installed
             Depends: libndr6 (>= 2:4.20.0~rc1)
 spiceterm : Depends: libglib2.0-0t64 (>= 2.32.0) but it is not installed
 sshfs : Depends: libglib2.0-0t64 (>= 2.24.0) but it is not installed
 swtpm-tools : Depends: swtpm (= 0.8.0+pve1) but 0.8.0+pve2 is installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
 
One thing that I find weird is this:

Code:
 ceph : Depends: ceph-osd (= 19.2.3-pve1) but 19.2.2-pve1~bpo12+1 is installed
 ceph-common : Depends: librbd1 (= 19.2.2-pve1~bpo12+1) but 19.2.3-pve1 is installed
 ceph-mds : Depends: ceph-base (= 19.2.3-pve1) but 19.2.2-pve1~bpo12+1 is installed
            Recommends: ceph-fuse (= 19.2.3-pve1) but 19.2.2-pve1~bpo12+1 is installed
 ceph-mgr : Depends: ceph-base (= 19.2.3-pve1) but 19.2.2-pve1~bpo12+1 is installed
 ceph-mon : Depends: ceph-base (= 19.2.3-pve1) but 19.2.2-pve1~bpo12+1 is installed

ceph-common : Depends: librbd1 (= 19.2.2-pve1~bpo12+1) but 19.2.3-pve1 is installed

Why is ceph-common not `19.2.2-pve1~bpo12+1`, like the others?
 
Code:
root@prox2:/etc/apt/sources.list.d# apt update
Get:1 http://security.debian.org/debian-security trixie-security InRelease [43.4 kB]
Get:2 https://enterprise.proxmox.com/debian/ceph-squid trixie InRelease [1,976 B]
Get:3 http://deb.debian.org/debian trixie InRelease [138 kB]
Get:4 https://enterprise.proxmox.com/debian/pve trixie InRelease [1,986 B]
Get:5 http://security.debian.org/debian-security trixie-security/main amd64 Packages [30.1 kB]
Get:6 https://enterprise.proxmox.com/debian/ceph-squid trixie/enterprise amd64 Packages [23.7 kB]
Get:7 http://deb.debian.org/debian trixie-updates InRelease [47.1 kB]                    
Get:8 https://enterprise.proxmox.com/debian/pve trixie/pve-enterprise amd64 Packages [170 kB]
Get:9 http://deb.debian.org/debian trixie/main amd64 Packages [9,668 kB]                      
Get:10 http://security.debian.org/debian-security trixie-security/main Translation-en [19.6 kB]
Get:11 http://deb.debian.org/debian trixie/main Translation-en [6,484 kB]
Get:12 http://deb.debian.org/debian trixie/main amd64 Contents (deb) [12.4 MB]
Get:13 http://deb.debian.org/debian trixie/main all Contents (deb) [37.6 MB]
Get:14 http://deb.debian.org/debian trixie/contrib amd64 Packages [53.8 kB]
Get:15 http://deb.debian.org/debian trixie/contrib Translation-en [49.6 kB]
Get:16 http://deb.debian.org/debian trixie/contrib all Contents (deb) [134 kB]
Get:17 http://deb.debian.org/debian trixie/contrib amd64 Contents (deb) [188 kB]
Get:18 http://deb.debian.org/debian trixie/non-free-firmware amd64 Packages [6,868 B]
Get:19 http://deb.debian.org/debian trixie/non-free-firmware Translation-en [4,704 B]
Get:20 http://deb.debian.org/debian trixie/non-free-firmware amd64 Contents (deb) [1,177 B]
Get:21 http://deb.debian.org/debian trixie/non-free-firmware all Contents (deb) [27.0 kB]
Get:22 http://deb.debian.org/debian trixie-updates/main amd64 Packages [2,432 B]
Get:23 http://deb.debian.org/debian trixie-updates/main Translation-en [396 B]
Get:24 http://deb.debian.org/debian trixie-updates/main all Contents (deb) [14.0 kB]
.
There are several (almost) duplicates in there. Do you still have several .list files /etc/apt/ and/or sub-directories? Or more .sources files? My apt update only has 5 Get/Hit lines for the 5 configured repositories (Debian trixie-security, trixie, trixie-updates, Proxmox ceph-squid and pve).
 
Code:
root@prox2:~# apt-cache policy librbd1
librbd1:
  Installed: 19.2.3-pve1
  Candidate: 19.2.3-pve1
  Version table:
 *** 19.2.3-pve1 500
        500 https://enterprise.proxmox.com/debian/ceph-squid trixie/enterprise amd64 Packages
        500 https://enterprise.proxmox.com/debian/pve trixie/pve-enterprise amd64 Packages
        100 /var/lib/dpkg/status
     19.2.2-pve5 500
        500 https://enterprise.proxmox.com/debian/ceph-squid trixie/enterprise amd64 Packages
     19.2.2-pve2 500
        500 https://enterprise.proxmox.com/debian/pve trixie/pve-enterprise amd64 Packages
     18.2.7+ds-1 500
        500 http://deb.debian.org/debian trixie/main amd64 Packages

Do the versions have to match?
 
Hi,

Why is ceph-common not `19.2.2-pve1~bpo12+1`, like the others?
because of this certainly :
/etc/apt/sources.list.d/ceph.sources:Components: no-subscription
no-subscription is almost always newer than enterprise repository

So if after the initial upgrade you change it to enterprise repository, it will not work because you will have mismatch versions.

Best regards,
 
There are several (almost) duplicates in there. Do you still have several .list files /etc/apt/ and/or sub-directories? Or more .sources files? My apt update only has 5 Get/Hit lines for the 5 configured repositories (Debian trixie-security, trixie, trixie-updates, Proxmox ceph-squid and pve).
My source.list.d directory:

Code:
root@prox2:/etc/apt/sources.list.d# grep . *
caddy-stable.list:# Source: Caddy
caddy-stable.list:# Site: https://github.com/caddyserver/caddy
caddy-stable.list:# Repository: Caddy / stable
caddy-stable.list:# Description: Fast, multi-platform web server with automatic HTTPS
caddy-stable.list:#deb [signed-by=/usr/share/keyrings/caddy-stable-archive-keyring.gpg] https://dl.cloudsmith.io/public/caddy/stable/deb/debian trixie main
caddy-stable.list:#deb-src [signed-by=/usr/share/keyrings/caddy-stable-archive-keyring.gpg] https://dl.cloudsmith.io/public/caddy/stable/deb/debian trixie main
ceph.sources:Types: deb
ceph.sources:URIs: https://enterprise.proxmox.com/debian/ceph-squid
ceph.sources:Suites: trixie
ceph.sources:Components: enterprise   
ceph.sources:Signed-By: /usr/share/keyrings/proxmox-archive-keyring.gpg
debian.sources:Types: deb
debian.sources:URIs: http://deb.debian.org/debian/
debian.sources:Suites: trixie trixie-updates
debian.sources:Components: main contrib non-free-firmware
debian.sources:Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
debian.sources:Types: deb
debian.sources:URIs: http://security.debian.org/debian-security/
debian.sources:Suites: trixie-security
debian.sources:Components: main contrib non-free-firmware
debian.sources:Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
docker.list:#deb [arch=amd64] https://download.docker.com/linux/debian trixie stable
pve-enterprise.sources:Types: deb
pve-enterprise.sources:URIs: https://enterprise.proxmox.com/debian/pve
pve-enterprise.sources:Suites: trixie
pve-enterprise.sources:Components: pve-enterprise
pve-enterprise.sources:Signed-By: /usr/share/keyrings/proxmox-archive-keyring.gpg

Code:
root@prox2:/etc/apt# ls -la
total 71
drwxr-xr-x   9 root root   13 Aug 27 17:14 .
drwxr-xr-x 111 root root  224 Aug 27 17:07 ..
drwxr-xr-x   2 root root   11 Aug 27 00:16 apt.conf.d
-rw-r-----   1 root root    1 Feb  7  2024 auth.conf
drwxr-xr-x   2 root root    4 Aug 22 03:53 auth.conf.d
-rw-r--r--   1 root root    0 Feb 20  2020 auth.conf.lock
drwxr-xr-x   2 root root    2 May 25  2023 keyrings
-rw-r--r--   1 root root  150 Dec  4  2019 listchanges.conf
drwxr-xr-x   2 root root    2 Mar 28  2021 listchanges.conf.d
drwxr-xr-x   2 root root    2 May 28  2019 preferences.d
drwxr-xr-x   2 root root    7 Aug 27 17:26 sources.list.d
-rw-r--r--   1 root root 2760 Dec  5  2019 trusted.gpg
drwxr-xr-x   2 root root   15 Aug 26 17:44 trusted.gpg.d
 
The more I look at it, it looks like I have partially upgraded to trixie, because `19.2.2-pve1~bpo12+1` is from bookworm.

Depends: librbd1 (= 19.2.2-pve1~bpo12+1) but 19.2.3-pve1 is installed
Maybe trying to downgrade librbd1 to the correct version might work somehow?