Upgrade 6.4 to 7.x stuck dependencies

Jul 20, 2022
9
0
6
Hello,

I'm trying to upgrade a standalone node from 6.4-15 to 7.2. I followed the wiki page instructions.

First try, #apt update then #apt upgrade.
Second, #pve6to7 --full showed no errors or warnings.
Third use #sed command to edit buster to bullseye (should have copied sources.list first), as well as edit ceph.list to bullseye
Last, use #apt dist-upgrade but I got the :W: (pve-apt-hook) You are attempting to remove the meta-package 'proxmox-ve'!" warning.

The Troubleshooting section of the wiki page says "If an upgrade is not possible, configure all repositories as they were before the upgrade attempt, then run "#apt update" again. Then remove all packages which are currently installed from that repository.

I edited /etc/apt/sources.list to return bullseye to buster and ran #apt update. Then #apt dist-upgrade:

Code:
root@proxmox: /etc# apt dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 bsdmainutils : Depends: ncal but it is not installable
 libc-bin : Depends: libc6 (< 2.29) but 2.31-13+deb11u3 is installed
 libc-dev-bin : Depends: libc6 (< 2.29) but 2.31-13+deb11u3 is installed
                Recommends: manpages-dev but it is not installed
 libc6-dev : Depends: libc6 (= 2.28-10+deb10u1) but 2.31-13+deb11u3 is installed
 locales : Depends: libc-bin (> 2.31) but 2.28-10+deb10u1 is installed
 openssh-sftp-server : Depends: openssh-client (= 1:7.9p1-10+deb10u2) but 1:8.4p1-5 is installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

So I tried #apt --fix-broken install:

Code:
root@proxmox:/etc/apt# apt --fix-broken install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  libfuse3-3 libjson-c5 libproxmox-backup-qemu0 libqrencode4 proxmox-archive-keyring proxmox-backup-client
  proxmox-backup-file-restore proxmox-backup-restore-image pve-kernel-5.4.124-1-pve pve-kernel-5.4.128-1-pve
  pve-kernel-5.4.140-1-pve pve-kernel-5.4.143-1-pve pve-kernel-5.4.151-1-pve pve-kernel-5.4.157-1-pve
  pve-kernel-5.4.162-1-pve pve-kernel-5.4.166-1-pve pve-lxc-syscalld qrencode runit-helper zstd
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
  bsdmainutils glusterfs-client glusterfs-common libacl1-dev libattr1-dev libc-bin libc-dev-bin libc6-dev
  libglusterfs-dev libpve-guest-common-perl libpve-storage-perl locales man-db openssh-server
  openssh-sftp-server proxmox-ve pve-container pve-ha-manager pve-manager pve-qemu-kvm qemu-server spiceterm
  ssh
WARNING: The following essential packages will be removed.
This should NOT be done unless you know exactly what you are doing!
  libc-bin
0 upgraded, 0 newly installed, 23 to remove and 26 not upgraded.
2 not fully installed or removed.
After this operation, 356 MB disk space will be freed.
You are about to do something potentially harmful.
To continue type in the phrase 'Yes, do as I say!'
 ?]

I would like to understand what's going on here. How should I proceed to update/upgrade?

Thank you
 
