PVE8TO9 all ok but i have broken packages after upgrade

mattish.91

New Member
May 29, 2024
1
0
1
So i followed the official upgrade path for 8 to 9 and are facing some hard issues (homelab).

I have two nodes in my cluster and upgrading on one machine went fine. followed the same instructions on my other machine, making sure i didn't miss any steps. figured i was ready to do the upgrade so i went for it ```apt dist-upgrade```

Started downloading everything and as it started to install the update it some how just ended prematurely and now im stuck.

Here is what i have gotten, now im afraid to reboot the machine:

Bash:
Reading package lists...

Building dependency tree...

Reading state information...

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:

 apparmor : Depends: libc6 (>= 2.38) but 2.36-9+deb12u10 is to be installed

 ceph-common : Depends: libc6 (>= 2.38) but 2.36-9+deb12u10 is to be installed

               Depends: libcurl4t64 (>= 7.28.0) but it is not installable

               Depends: libgoogle-perftools4t64 (>= 2.16) but it is not installable

               Depends: libicu76 (>= 76.1-1~) but it is not installable

               Depends: libldap2 (>= 2.6.2) but it is not installable

               Depends: liboath0t64 (>= 1.10.0) but it is not installable

               Depends: libsnappy1v5 (>= 1.2.2) but 1.1.9-3 is to be installed

               Depends: libssl3t64 (>= 3.4.0) but it is not installable

               Depends: libstdc++6 (>= 14) but 12.2.0-14+deb12u1 is to be installed

               Depends: libthrift-0.19.0t64 (>= 0.19.0-1~) but it is not installable

 ceph-fuse : Depends: libc6 (>= 2.38) but 2.36-9+deb12u10 is to be installed

             Depends: libfuse2t64 (>= 2.9) but it is not installable

             Depends: libicu76 (>= 76.1-1~) but it is not installable

             Depends: libstdc++6 (>= 14) but 12.2.0-14+deb12u1 is to be installed

 corosync : Depends: libc6 (>= 2.38) but 2.36-9+deb12u10 is to be installed

            Depends: libknet1t64 (>= 1.18) but it is not going to be installed

            Depends: libnozzle1t64 (>= 1.6) but it is not going to be installed

            Depends: libstatgrab10t64 (>= 0.92.1) but it is not installable

            Depends: libqb-tools but it is not installable

 grub-common : Depends: libc6 (>= 2.38) but 2.36-9+deb12u10 is to be installed

               Depends: libdevmapper1.02.1 (>= 2:1.02.197) but 2:1.02.185-2 is to be installed

               Depends: libefiboot1t64 (>= 38) but it is not installable

               Depends: libefivar1t64 (>= 38) but it is not installable

               Depends: libfuse3-4 (>= 3.17.2) but it is not installable

               Recommends: os-prober (>= 1.33) but it is not installable

 grub-pc-bin : Depends: libc6 (>= 2.38) but 2.36-9+deb12u10 is to be installed

               Depends: libdevmapper1.02.1 (>= 2:1.02.197) but 2:1.02.185-2 is to be installed

 grub2-common : Depends: libc6 (>= 2.38) but 2.36-9+deb12u10 is to be installed

                Depends: libdevmapper1.02.1 (>= 2:1.02.197) but 2:1.02.185-2 is to be installed

                Depends: libefiboot1t64 (>= 38) but it is not installable

                Depends: libefivar1t64 (>= 38) but it is not installable

 libapparmor1 : Depends: libc6 (>= 2.38) but 2.36-9+deb12u10 is to be installed

 libcephfs2 : Depends: libc6 (>= 2.38) but 2.36-9+deb12u10 is to be installed

              Depends: libicu76 (>= 76.1-1~) but it is not installable

              Depends: libstdc++6 (>= 14) but 12.2.0-14+deb12u1 is to be installed

 libcrypt-openssl-rsa-perl : Depends: perl (>= 5.40.1-5) but 5.36.0-7+deb12u2 is to be installed

                             Depends: perlapi-5.40.1 but it is not installable

                             Depends: libssl3t64 (>= 3.0.0) but it is not installable

 libnvpair3linux : Depends: libc6 (>= 2.38) but 2.36-9+deb12u10 is to be installed

                   Depends: libtirpc3t64 (>= 1.0.2) but it is not installable

 libproxmox-backup-qemu0 : Depends: libssl3t64 (>= 3.0.0) but it is not installable

                           Depends: libzstd1 (>= 1.5.5) but 1.5.4+dfsg2-5 is to be installed

 libpve-http-server-perl : Depends: libjs-bootstrap5 but it is not installable

 libpve-rs-perl : Depends: perl (>= 5.40.1-6) but 5.36.0-7+deb12u2 is to be installed

                  Depends: perlapi-5.40.1 but it is not installable

                  Depends: libapt-pkg7.0 (>= 1.9~) but it is not installable

                  Depends: libc6 (>= 2.39) but 2.36-9+deb12u10 is to be installed

                  Depends: libssl3t64 (>= 3.0.0) but it is not installable

 libpve-u2f-server-perl : Depends: perl (>= 5.40.1-3) but 5.36.0-7+deb12u2 is to be installed

                          Depends: perlapi-5.40.1 but it is not installable

 librados2 : Depends: libc6 (>= 2.38) but 2.36-9+deb12u10 is to be installed

             Depends: liblttng-ust1t64 (>= 2.13.0) but it is not installable

             Depends: librdmacm1t64 (>= 1.0.15) but it is not installable

             Depends: libssl3t64 (>= 3.0.0) but it is not installable

             Depends: libstdc++6 (>= 14) but 12.2.0-14+deb12u1 is to be installed

 librados2-perl : Depends: perl (>= 5.40.1-3) but 5.36.0-7+deb12u2 is to be installed

                  Depends: perlapi-5.40.1 but it is not installable

 libradosstriper1 : Depends: libstdc++6 (>= 14) but 12.2.0-14+deb12u1 is to be installed

 librbd1 : Depends: libaio1t64 (>= 0.3.93) but it is not installable

           Depends: libc6 (>= 2.38) but 2.36-9+deb12u10 is to be installed

           Depends: liblttng-ust1t64 (>= 2.13.0) but it is not installable

           Depends: libnbd0 (>= 1.0.0) but it is not installable

           Depends: libssl3t64 (>= 3.0.0) but it is not installable

           Depends: libstdc++6 (>= 14) but 12.2.0-14+deb12u1 is to be installed

 librgw2 : Depends: libc6 (>= 2.38) but 2.36-9+deb12u10 is to be installed

           Depends: libcurl4t64 (>= 7.28.0) but it is not installable

           Depends: libicu76 (>= 76.1-1~) but it is not installable

           Depends: libldap2 (>= 2.6.2) but it is not installable

           Depends: libsnappy1v5 (>= 1.2.2) but 1.1.9-3 is to be installed

           Depends: libssl3t64 (>= 3.4.0) but it is not installable

           Depends: libstdc++6 (>= 14) but 12.2.0-14+deb12u1 is to be installed

           Depends: libthrift-0.19.0t64 (>= 0.19.0-1~) but it is not installable

 librrds-perl : Depends: perl (>= 5.40.1-5) but 5.36.0-7+deb12u2 is to be installed

                Depends: perlapi-5.40.1 but it is not installable

                Depends: librrd8t64 (>= 1.7.0) but it is not going to be installed

 libsqlite3-mod-ceph : Depends: libstdc++6 (>= 13.1) but 12.2.0-14+deb12u1 is to be installed

 libtpms0 : Depends: libssl3t64 (>= 3.0.0) but it is not installable

 libuutil3linux : Depends: libc6 (>= 2.38) but 2.36-9+deb12u10 is to be installed

 lxc-pve : Depends: libc6 (>= 2.38) but 2.36-9+deb12u10 is to be installed

 lxcfs : Depends: libc6 (>= 2.38) but 2.36-9+deb12u10 is to be installed

         Depends: libfuse3-4 (>= 3.17.2) but it is not installable

 proxmox-backup-client : Depends: libc6 (>= 2.39) but 2.36-9+deb12u10 is to be installed

                         Depends: libfuse3-4 (>= 3.17.2) but it is not installable

                         Depends: libssl3t64 (>= 3.0.0) but it is not installable

                         Depends: libzstd1 (>= 1.5.5) but 1.5.4+dfsg2-5 is to be installed

 proxmox-backup-file-restore : Depends: libc6 (>= 2.39) but 2.36-9+deb12u10 is to be installed

                               Depends: libssl3t64 (>= 3.0.0) but it is not installable

                               Depends: libzstd1 (>= 1.5.5) but 1.5.4+dfsg2-5 is to be installed

 proxmox-firewall : Depends: libc6 (>= 2.39) but 2.36-9+deb12u10 is to be installed

 proxmox-mail-forward : Depends: libc6 (>= 2.39) but 2.36-9+deb12u10 is to be installed

                        Depends: libssl3t64 (>= 3.0.0) but it is not installable

 proxmox-mini-journalreader : Depends: libc6 (>= 2.38) but 2.36-9+deb12u10 is to be installed

 proxmox-offline-mirror-helper : Depends: libc6 (>= 2.39) but 2.36-9+deb12u10 is to be installed

                                 Depends: libssl3t64 (>= 3.0.0) but it is not installable

 proxmox-termproxy : Depends: libc6 (>= 2.39) but 2.36-9+deb12u10 is to be installed

 proxmox-websocket-tunnel : Depends: libssl3t64 (>= 3.0.0) but it is not installable

                            Depends: libzstd1 (>= 1.5.5) but 1.5.4+dfsg2-5 is to be installed

 pve-cluster : Depends: perl (>= 5.40.1-6) but 5.36.0-7+deb12u2 is to be installed

               Depends: perlapi-5.40.1 but it is not installable

               Depends: libfuse2t64 (>= 2.9.2) but it is not installable

               Depends: libglib2.0-0t64 (>= 2.76.0) but it is not installable

               Depends: librrd8t64 (>= 1.4~rc2) but it is not going to be installed

 pve-esxi-import-tools : Depends: libfuse3-4 (>= 3.17.2) but it is not installable

                         Depends: libssl3t64 (>= 3.0.0) but it is not installable

                         Depends: libzstd1 (>= 1.5.5) but 1.5.4+dfsg2-5 is to be installed

 pve-firewall : Depends: conntrack but it is not installable

                Depends: libglib2.0-0t64 (>= 2.32.0) but it is not installable

 pve-manager : Depends: proxmox-rrd-migration-tool (>= 1.0.0) but it is not going to be installed

               Depends: sqv but it is not installable

 pve-qemu-kvm : Depends: libaio1t64 (>= 0.3.93) but it is not installable

                Depends: libasound2t64 (>= 1.0.16) but it is not installable

                Depends: libc6 (>= 2.38) but 2.36-9+deb12u10 is to be installed

                Depends: libcurl3t64-gnutls (>= 7.16.3) but it is not installable

                Depends: libfdt1 (>= 1.7.2) but 1.6.1-4+b1 is to be installed

                Depends: libglib2.0-0t64 (>= 2.83.0) but it is not installable

                Depends: libgnutls30t64 (>= 3.8.6) but it is not installable

                Depends: libsndio7.0 (>= 1.8.1) but it is not installable

                Depends: libusbredirparser1t64 (>= 0.8.0) but it is not installable

                Depends: libvirglrenderer1 (>= 1.0.0) but 0.10.4-1 is to be installed

                Depends: libxkbcommon0 (>= 0.5.0) but it is not installable

                Depends: libzstd1 (>= 1.5.5) but 1.5.4+dfsg2-5 is to be installed

                Recommends: numactl but it is not installable

 python3-cephfs : Depends: python3 (>= 3.13~) but 3.11.2-1+b1 is to be installed

 python3-rados : Depends: python3 (>= 3.13~) but 3.11.2-1+b1 is to be installed

 python3-rbd : Depends: python3 (>= 3.13~) but 3.11.2-1+b1 is to be installed

 python3-rgw : Depends: python3 (>= 3.13~) but 3.11.2-1+b1 is to be installed

 qemu-server : Depends: conntrack but it is not installable

               Depends: libclass-methodmaker-perl but it is not installable

               Depends: libc6 (>= 2.38) but 2.36-9+deb12u10 is to be installed

               Depends: libglib2.0-0t64 (>= 2.12.0) but it is not installable

 rrdcached : Depends: libc6 (>= 2.38) but 2.36-9+deb12u10 is to be installed

             Depends: libglib2.0-0t64 (>= 2.12.0) but it is not installable

             Depends: librrd8t64 (>= 1.7.0) but it is not going to be installed

 smartmontools : Depends: libc6 (>= 2.38) but 2.36-9+deb12u10 is to be installed

 spiceterm : Depends: libc6 (>= 2.38) but 2.36-9+deb12u10 is to be installed

             Depends: libglib2.0-0t64 (>= 2.32.0) but it is not installable

 swtpm-libs : Depends: libc6 (>= 2.38) but 2.36-9+deb12u10 is to be installed

              Depends: libssl3t64 (>= 3.0.0) but it is not installable

 swtpm-tools : Depends: libglib2.0-0t64 (>= 2.44.0) but it is not installable

               Depends: libgnutls30t64 (>= 3.7.3) but it is not installable

               Depends: libssl3t64 (>= 3.0.0) but it is not installable

 vncterm : Depends: libc6 (>= 2.38) but 2.36-9+deb12u10 is to be installed

           Depends: libgnutls30t64 (>= 3.8.1) but it is not installable

           Depends: libpng16-16t64 (>= 1.6.46) but it is not installable

 zfs-zed : Depends: libc6 (>= 2.38) but 2.36-9+deb12u10 is to be installed

           Depends: libzfs6linux (>= 2.3.3) but it is not going to be installed

 zfsutils-linux : Depends: libc6 (>= 2.38) but 2.36-9+deb12u10 is to be installed

                  Depends: libssl3t64 (>= 3.0.0) but it is not installable

                  Depends: libzfs6linux (>= 2.3.3) but it is not going to be installed

                  Depends: libzpool6linux (>= 2.3.3) but it is not going to be installed

From what i can understand i have newer packages installed than what the update want's to install.

Whats the simples way of resolving this? (i have about 10 VMs running on this node that i can't just move to the other host in any simple way yet*) Im about to recive 10 decomissioned R620's in a couple of weeks that i plan to integrate in my current cluster, but im also moving in a few days, yes that upgrade was really stupid xD.

Im prepared with WG if someone would want to have a look at it in some kind of secure way. ^^

EDIT: Resolved*

I basically copied /etc/apt/* from node2 to node1, did an apt update, all ok 700+ new updates, and im now running an apt dist-upgrade that seams to go forward at last!

Obvious issue, hard to figure out when i followed the exact steps and some how messed up anyways.

Thank god for winSCP and the second node that i could run the shell from!
 
Last edited:
I basically copied /etc/apt/* from node2 to node1, did an apt update, all ok 700+ new updates, and im now running an apt dist-upgrade that seams to go forward at last!
Great that it worked out! The issue could've been that the node where the package upgrades failed because there wasn't any available source for these packages, i.e., there weren't any Debian Trixie repositories in the sources list.

Anyway, it would be helpful to change this thread to "[SOLVED]" so that other users find a solution to their problem quicker ;)