Please provide the output in code-tags of:
  • pveversion -v
  • cat /etc/apt/sources.list
  • tail /etc/apt/sources.list.d/*
  • apt list --installed | grep linux-image
  • apt update
 
Thanks for your reply!
Please provide the output in code-tags of:
  • pveversion -v
  • cat /etc/apt/sources.list
  • tail /etc/apt/sources.list.d/*
  • apt list --installed | grep linux-image
  • apt update
1) pveversion -v
Code:
root@proxmox:~# pveversion -v
proxmox-ve: 6.4-1 (running kernel: 5.4.189-1-pve)
pve-manager: 6.4-15 (running version: 6.4-15/af7986e6)
pve-kernel-5.4: 6.4-17
pve-kernel-helper: 6.4-17
pve-kernel-5.3: 6.1-6
pve-kernel-5.4.189-1-pve: 5.4.189-1
pve-kernel-5.4.178-1-pve: 5.4.178-1
pve-kernel-5.4.174-2-pve: 5.4.174-2
pve-kernel-5.4.166-1-pve: 5.4.166-1
pve-kernel-5.4.162-1-pve: 5.4.162-2
pve-kernel-5.4.157-1-pve: 5.4.157-1
pve-kernel-5.4.151-1-pve: 5.4.151-1
pve-kernel-5.4.143-1-pve: 5.4.143-1
pve-kernel-5.4.140-1-pve: 5.4.140-1
pve-kernel-5.4.128-1-pve: 5.4.128-2
pve-kernel-5.4.124-1-pve: 5.4.124-2
pve-kernel-5.3.18-3-pve: 5.3.18-3
pve-kernel-5.3.10-1-pve: 5.3.10-1
ceph: 15.2.15-pve1~bpo10
ceph-fuse: 15.2.15-pve1~bpo10
corosync: 3.1.5-pve2~bpo10+1
criu: 3.11-3
glusterfs-client: 5.5-3
ifupdown: 0.8.35+pve1
ksm-control-daemon: 1.3-1
libjs-extjs: 6.0.1-10
libknet1: 1.22-pve2~bpo10+1
libproxmox-acme-perl: 1.1.0
libproxmox-backup-qemu0: 1.1.0-1
libpve-access-control: 6.4-3
libpve-apiclient-perl: 3.1-3
libpve-common-perl: 6.4-5
libpve-guest-common-perl: 3.1-5
libpve-http-server-perl: 3.2-4
libpve-storage-perl: 6.4-1
libqb0: 1.0.5-1
libspice-server1: 0.14.2-4~pve6+1
lvm2: 2.03.02-pve4
lxc-pve: 4.0.6-2
lxcfs: 4.0.6-pve1
novnc-pve: 1.1.0-1
proxmox-backup-client: 1.1.13-2
proxmox-mini-journalreader: 1.1-1
proxmox-widget-toolkit: 2.6-2
pve-cluster: 6.4-1
pve-container: 3.3-6
pve-docs: 6.4-2
pve-edk2-firmware: 2.20200531-1
pve-firewall: 4.1-4
pve-firmware: 3.3-2
pve-ha-manager: 3.1-1
pve-i18n: 2.3-1
pve-qemu-kvm: 5.2.0-7
pve-xtermjs: 4.7.0-3
qemu-server: 6.4-2
smartmontools: 7.2-pve2
spiceterm: 3.1-1
vncterm: 1.6-2
zfsutils-linux: 2.0.7-pve1

2) cat /etc/apt/sources.list

Code:
root@proxmox:~# cat /etc/apt/sources.list
deb http://ftp.us.debian.org/debian buster main contrib
deb http://ftp.us.debian.org/debian buster-updates main contrib

# PVE pve-no-subscription repository provided by proxmox.com,
# NOT reccommended for production use
deb http://download.proxmox.com/debian/pve buster pve-no-subscription

# security updates
deb http://security.debian.org buster/updates main contrib

3) tail /etc/apt/sources.list.d/*

Code:
root@proxmox:~# tail /etc/apt/sources.list.d/*
deb http://download.proxmox.com/debian/ceph-octopus buster main

4) apt list --installed | grep linux-image

Code:
root@proxmox:~# apt list --installed | grep linux-image

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

5) apt update

Code:
root@proxmox:~# apt update
Hit:1 http://ftp.us.debian.org/debian buster InRelease
Hit:2 http://security.debian.org buster/updates InRelease
Hit:3 http://ftp.us.debian.org/debian buster-updates InRelease
Hit:4 http://download.proxmox.com/debian/pve buster InRelease
Hit:5 http://download.proxmox.com/debian/ceph-octopus buster InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
42 packages can be upgraded. Run 'apt list --upgradable' to see them.
 
The output looks okay as far as I can tell with my limited knowledge.

First try, #apt update then #apt upgrade.
  1. Did you already update packages with only apt upgrade? Proxmox products should ever only be updated/upgraded with apt full-upgrade or apt dist-upgrade! [1]
  2. Was the PVE 6 installation completely up-to-date (with apt dist-upgrade) before you changed the repositories to bullseye? Or did you not use apt dist-upgrade at all at this point?
  3. After you changed the repositories to bullseye, did some packages already got updated? So that the installation now is in a partial upgraded state?
  4. Do you actually use Ceph at all?

@mira mentioned here: [2] some behavior with ceph packages. Maybe she can/want to have a look here too. :)

The full output of apt full-upgrade after you change all repositories to bullseye could also be interesting. But better wait for a more qualified answer!

Sorry to not be more helpful. :confused:

Edit: Maybe also provide the full output of: apt list --upgradable from the current state.

[1] https://forum.proxmox.com/threads/proxmox-ve-7-1-released.99847/page-8#post-463941
[2] https://forum.proxmox.com/threads/proxmox-upgrade-pve-apt-hook-warning.111496/#post-480771
 
Last edited:
Hi,
Code:
root@proxmox: /etc# apt dist-upgrade
Reading package lists... Done
Building dependency tree      
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 bsdmainutils : Depends: ncal but it is not installable
 libc-bin : Depends: libc6 (< 2.29) but 2.31-13+deb11u3 is installed
 libc-dev-bin : Depends: libc6 (< 2.29) but 2.31-13+deb11u3 is installed
                Recommends: manpages-dev but it is not installed
 libc6-dev : Depends: libc6 (= 2.28-10+deb10u1) but 2.31-13+deb11u3 is installed
 locales : Depends: libc-bin (> 2.31) but 2.28-10+deb10u1 is installed
 openssh-sftp-server : Depends: openssh-client (= 1:7.9p1-10+deb10u2) but 1:8.4p1-5 is installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
It seems like you already have libc6 from bullseye installed. I'd recommend proceeding with the upgrade rather than trying to revert, downgrading from a (partial) major upgrade is not really supported by Debian/Proxmox VE.

Answers to @Neobin's questions would be helpful and as already suggested, please change the repositories back to bullseye and post the full output of apt update and apt full-upgrade.
 
I think @Neobin is right and I'm in a partially upgraded state.

  1. Did you already update packages with only apt upgrade? Proxmox products should ever only be updated/upgraded with apt full-upgrade or apt dist-upgrade! [1]
  2. Was the PVE 6 installation completely up-to-date (with apt dist-upgrade) before you changed the repositories to bullseye? Or did you not use apt dist-upgrade at all at this point?
  3. After you changed the repositories to bullseye, did some packages already got updated? So that the installation now is in a partial upgraded state?
  4. Do you actually use Ceph at all?

@mira mentioned here: [2] some behavior with ceph packages. Maybe she can/want to have a look here too. :)

The full output of apt full-upgrade after you change all repositories to bullseye could also be interesting. But better wait for a more qualified answer!

Edit: Maybe also provide the full output of: apt list --upgradable from the current state.

1. I see
Code:
apt upgrade
in history, but I don't believe it ever completed without errors. That means some packages may have upgraded, yes.

2. Before any of the steps on the upgrade were taken, I updated from the browser interface. I don't know if that uses apt dist-upgrade or apt full-upgrade.

3. Same answer as #1 above, probably :(

4. No, I don't use Ceph

For the requested outputs:

Current (Buster repos) state:

Code:
root@proxmox:~# apt list --upgradable
Listing... Done
ceph-base/stable 15.2.16-pve1~bpo10 amd64 [upgradable from: 15.2.15-pve1~bpo10]
ceph-common/stable 15.2.16-pve1~bpo10 amd64 [upgradable from: 15.2.15-pve1~bpo10]
ceph-fuse/stable 15.2.16-pve1~bpo10 amd64 [upgradable from: 15.2.15-pve1~bpo10]
ceph-mds/stable 15.2.16-pve1~bpo10 amd64 [upgradable from: 15.2.15-pve1~bpo10]
ceph-mgr-modules-core/stable 15.2.16-pve1~bpo10 all [upgradable from: 15.2.15-pve1~bpo10]
ceph-mgr/stable 15.2.16-pve1~bpo10 amd64 [upgradable from: 15.2.15-pve1~bpo10]
ceph-mon/stable 15.2.16-pve1~bpo10 amd64 [upgradable from: 15.2.15-pve1~bpo10]
ceph-osd/stable 15.2.16-pve1~bpo10 amd64 [upgradable from: 15.2.15-pve1~bpo10]
ceph/stable 15.2.16-pve1~bpo10 amd64 [upgradable from: 15.2.15-pve1~bpo10]
cifs-utils/oldstable 2:6.8-2+deb10u1 amd64 [upgradable from: 2:6.8-2]
dirmngr/oldstable 2.2.12-1+deb10u2 amd64 [upgradable from: 2.2.12-1+deb10u1]
gnupg-l10n/oldstable 2.2.12-1+deb10u2 all [upgradable from: 2.2.12-1+deb10u1]
gnupg-utils/oldstable 2.2.12-1+deb10u2 amd64 [upgradable from: 2.2.12-1+deb10u1]
gnupg/oldstable 2.2.12-1+deb10u2 all [upgradable from: 2.2.12-1+deb10u1]
gpg-agent/oldstable 2.2.12-1+deb10u2 amd64 [upgradable from: 2.2.12-1+deb10u1]
gpg-wks-client/oldstable 2.2.12-1+deb10u2 amd64 [upgradable from: 2.2.12-1+deb10u1]
gpg-wks-server/oldstable 2.2.12-1+deb10u2 amd64 [upgradable from: 2.2.12-1+deb10u1]
gpg/oldstable 2.2.12-1+deb10u2 amd64 [upgradable from: 2.2.12-1+deb10u1]
gpgconf/oldstable 2.2.12-1+deb10u2 amd64 [upgradable from: 2.2.12-1+deb10u1]
gpgsm/oldstable 2.2.12-1+deb10u2 amd64 [upgradable from: 2.2.12-1+deb10u1]
gpgv/oldstable 2.2.12-1+deb10u2 amd64 [upgradable from: 2.2.12-1+deb10u1]
libcephfs2/stable 15.2.16-pve1~bpo10 amd64 [upgradable from: 15.2.15-pve1~bpo10]
libpve-http-server-perl/stable 3.2-5 all [upgradable from: 3.2-4]
librados2/stable 15.2.16-pve1~bpo10 amd64 [upgradable from: 15.2.15-pve1~bpo10]
libradosstriper1/stable 15.2.16-pve1~bpo10 amd64 [upgradable from: 15.2.15-pve1~bpo10]
librbd1/stable 15.2.16-pve1~bpo10 amd64 [upgradable from: 15.2.15-pve1~bpo10]
librgw2/stable 15.2.16-pve1~bpo10 amd64 [upgradable from: 15.2.15-pve1~bpo10]
libssl1.1/oldstable 1.1.1n-0+deb10u3 amd64 [upgradable from: 1.1.1n-0+deb10u2]
linux-libc-dev/oldstable 4.19.249-2 amd64 [upgradable from: 4.19.235-1]
openssl/oldstable 1.1.1n-0+deb10u3 amd64 [upgradable from: 1.1.1n-0+deb10u2]
proxmox-backup-client/stable 1.1.14-1 amd64 [upgradable from: 1.1.13-2]
proxmox-backup-file-restore/stable 1.1.14-1 amd64 [upgradable from: 1.1.13-2]
pve-kernel-5.4/stable 6.4-19 all [upgradable from: 6.4-17]
pve-kernel-helper/stable 6.4-19 all [upgradable from: 6.4-17]
pve-qemu-kvm/stable 5.2.0-8 amd64 [upgradable from: 5.2.0-7]
python3-ceph-argparse/stable 15.2.16-pve1~bpo10 all [upgradable from: 15.2.15-pve1~bpo10]
python3-ceph-common/stable 15.2.16-pve1~bpo10 all [upgradable from: 15.2.15-pve1~bpo10]
python3-cephfs/stable 15.2.16-pve1~bpo10 amd64 [upgradable from: 15.2.15-pve1~bpo10]
python3-rados/stable 15.2.16-pve1~bpo10 amd64 [upgradable from: 15.2.15-pve1~bpo10]
python3-rbd/stable 15.2.16-pve1~bpo10 amd64 [upgradable from: 15.2.15-pve1~bpo10]
python3-rgw/stable 15.2.16-pve1~bpo10 amd64 [upgradable from: 15.2.15-pve1~bpo10]
tzdata/oldstable-updates 2021a-0+deb10u5 all [upgradable from: 2021a-0+deb10u4]

Then I changed to Bullseye repos:

Code:
root@proxmox:/etc/apt# apt update
Get:1 http://security.debian.org bullseye-security InRelease [44.1 kB]
Hit:2 http://ftp.us.debian.org/debian bullseye InRelease
Hit:3 http://ftp.us.debian.org/debian bullseye-updates InRelease
Hit:4 http://download.proxmox.com/debian/pve bullseye InRelease
Get:5 http://security.debian.org bullseye-security/main amd64 Packages [166 kB]
Hit:6 http://download.proxmox.com/debian/ceph-octopus bullseye InRelease
Get:7 http://security.debian.org bullseye-security/main Translation-en [105 kB]
Fetched 315 kB in 0s (818 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
627 packages can be upgraded. Run 'apt list --upgradable' to see them.

And full-upgrade:

Code:
root@proxmox:/etc/apt# apt full-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 bsdmainutils : Depends: ncal but it is not installed
 libc-bin : Depends: libc6 (< 2.29) but 2.31-13+deb11u3 is installed
 libc-dev-bin : Depends: libc6 (< 2.29) but 2.31-13+deb11u3 is installed
                Recommends: manpages-dev but it is not installed
 libc6-dev : Depends: libc6 (= 2.28-10+deb10u1) but 2.31-13+deb11u3 is installed
 locales : Depends: libc-bin (> 2.31) but 2.28-10+deb10u1 is installed
 openssh-sftp-server : Depends: openssh-client (= 1:7.9p1-10+deb10u2) but 1:8.4p1-5 is installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

Thank you for taking a look!
 
Last edited:
I think @Neobin is right and I'm in a partially upgraded state.



1. I see
Code:
apt upgrade
in history, but I don't believe it ever completed without errors. That means some packages may have upgraded, yes.
Please always use dist-upgrade in the future.

2. Before any of the steps on the upgrade were taken, I updated from the browser interface. I don't know if that uses apt dist-upgrade or apt full-upgrade.
There, dist-upgrade will be used, as opposed to upgrade.

3. Same answer as #1 above, probably :(

4. No, I don't use Ceph
Did you use Ceph in the past? Otherwise the repository wouldn't be required (but it might be necessary for upgrading now, since the Ceph packages from there currently installed).

Code:
root@proxmox:/etc/apt# apt full-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 bsdmainutils : Depends: ncal but it is not installed
 libc-bin : Depends: libc6 (< 2.29) but 2.31-13+deb11u3 is installed
 libc-dev-bin : Depends: libc6 (< 2.29) but 2.31-13+deb11u3 is installed
                Recommends: manpages-dev but it is not installed
 libc6-dev : Depends: libc6 (= 2.28-10+deb10u1) but 2.31-13+deb11u3 is installed
 locales : Depends: libc-bin (> 2.31) but 2.28-10+deb10u1 is installed
 openssh-sftp-server : Depends: openssh-client (= 1:7.9p1-10+deb10u2) but 1:8.4p1-5 is installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

Thank you for taking a look!
What is the output of
Code:
apt policy ncal
apt -o Debug::pkgProblemResolver=yes install bsdmainutils
apt -o Debug::pkgProblemResolver=yes install libc-bin
?

If the first command doesn't show an installation candidate, it might mean that the package lists are corrupted. Please see this post and its follow-up then.
 
Thanks for your reply @fiona, here are the outputs:

Code:
root@proxmox:~# apt policy ncal
ncal:
  Installed: (none)
  Candidate: 12.1.7+nmu3
  Version table:
     12.1.7+nmu3 500
        500 http://ftp.us.debian.org/debian bullseye/main amd64 Packages

Code:
root@proxmox:~# apt -o Debug::pkgProblemResolver=yes install bsdmainutils
Reading package lists... Done
Building dependency tree
Reading state information... Done
bsdmainutils is already the newest version (12.1.7+nmu3).
bsdmainutils set to manually installed.
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 bsdmainutils : Depends: ncal but it is not going to be installed
 libc-bin : Depends: libc6 (< 2.29) but 2.31-13+deb11u3 is to be installed
 libc-dev-bin : Depends: libc6 (< 2.29) but 2.31-13+deb11u3 is to be installed
                Recommends: manpages-dev but it is not going to be installed
 libc6-dev : Depends: libc6 (= 2.28-10+deb10u1) but 2.31-13+deb11u3 is to be installed
 locales : Depends: libc-bin (> 2.31) but 2.28-10+deb10u1 is to be installed
 openssh-sftp-server : Depends: openssh-client (= 1:7.9p1-10+deb10u2) but 1:8.4p1-5 is to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

Code:
root@proxmox:~# apt -o Debug::pkgProblemResolver=yes install libc-bin
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 bsdmainutils : Depends: ncal but it is not going to be installed
 libc-dev-bin : Depends: libc6 (< 2.29) but 2.31-13+deb11u3 is to be installed
                Recommends: manpages-dev but it is not going to be installed
 libc6-dev : Depends: libc6 (= 2.28-10+deb10u1) but 2.31-13+deb11u3 is to be installed
 openssh-sftp-server : Depends: openssh-client (= 1:7.9p1-10+deb10u2) but 1:8.4p1-5 is to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

And although you didnt' ask, I tried 'apt --fix-broken install':
Code:
root@proxmox:~# apt --fix-broken install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  ceph-mgr-modules-core cryptsetup-bin libfuse3-3 libjson-c5 libleveldb1d liboath0 libproxmox-backup-qemu0
  libqrencode4 librabbitmq4 librdkafka1 librgw2 proxmox-archive-keyring proxmox-backup-client
  proxmox-backup-file-restore proxmox-backup-restore-image pve-kernel-5.4.124-1-pve pve-kernel-5.4.128-1-pve
  pve-kernel-5.4.140-1-pve pve-kernel-5.4.143-1-pve pve-kernel-5.4.151-1-pve pve-kernel-5.4.157-1-pve
  pve-kernel-5.4.162-1-pve pve-kernel-5.4.166-1-pve pve-lxc-syscalld python-pastedeploy-tpl python3-bcrypt python3-bs4
  python3-ceph-argparse python3-cephfs python3-cherrypy3 python3-dateutil python3-distutils python3-lib2to3
  python3-logutils python3-mako python3-markupsafe python3-paste python3-pastedeploy python3-pecan python3-rados
  python3-rbd python3-rgw python3-simplegeneric python3-singledispatch python3-soupsieve python3-tempita
  python3-waitress python3-webob python3-webtest python3-werkzeug qrencode sudo zstd
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
  distro-info-data libanyevent-perl libapt-pkg-perl libapt-pkg6.0 libauthen-pam-perl libbrotli1 libc-bin libc-dev-bin
  libc-devtools libc6-dev libcephfs2 libclone-perl libcommon-sense-perl libcrypt-dev libcrypt-openssl-bignum-perl
  libcrypt-openssl-random-perl libcrypt-openssl-rsa-perl libcrypt-ssleay-perl libcurl3-gnutls libdeflate0 libffi7
  libfilesys-df-perl libgd3 libgnutls30 libgnutlsxx28 libhogweed6 libhtml-parser-perl libjbig0 libjson-xs-perl
  liblinux-inotify2-perl liblocale-gettext-perl libmpdec3 libnet-dbus-perl libnet-ssleay-perl libnettle8 libnsl-dev
  libnsl2 libp11-kit0 libperl5.32 libpve-cluster-api-perl libpve-cluster-perl libpve-u2f-server-perl libpython3-stdlib
  libpython3.9-minimal libpython3.9-stdlib libqb100 librados2 librados2-perl libradosstriper1 librbd1 libreadline8
  librgw2 librrds-perl libstdc++6 libtasn1-6 libtemplate-perl libterm-readline-gnu-perl libtext-charwidth-perl
  libtext-iconv-perl libtiff5 libtirpc-common libtirpc-dev libtirpc3 libuuid-perl libwebp6 libxml-libxml-perl
  libxml-parser-perl libxpm4 libxxhash0 libyaml-libyaml-perl manpages manpages-dev ncal openssh-client openssh-server
  openssh-sftp-server perl perl-base perl-modules-5.32 pve-cluster python3 python3-apt python3-ceph-argparse
  python3-cephfs python3-cffi-backend python3-distutils python3-lib2to3 python3-markupsafe python3-minimal
  python3-pycurl python3-rados python3-rbd python3-rgw python3.9 python3.9-minimal
Suggested packages:
  libev-perl libevent-perl libio-async-perl libpoe-perl libtask-weaken-perl glibc-doc libgd-tools gnutls-bin
  libdata-dump-perl iwatch libtemplate-plugin-gd-perl libtemplate-plugin-xml-perl keychain libpam-ssh monkeysphere
  ssh-askpass molly-guard ufw perl-doc make libtap-harness-archive-perl python3-doc python3-tk python3-venv
  python3-apt-dbg python-apt-doc libcurl4-gnutls-dev python-pycurl-doc python3-pycurl-dbg python3.9-venv python3.9-doc
  binfmt-support
Recommended packages:
  libasync-interrupt-perl libev-perl | libevent-perl libguard-perl apt xauth lsb-release
The following packages will be REMOVED:
  ceph ceph-base ceph-common ceph-mds ceph-mgr ceph-mon ceph-osd libpve-guest-common-perl libpve-storage-perl
  proxmox-ve pve-container pve-ha-manager pve-manager pve-qemu-kvm python-cephfs python3-ceph-common python3-yaml
  python3.7 qemu-server spiceterm
The following NEW packages will be installed:
  distro-info-data libapt-pkg6.0 libbrotli1 libc-devtools libcrypt-dev libdeflate0 libffi7 libgd3 libhogweed6 libjbig0
  libmpdec3 libnettle8 libnsl-dev libnsl2 libperl5.32 libpython3.9-minimal libpython3.9-stdlib libqb100 libreadline8
  libtiff5 libtirpc-dev libwebp6 libxpm4 libxxhash0 manpages-dev ncal perl-modules-5.32 python3.9 python3.9-minimal
The following packages will be upgraded:
  libanyevent-perl libapt-pkg-perl libauthen-pam-perl libc-bin libc-dev-bin libc6-dev libcephfs2 libclone-perl
  libcommon-sense-perl libcrypt-openssl-bignum-perl libcrypt-openssl-random-perl libcrypt-openssl-rsa-perl
  libcrypt-ssleay-perl libcurl3-gnutls libfilesys-df-perl libgnutls30 libgnutlsxx28 libhtml-parser-perl
  libjson-xs-perl liblinux-inotify2-perl liblocale-gettext-perl libnet-dbus-perl libnet-ssleay-perl libp11-kit0
  libpve-cluster-api-perl libpve-cluster-perl libpve-u2f-server-perl libpython3-stdlib librados2 librados2-perl
  libradosstriper1 librbd1 librgw2 librrds-perl libstdc++6 libtasn1-6 libtemplate-perl libterm-readline-gnu-perl
  libtext-charwidth-perl libtext-iconv-perl libtirpc-common libtirpc3 libuuid-perl libxml-libxml-perl
  libxml-parser-perl libyaml-libyaml-perl manpages openssh-client openssh-server openssh-sftp-server perl perl-base
  pve-cluster python3 python3-apt python3-ceph-argparse python3-cephfs python3-cffi-backend python3-distutils
  python3-lib2to3 python3-markupsafe python3-minimal python3-pycurl python3-rados python3-rbd python3-rgw
66 upgraded, 29 newly installed, 20 to remove and 543 not upgraded.
2 not fully installed or removed.
Need to get 0 B/41.8 MB of archives.
After this operation, 465 MB disk space will be freed.
Do you want to continue? [Y/n] Y
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:
Code:
root@proxmox:~# apt -o Debug::pkgProblemResolver=yes install bsdmainutils
Reading package lists... Done
Building dependency tree
Reading state information... Done
bsdmainutils is already the newest version (12.1.7+nmu3).
bsdmainutils set to manually installed.
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 bsdmainutils : Depends: ncal but it is not going to be installed
 libc-bin : Depends: libc6 (< 2.29) but 2.31-13+deb11u3 is to be installed
 libc-dev-bin : Depends: libc6 (< 2.29) but 2.31-13+deb11u3 is to be installed
                Recommends: manpages-dev but it is not going to be installed
 libc6-dev : Depends: libc6 (= 2.28-10+deb10u1) but 2.31-13+deb11u3 is to be installed
 locales : Depends: libc-bin (> 2.31) but 2.28-10+deb10u1 is to be installed
 openssh-sftp-server : Depends: openssh-client (= 1:7.9p1-10+deb10u2) but 1:8.4p1-5 is to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
Hmm, what if you are more direct and try to install the missing dependency with
Code:
apt -o Debug::pkgProblemResolver=yes install ncal
?

Code:
root@proxmox:~# apt -o Debug::pkgProblemResolver=yes install libc-bin
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 bsdmainutils : Depends: ncal but it is not going to be installed
libc-dev-bin : Depends: libc6 (< 2.29) but 2.31-13+deb11u3 is to be installed
                Recommends: manpages-dev but it is not going to be installed
 libc6-dev : Depends: libc6 (= 2.28-10+deb10u1) but 2.31-13+deb11u3 is to be installed
 openssh-sftp-server : Depends: openssh-client (= 1:7.9p1-10+deb10u2) but 1:8.4p1-5 is to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
What about
Code:
apt -o Debug::pkgProblemResolver=yes install ncal libc-dev-bin libc6-dev openssh-sftp-server openssh-client
?

And although you didnt' ask, I tried 'apt --fix-broken install':
Code:
root@proxmox:~# apt --fix-broken install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  ceph-mgr-modules-core cryptsetup-bin libfuse3-3 libjson-c5 libleveldb1d liboath0 libproxmox-backup-qemu0
  libqrencode4 librabbitmq4 librdkafka1 librgw2 proxmox-archive-keyring proxmox-backup-client
  proxmox-backup-file-restore proxmox-backup-restore-image pve-kernel-5.4.124-1-pve pve-kernel-5.4.128-1-pve
  pve-kernel-5.4.140-1-pve pve-kernel-5.4.143-1-pve pve-kernel-5.4.151-1-pve pve-kernel-5.4.157-1-pve
  pve-kernel-5.4.162-1-pve pve-kernel-5.4.166-1-pve pve-lxc-syscalld python-pastedeploy-tpl python3-bcrypt python3-bs4
  python3-ceph-argparse python3-cephfs python3-cherrypy3 python3-dateutil python3-distutils python3-lib2to3
  python3-logutils python3-mako python3-markupsafe python3-paste python3-pastedeploy python3-pecan python3-rados
  python3-rbd python3-rgw python3-simplegeneric python3-singledispatch python3-soupsieve python3-tempita
  python3-waitress python3-webob python3-webtest python3-werkzeug qrencode sudo zstd
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
  distro-info-data libanyevent-perl libapt-pkg-perl libapt-pkg6.0 libauthen-pam-perl libbrotli1 libc-bin libc-dev-bin
  libc-devtools libc6-dev libcephfs2 libclone-perl libcommon-sense-perl libcrypt-dev libcrypt-openssl-bignum-perl
  libcrypt-openssl-random-perl libcrypt-openssl-rsa-perl libcrypt-ssleay-perl libcurl3-gnutls libdeflate0 libffi7
  libfilesys-df-perl libgd3 libgnutls30 libgnutlsxx28 libhogweed6 libhtml-parser-perl libjbig0 libjson-xs-perl
  liblinux-inotify2-perl liblocale-gettext-perl libmpdec3 libnet-dbus-perl libnet-ssleay-perl libnettle8 libnsl-dev
  libnsl2 libp11-kit0 libperl5.32 libpve-cluster-api-perl libpve-cluster-perl libpve-u2f-server-perl libpython3-stdlib
  libpython3.9-minimal libpython3.9-stdlib libqb100 librados2 librados2-perl libradosstriper1 librbd1 libreadline8
  librgw2 librrds-perl libstdc++6 libtasn1-6 libtemplate-perl libterm-readline-gnu-perl libtext-charwidth-perl
  libtext-iconv-perl libtiff5 libtirpc-common libtirpc-dev libtirpc3 libuuid-perl libwebp6 libxml-libxml-perl
  libxml-parser-perl libxpm4 libxxhash0 libyaml-libyaml-perl manpages manpages-dev ncal openssh-client openssh-server
  openssh-sftp-server perl perl-base perl-modules-5.32 pve-cluster python3 python3-apt python3-ceph-argparse
  python3-cephfs python3-cffi-backend python3-distutils python3-lib2to3 python3-markupsafe python3-minimal
  python3-pycurl python3-rados python3-rbd python3-rgw python3.9 python3.9-minimal
Suggested packages:
  libev-perl libevent-perl libio-async-perl libpoe-perl libtask-weaken-perl glibc-doc libgd-tools gnutls-bin
  libdata-dump-perl iwatch libtemplate-plugin-gd-perl libtemplate-plugin-xml-perl keychain libpam-ssh monkeysphere
  ssh-askpass molly-guard ufw perl-doc make libtap-harness-archive-perl python3-doc python3-tk python3-venv
  python3-apt-dbg python-apt-doc libcurl4-gnutls-dev python-pycurl-doc python3-pycurl-dbg python3.9-venv python3.9-doc
  binfmt-support
Recommended packages:
  libasync-interrupt-perl libev-perl | libevent-perl libguard-perl apt xauth lsb-release
The following packages will be REMOVED:
  ceph ceph-base ceph-common ceph-mds ceph-mgr ceph-mon ceph-osd libpve-guest-common-perl libpve-storage-perl
  proxmox-ve pve-container pve-ha-manager pve-manager pve-qemu-kvm python-cephfs python3-ceph-common python3-yaml
  python3.7 qemu-server spiceterm
The following NEW packages will be installed:
  distro-info-data libapt-pkg6.0 libbrotli1 libc-devtools libcrypt-dev libdeflate0 libffi7 libgd3 libhogweed6 libjbig0
  libmpdec3 libnettle8 libnsl-dev libnsl2 libperl5.32 libpython3.9-minimal libpython3.9-stdlib libqb100 libreadline8
  libtiff5 libtirpc-dev libwebp6 libxpm4 libxxhash0 manpages-dev ncal perl-modules-5.32 python3.9 python3.9-minimal
The following packages will be upgraded:
  libanyevent-perl libapt-pkg-perl libauthen-pam-perl libc-bin libc-dev-bin libc6-dev libcephfs2 libclone-perl
  libcommon-sense-perl libcrypt-openssl-bignum-perl libcrypt-openssl-random-perl libcrypt-openssl-rsa-perl
  libcrypt-ssleay-perl libcurl3-gnutls libfilesys-df-perl libgnutls30 libgnutlsxx28 libhtml-parser-perl
  libjson-xs-perl liblinux-inotify2-perl liblocale-gettext-perl libnet-dbus-perl libnet-ssleay-perl libp11-kit0
  libpve-cluster-api-perl libpve-cluster-perl libpve-u2f-server-perl libpython3-stdlib librados2 librados2-perl
  libradosstriper1 librbd1 librgw2 librrds-perl libstdc++6 libtasn1-6 libtemplate-perl libterm-readline-gnu-perl
  libtext-charwidth-perl libtext-iconv-perl libtirpc-common libtirpc3 libuuid-perl libxml-libxml-perl
  libxml-parser-perl libyaml-libyaml-perl manpages openssh-client openssh-server openssh-sftp-server perl perl-base
  pve-cluster python3 python3-apt python3-ceph-argparse python3-cephfs python3-cffi-backend python3-distutils
  python3-lib2to3 python3-markupsafe python3-minimal python3-pycurl python3-rados python3-rbd python3-rgw
66 upgraded, 29 newly installed, 20 to remove and 543 not upgraded.
2 not fully installed or removed.
Need to get 0 B/41.8 MB of archives.
After this operation, 465 MB disk space will be freed.
Do you want to continue? [Y/n] Y
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
APT is not telling us why it wants to remove the packages rather than upgrade them. Can you run
Code:
apt -o Debug::pkgProblemResolver=yes --fix-broken install
instead? The output might be quite a mouthful though and I'm still hoping we can make some progress with the other commands first.
 
First:
Code:
root@proxmox:~# apt -o Debug::pkgProblemResolver=yes install ncal
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 libc-bin : Depends: libc6 (< 2.29) but 2.31-13+deb11u3 is to be installed
 libc-dev-bin : Depends: libc6 (< 2.29) but 2.31-13+deb11u3 is to be installed
                Recommends: manpages-dev but it is not going to be installed
 libc6-dev : Depends: libc6 (= 2.28-10+deb10u1) but 2.31-13+deb11u3 is to be installed
 locales : Depends: libc-bin (> 2.31) but 2.28-10+deb10u1 is to be installed
 openssh-sftp-server : Depends: openssh-client (= 1:7.9p1-10+deb10u2) but 1:8.4p1-5 is to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

Second:
Code:
root@proxmox:~# apt -o Debug::pkgProblemResolver=yes install ncal libc-dev-bin libc6-dev openssh-sftp-server openssh-cli
ent
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 libc-bin : Depends: libc6 (< 2.29) but 2.31-13+deb11u3 is to be installed
 libc6-dev : Depends: libcrypt-dev but it is not going to be installed
             Depends: libnsl-dev but it is not going to be installed
             Breaks: python3.7 (< 3.7.7-1+b1) but 3.7.3-2+deb10u3 is to be installed
 locales : Depends: libc-bin (> 2.31) but 2.28-10+deb10u1 is to be installed
 openssh-server : Depends: openssh-client (= 1:8.4p1-5) but 1:8.4p1-5+deb11u1 is to be installed
                  Recommends: xauth but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

And the Third one was indeed too much of a mouthful to fit into a post here, but I've made a pastebin for it.

If you want me to post the output not via pastebin, I can break it into two posts - just let me know.

As always, thank you for your time and help!
 
Last edited:
First:
Code:
root@proxmox:~# apt -o Debug::pkgProblemResolver=yes install ncal
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 libc-bin : Depends: libc6 (< 2.29) but 2.31-13+deb11u3 is to be installed
 libc-dev-bin : Depends: libc6 (< 2.29) but 2.31-13+deb11u3 is to be installed
                Recommends: manpages-dev but it is not going to be installed
 libc6-dev : Depends: libc6 (= 2.28-10+deb10u1) but 2.31-13+deb11u3 is to be installed
 locales : Depends: libc-bin (> 2.31) but 2.28-10+deb10u1 is to be installed
 openssh-sftp-server : Depends: openssh-client (= 1:7.9p1-10+deb10u2) but 1:8.4p1-5 is to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
So at least the error about bsdmainutils is gone. Unfortunately, it seems that the debug output does not kick in (likely because of the broken packages).
Second:
Code:
root@proxmox:~# apt -o Debug::pkgProblemResolver=yes install ncal libc-dev-bin libc6-dev openssh-sftp-server openssh-cli
ent
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 libc-bin : Depends: libc6 (< 2.29) but 2.31-13+deb11u3 is to be installed
 libc6-dev : Depends: libcrypt-dev but it is not going to be installed
             Depends: libnsl-dev but it is not going to be installed
             Breaks: python3.7 (< 3.7.7-1+b1) but 3.7.3-2+deb10u3 is to be installed
 locales : Depends: libc-bin (> 2.31) but 2.28-10+deb10u1 is to be installed
 openssh-server : Depends: openssh-client (= 1:8.4p1-5) but 1:8.4p1-5+deb11u1 is to be installed
                  Recommends: xauth but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
Can you try
Code:
apt policy python3.7
apt install ncal libc-bin locales libc6-dev libc-dev-bin libc6-dev openssh-sftp-server openssh-client openssh-server libnsl-dev libcrypt-dev
 
First:
Code:
root@proxmox:~# apt policy python3.7
python3.7:
  Installed: 3.7.3-2+deb10u3
  Candidate: 3.7.3-2+deb10u3
  Version table:
 *** 3.7.3-2+deb10u3 100
        100 /var/lib/dpkg/status

Second:
Code:
root@proxmox:~# apt install ncal libc-bin locales libc6-dev libc-dev-bin libc6-dev openssh-sftp-server openssh-client openssh-server libnsl-dev libcrypt-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
locales is already the newest version (2.31-13+deb11u3).
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 libc6-dev : Breaks: python3.7 (< 3.7.7-1+b1) but 3.7.3-2+deb10u3 is to be installed
 libnsl-dev : Depends: libnsl2 (= 1.3.0-2) but it is not going to be installed
              Depends: libtirpc-dev but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

Also, I edited a previous post to include a pastebin link to the very lengthy output to this command you requested:
Code:
apt -o Debug::pkgProblemResolver=yes --fix-broken install
Sorry if that's redundant, but I thought you might not have seen it because of my timing with the edit.
 
Last edited:
First:
Code:
root@proxmox:~# apt policy python3.7
python3.7:
  Installed: 3.7.3-2+deb10u3
  Candidate: 3.7.3-2+deb10u3
  Version table:
 *** 3.7.3-2+deb10u3 100
        100 /var/lib/dpkg/status

Second:
Code:
root@proxmox:~# apt install ncal libc-bin locales libc6-dev libc-dev-bin libc6-dev openssh-sftp-server openssh-client openssh-server libnsl-dev libcrypt-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
locales is already the newest version (2.31-13+deb11u3).
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 libc6-dev : Breaks: python3.7 (< 3.7.7-1+b1) but 3.7.3-2+deb10u3 is to be installed
 libnsl-dev : Depends: libnsl2 (= 1.3.0-2) but it is not going to be installed
              Depends: libtirpc-dev but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

Also, I edited a previous post to include a pastebin link to the very lengthy output to this command you requested:
Code:
apt -o Debug::pkgProblemResolver=yes --fix-broken install
Sorry if that's redundant, but I thought you might not have seen it because of my timing with the edit.
Let's add the missing dependencies for libnsl-dev and try to remove python3.7 while upgrading python3 to avoid the Breaks:
Code:
apt install ncal libc-bin locales libc6-dev libc-dev-bin libc6-dev openssh-sftp-server openssh-client openssh-server libnsl-dev libcrypt-dev libnsl2 libtirpc-dev python3.7- python3
 
I think we're heading in the right direction:

Code:
root@proxmox:~# apt install ncal libc-bin locales libc6-dev libc-dev-bin libc6-dev openssh-sftp-server openssh-client openssh-server libnsl-dev libcrypt-dev libnsl2 libtirpc-dev python3.7- python3
Reading package lists... Done
Building dependency tree
Reading state information... Done
locales is already the newest version (2.31-13+deb11u3).
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 ceph-base : Depends: python3.7:any
             Recommends: ntp but it is not going to be installed or
                         time-daemon
 ceph-common : Depends: python3.7:any
 ceph-osd : Depends: python3.7:any
            Recommends: nvme-cli but it is not going to be installed
 libtirpc-dev : Depends: libtirpc3 (= 1.3.1-1) but 1.1.4-0.4 is to be installed
 python3 : PreDepends: python3-minimal (= 3.9.2-3) but 3.7.3-1 is to be installed
           Depends: python3.9 (>= 3.9.2-0~) but it is not going to be installed
           Depends: libpython3-stdlib (= 3.9.2-3) but 3.7.3-1 is to be installed
 python3-apt : Depends: python3 (< 3.8) but 3.9.2-3 is to be installed
               Recommends: lsb-release but it is not going to be installed
 python3-cephfs : Depends: python3 (< 3.8) but 3.9.2-3 is to be installed
 python3-cffi-backend : Depends: python3 (< 3.8) but 3.9.2-3 is to be installed
 python3-distutils : Depends: python3 (< 3.8) but 3.9.2-3 is to be installed
 python3-lib2to3 : Depends: python3 (< 3.8) but 3.9.2-3 is to be installed
 python3-markupsafe : Depends: python3 (< 3.8) but 3.9.2-3 is to be installed
 python3-pycurl : Depends: python3 (< 3.8) but 3.9.2-3 is to be installed
 python3-rados : Depends: python3 (< 3.8) but 3.9.2-3 is to be installed
 python3-rbd : Depends: python3 (< 3.8) but 3.9.2-3 is to be installed
 python3-rgw : Depends: python3 (< 3.8) but 3.9.2-3 is to be installed
 python3-yaml : Depends: python3 (< 3.8) but 3.9.2-3 is to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

Since I don't use Ceph at all would it be of any use to remove it completely, like so?
Code:
pveceph help purge
 
Since I don't use Ceph at all would it be of any use to remove it completely, like so?
Code:
pveceph help purge
IIRC, that command is only for purging the configuration and doesn't remove any packages. One more thing to be aware of is that libpve-storage-perl depends on ceph-common and ceph-fuse, because it needs to be able to work with Ceph as a client (without any PVE Ceph repository, the packages from Debian are used by default).

But you can try to apt remove ceph ceph-mds ceph-osd ceph-mon ceph-mgr etc.
 
Well I tried, but that didn't work either:

Code:
root@proxmox:~# apt remove ceph ceph-mds ceph-osd ceph-mon ceph-mgr
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 bsdmainutils : Depends: ncal but it is not going to be installed
 libc-bin : Depends: libc6 (< 2.29) but 2.31-13+deb11u3 is to be installed
 libc-dev-bin : Depends: libc6 (< 2.29) but 2.31-13+deb11u3 is to be installed
                Recommends: manpages-dev but it is not going to be installed
 libc6-dev : Depends: libc6 (= 2.28-10+deb10u1) but 2.31-13+deb11u3 is to be installed
 locales : Depends: libc-bin (> 2.31) but 2.28-10+deb10u1 is to be installed
 openssh-sftp-server : Depends: openssh-client (= 1:7.9p1-10+deb10u2) but 1:8.4p1-5 is to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
 
Hmm, what if you add it them the to other command (with a minus appended to mark it for removal):
apt install <stuff from before> ceph- ceph-mon- ...
On a hunch, looking at the debug output for --fix-broken install, maybe also try adding python3-yaml-.

What you also could try is using aptitude and hope you can massage its package resolver to do the right thing. But if not already installed, you'd probably need to install it from the deb file with dpkg and hope the correct dependencies are there :/
 
I can't manage to satisfy all the dependencies :( and apt has yet to install or remove one single thing. I was really hoping to be able to sort this out, but I'm out of my depth here so I'll just plan on backing up all the machines and restoring to a fresh installation of 7.2 (after which I'll certainly be careful to never accidentally use apt update)
 
Thanks for your reply!

1) pveversion -v
Code:
root@proxmox:~# pveversion -v
proxmox-ve: 6.4-1 (running kernel: 5.4.189-1-pve)
pve-manager: 6.4-15 (running version: 6.4-15/af7986e6)
pve-kernel-5.4: 6.4-17
pve-kernel-helper: 6.4-17
pve-kernel-5.3: 6.1-6
pve-kernel-5.4.189-1-pve: 5.4.189-1
pve-kernel-5.4.178-1-pve: 5.4.178-1
pve-kernel-5.4.174-2-pve: 5.4.174-2
pve-kernel-5.4.166-1-pve: 5.4.166-1
pve-kernel-5.4.162-1-pve: 5.4.162-2
pve-kernel-5.4.157-1-pve: 5.4.157-1
pve-kernel-5.4.151-1-pve: 5.4.151-1
pve-kernel-5.4.143-1-pve: 5.4.143-1
pve-kernel-5.4.140-1-pve: 5.4.140-1
pve-kernel-5.4.128-1-pve: 5.4.128-2
pve-kernel-5.4.124-1-pve: 5.4.124-2
pve-kernel-5.3.18-3-pve: 5.3.18-3
pve-kernel-5.3.10-1-pve: 5.3.10-1
ceph: 15.2.15-pve1~bpo10
ceph-fuse: 15.2.15-pve1~bpo10
corosync: 3.1.5-pve2~bpo10+1
criu: 3.11-3
glusterfs-client: 5.5-3
ifupdown: 0.8.35+pve1
ksm-control-daemon: 1.3-1
libjs-extjs: 6.0.1-10
libknet1: 1.22-pve2~bpo10+1
libproxmox-acme-perl: 1.1.0
libproxmox-backup-qemu0: 1.1.0-1
libpve-access-control: 6.4-3
libpve-apiclient-perl: 3.1-3
libpve-common-perl: 6.4-5
libpve-guest-common-perl: 3.1-5
libpve-http-server-perl: 3.2-4
libpve-storage-perl: 6.4-1
libqb0: 1.0.5-1
libspice-server1: 0.14.2-4~pve6+1
lvm2: 2.03.02-pve4
lxc-pve: 4.0.6-2
lxcfs: 4.0.6-pve1
novnc-pve: 1.1.0-1
proxmox-backup-client: 1.1.13-2
proxmox-mini-journalreader: 1.1-1
proxmox-widget-toolkit: 2.6-2
pve-cluster: 6.4-1
pve-container: 3.3-6
pve-docs: 6.4-2
pve-edk2-firmware: 2.20200531-1
pve-firewall: 4.1-4
pve-firmware: 3.3-2
pve-ha-manager: 3.1-1
pve-i18n: 2.3-1
pve-qemu-kvm: 5.2.0-7
pve-xtermjs: 4.7.0-3
qemu-server: 6.4-2
smartmontools: 7.2-pve2
spiceterm: 3.1-1
vncterm: 1.6-2
zfsutils-linux: 2.0.7-pve1

2) cat /etc/apt/sources.list

Code:
root@proxmox:~# cat /etc/apt/sources.list
deb http://ftp.us.debian.org/debian buster main contrib
deb http://ftp.us.debian.org/debian buster-updates main contrib

# PVE pve-no-subscription repository provided by proxmox.com,
# NOT reccommended for production use
deb http://download.proxmox.com/debian/pve buster pve-no-subscription

# security updates
deb http://security.debian.org buster/updates main contrib

3) tail /etc/apt/sources.list.d/*

Code:
root@proxmox:~# tail /etc/apt/sources.list.d/*
deb http://download.proxmox.com/debian/ceph-octopus buster main

4) apt list --installed | grep linux-image

Code:
root@proxmox:~# apt list --installed | grep linux-image

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

5) apt update

Code:
root@proxmox:~# apt update
Hit:1 http://ftp.us.debian.org/debian buster InRelease
Hit:2 http://security.debian.org buster/updates InRelease
Hit:3 http://ftp.us.debian.org/debian buster-updates InRelease
Hit:4 http://download.proxmox.com/debian/pve buster InRelease
Hit:5 http://download.proxmox.com/debian/ceph-octopus buster InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
42 packages can be upgraded. Run 'apt list --upgradable' to see them.
Hi,
We encountered the same error.We solved the problem.Please remove us (country code) http://ftp.us.debian.org/ for in all reposotiries .
It should be as below ;

deb http://ftp.debian.org/debian buster main contrib
deb http://ftp.debian.org/debian buster-updates main contrib
deb http://download.proxmox.com/debian/pve buster pve-no-subscription
# security updates
deb http://security.debian.org buster/updates main contrib
deb http://security.debian.org/debian-security buster/updates main contrib

apt update
apt dist-upgrade

sed -i 's/buster\/updates/bullseye-security/g;s/buster/bullseye/g' /etc/apt/sources.list

apt update
apt dist-upgrade
 

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!