Upgrade failed from 6 to 7

Ben Labout

Active Member
Apr 4, 2017
14
4
43
I am attempting to bring a very old pve node up to date from proxmox 5 to 8. I am using the official guides available here.

5 to 6 was successful and stable. 6 to 7 failed, and I think it is because I forgot to reboot after apt update and apt dist-upgrade before then updating my repos and following the rest of the directions to go to 7.

As a result, my proxmox-ve and pve-manager versions are out of sync:


pveversion -v

Code:
proxmox-ve: 7.4-1 (running kernel: 5.4.203-1-pve)
pve-manager: not correctly installed (running version: 6.4-15/af7986e6)

I would like to undo the steps to upgrade to 7, fully fix my 6.4 install, then start over with the 6 to 7 upgrade. Unfortunately, reverting my repos to buster and update/dist-upgade does not work. It fails telling me there are dependencies that can't be installed and tries to remove a ton of pve/proxmox packages that look critical to me:

apt update

Code:
root@server:~# apt update
Ign:1 http://security.debian.org/buster-security buster InRelease
Err:2 http://security.debian.org/buster-security buster Release
  404  Not Found [IP: 151.101.66.132 80]
Hit:3 http://archive.debian.org/debian buster InRelease
Hit:4 http://archive.debian.org/debian buster-updates InRelease
Hit:5 http://download.proxmox.com/debian/pve buster InRelease
Reading package lists... Done
E: The repository 'http://security.debian.org/buster-security buster Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

apt dist-upgrade

Code:
root@server:~# 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:
 libpve-u2f-server-perl : Depends: perlapi-5.32.1 but it is not installable
 librados2-perl : Depends: perlapi-5.32.1 but it is not installable
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).


apt --fix-broken install

Code:
root@server:~# 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-fuse corosync dkms ebtables fonts-font-awesome fonts-glyphicons-halflings genisoimage libappconfig-perl
  libbabeltrace-ctf1 libboost-filesystem1.62.0 libboost-program-options1.62.0 libboost-regex1.62.0 libcfg6 libcfg7
  libcmap4 libcorosync-common4 libcpg4 libelf-dev libfcgi-bin libfcgi0ldbl libfdt1 libfuse3-3 libicu57
  libjs-bootstrap libjson-c3 libknet1 libperl5.24 libprotobuf10 libpve-apiclient-perl libpve-cluster-perl
  libpve-http-server-perl libpython3.5-minimal libpython3.5-stdlib libqrencode4 libquorum5 librgw2 libstatgrab10
  libtemplate-perl libtotem-pg5 libu2f-server0 libunistring0 liburcu4 libvotequorum8 libxslt1.1
  linux-compiler-gcc-6-x86 linux-headers-4.9.0-13-amd64 linux-headers-4.9.0-13-common linux-headers-4.9.0-8-amd64
  linux-headers-4.9.0-8-common linux-headers-amd64 linux-kbuild-4.9 proxmox-archive-keyring proxmox-backup-client
  proxmox-backup-file-restore proxmox-kernel-helper proxmox-mini-journalreader proxmox-widget-toolkit pve-cluster
  pve-edk2-firmware pve-i18n pve-lxc-syscalld pve-xtermjs python3.5 python3.5-minimal qrencode spl-dkms sudo
  xsltproc zfs-dkms zlib1g-dev zstd
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
  libpve-access-control libpve-cluster-api-perl libpve-guest-common-perl libpve-storage-perl libpve-u2f-server-perl
  librados2-perl proxmox-ve pve-container pve-firewall pve-ha-manager pve-manager qemu-server
0 upgraded, 0 newly installed, 12 to remove and 128 not upgraded.
2 not fully installed or removed.
After this operation, 13.1 MB disk space will be freed.
Do you want to continue? [Y/n]

cat /etc/apt/sources.list

Code:
root@server:~# cat /etc/apt/sources.list
deb http://archive.debian.org/debian buster main contrib

deb http://archive.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-security buster main contrib



#deb http://download.proxmox.com/debian/pve buster pve-no-subscription
#deb http://download.proxmox.com/debian/pve buster pvetest

/etc/apt and /etc/apt/* source list outputs

Code:
root@server:/etc/apt# ls -la
total 44
drwxr-xr-x   7 root root  4096 Dec  8 11:11 .
drwxr-xr-x 104 root root 12288 Dec  8 10:06 ..
drwxr-xr-x   2 root root  4096 Dec  8 10:06 apt.conf.d
drwxr-xr-x   2 root root  4096 Apr 19  2021 auth.conf.d
-rw-r--r--   1 root root   146 Dec  8 00:44 listchanges.conf
drwxr-xr-x   2 root root  4096 Mar 12  2016 preferences.d
-rw-r--r--   1 root root   413 Dec  8 11:11 sources.list
drwxr-xr-x   2 root root  4096 Dec  8 10:15 sources.list.d
drwxr-xr-x   2 root root  4096 Dec  8 10:06 trusted.gpg.d
root@server:/etc/apt# ls -la sources.list.d
total 16
drwxr-xr-x 2 root root 4096 Dec  8 10:15 .
drwxr-xr-x 7 root root 4096 Dec  8 11:11 ..
-rw-r--r-- 1 root root   69 Dec  8 09:59 pve-enterprise.list
-rw-r--r-- 1 root root   70 Dec  7 21:59 pve-enterprise.list.dpkg-dist
root@server:/etc/apt# cat sources.list.d/pve-enterprise.list
#deb https://enterprise.proxmox.com/debian/pve buster pve-enterprise
root@server:/etc/apt# cat sources.list.d/pve-enterprise.list.dpkg-dist
#deb https://enterprise.proxmox.com/debian/pve stretch pve-enterprise
root@server:/etc/apt#
 
forgot to mention - my proxmox web UI is no longer accessible and my containers are not starting up (or at least are not accessible via ssh or web UI where applicable)
 
It might not be possible to go back to the lower version number once you have (partially) upgraded. While I don't know about this exact scenario, in general, Debian packages have scripts that automatically modify databases and configuration files in case of upgrades. But they can't do so for downgrades. It would be lower risk to either restore backups and start from scratch, or putting in the effort to finish the upgrade.
 
It might not be possible to go back to the lower version number once you have (partially) upgraded. While I don't know about this exact scenario, in general, Debian packages have scripts that automatically modify databases and configuration files in case of upgrades. But they can't do so for downgrades. It would be lower risk to either restore backups and start from scratch, or putting in the effort to finish the upgrade.

Okay so I have been trying to fail forward actually since posting this, but I keep getting stuck because of some missing package dependencies.


Code:
root@server:/# apt update
Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
Hit:2 http://deb.debian.org/debian bullseye InRelease
Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
Hit:4 http://download.proxmox.com/debian/pve bullseye InRelease
Hit:5 http://download.proxmox.com/debian/pve buster InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
625 packages can be upgraded. Run 'apt list --upgradable' to see them.
root@server:/#
root@server:/#
root@server:/#
root@server:/# 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:
 libpve-u2f-server-perl : Depends: perlapi-5.32.1
 librados2-perl : Depends: perlapi-5.32.1
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

So I try the apt --fix-broken install and I get this:

Code:
root@server:/# 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-fuse corosync dkms ebtables fonts-font-awesome fonts-glyphicons-halflings genisoimage libappconfig-perl
  libbabeltrace-ctf1 libboost-filesystem1.62.0 libboost-program-options1.62.0 libboost-regex1.62.0 libc-dev-bin
  libcfg6 libcfg7 libcmap4 libcorosync-common4 libcpg4 libfcgi-bin libfcgi0ldbl libfdt1 libfuse3-3 libgfapi0
  libgfchangelog0 libgfdb0 libgfrpc0 libgfxdr0 libglusterfs0 libgstreamer-plugins-base1.0-0 libgstreamer1.0-0
  libicu57 libiscsi7 libjemalloc2 libjs-bootstrap libjson-c3 libknet1 libncurses6 libopus0 liborc-0.4-0 libperl5.28
  libprotobuf10 libproxmox-backup-qemu0 libpve-access-control libpve-apiclient-perl libpve-cluster-api-perl
  libpve-cluster-perl libpve-http-server-perl libpve-u2f-server-perl libpython3.5-minimal libpython3.5-stdlib
  libpython3.7 libqb100 libqrencode4 libquorum5 librados2-perl librgw2 libspice-server1 libstatgrab10
  libtemplate-perl libtotem-pg5 libu2f-server0 libunistring0 liburcu4 liburcu6 libvotequorum8 libxslt1.1
  linux-compiler-gcc-6-x86 linux-headers-4.9.0-13-amd64 linux-headers-4.9.0-13-common linux-headers-4.9.0-8-amd64
  linux-headers-4.9.0-8-common linux-headers-amd64 linux-kbuild-4.9 linux-libc-dev perl-modules-5.28
  proxmox-archive-keyring proxmox-backup-client proxmox-backup-file-restore proxmox-kernel-helper
  proxmox-mini-journalreader proxmox-widget-toolkit pve-cluster pve-edk2-firmware pve-firewall pve-i18n
  pve-lxc-syscalld pve-xtermjs python3-jwt python3.5 python3.5-minimal qrencode spl-dkms sudo xsltproc zfs-dkms
  zstd
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
  binutils binutils-common binutils-x86-64-linux-gnu cpp cpp-10 gcc gcc-10 gcc-10-base libanyevent-perl
  libapparmor-perl libapt-pkg-perl libapt-pkg6.0 libasan6 libatomic1 libauthen-pam-perl libbinutils libc-bin
  libc-dev-bin libc6 libcbor0 libcc1-0 libclone-perl libcommon-sense-perl libcrypt-openssl-bignum-perl
  libcrypt-openssl-random-perl libcrypt-openssl-rsa-perl libcrypt-ssleay-perl libcrypt1 libctf-nobfd0 libctf0
  libdw1 libelf1 libev-perl libfido2-1 libfile-sync-perl libfilesys-df-perl libgcc-10-dev libgcc-s1 libgomp1
  libhtml-parser-perl libintl-perl libintl-xs-perl libisl23 libitm1 libjson-xs-perl liblinux-inotify2-perl
  liblocale-gettext-perl liblsan0 libmath-bigint-perl libmath-random-isaac-xs-perl libnet-dbus-perl
  libnet-ssleay-perl libnetaddr-ip-perl libnsl2 libnss-nis libnss-nisplus libperl5.32 libproxmox-rs-perl
  libpve-access-control libpve-common-perl libpve-rs-perl libqb100 libquadmath0 libreadline8 librrds-perl
  libselinux1 libsocket6-perl libstdc++6 libtemplate-perl libterm-readline-gnu-perl libtext-charwidth-perl
  libtext-iconv-perl libtsan0 libubsan1 libuuid-perl libxml-libxml-perl libxml-parser-perl libxxhash0
  libyaml-libyaml-perl libzstd1 locales manpages manpages-dev openssh-client openssh-server openssh-sftp-server
  perl perl-base perl-modules-5.32 pve-cluster runit-helper spl-dkms texinfo
Suggested packages:
  binutils-doc cpp-doc gcc-10-locales gcc-multilib autoconf automake libtool flex bison gdb gcc-doc gcc-10-multilib
  gcc-10-doc libevent-perl libio-async-perl libpoe-perl libtask-weaken-perl glibc-doc libdata-dump-perl iwatch
  libtemplate-plugin-gd-perl libtemplate-plugin-xml-perl man-browser keychain libpam-ssh monkeysphere ssh-askpass
  molly-guard ufw perl-doc libtap-harness-archive-perl texlive-base texlive-latex-base texlive-plain-generic
  texlive-fonts-recommended
Recommended packages:
  libc6-dev | libc-dev libc6-dev libasync-interrupt-perl libguard-perl apt libc-devtools
The following packages will be REMOVED:
  build-essential g++ g++-8 glusterfs-client glusterfs-common libacl1-dev libattr1-dev libc6-dev libelf-dev
  libglusterfs-dev libperl5.24 libpve-guest-common-perl libpve-storage-perl libstdc++-8-dev perl-modules-5.24
  proxmox-ve pve-container pve-ha-manager pve-manager pve-qemu-kvm qemu-server spiceterm zlib1g-dev
The following NEW packages will be installed:
  cpp-10 gcc-10 gcc-10-base libapt-pkg6.0 libasan6 libcbor0 libcrypt1 libctf-nobfd0 libctf0 libfido2-1
  libgcc-10-dev libgcc-s1 libisl23 libnetaddr-ip-perl libnsl2 libnss-nis libnss-nisplus libperl5.32
  libproxmox-rs-perl libpve-rs-perl libqb100 libreadline8 libxxhash0 perl-modules-5.32 runit-helper
The following packages will be upgraded:
  binutils binutils-common binutils-x86-64-linux-gnu cpp gcc libanyevent-perl libapparmor-perl libapt-pkg-perl
  libatomic1 libauthen-pam-perl libbinutils libc-bin libc-dev-bin libc6 libcc1-0 libclone-perl libcommon-sense-perl
  libcrypt-openssl-bignum-perl libcrypt-openssl-random-perl libcrypt-openssl-rsa-perl libcrypt-ssleay-perl libdw1
  libelf1 libev-perl libfile-sync-perl libfilesys-df-perl libgomp1 libhtml-parser-perl libintl-perl libintl-xs-perl
  libitm1 libjson-xs-perl liblinux-inotify2-perl liblocale-gettext-perl liblsan0 libmath-bigint-perl
  libmath-random-isaac-xs-perl libnet-dbus-perl libnet-ssleay-perl libpve-access-control libpve-common-perl
  libquadmath0 librrds-perl libselinux1 libsocket6-perl libstdc++6 libtemplate-perl libterm-readline-gnu-perl
  libtext-charwidth-perl libtext-iconv-perl libtsan0 libubsan1 libuuid-perl libxml-libxml-perl libxml-parser-perl
  libyaml-libyaml-perl libzstd1 locales manpages manpages-dev openssh-client openssh-server openssh-sftp-server
  perl perl-base pve-cluster spl-dkms texinfo
68 upgraded, 25 newly installed, 23 to remove and 541 not upgraded.
2 not fully installed or removed.
Need to get 0 B/72.8 MB of archives.
After this operation, 239 MB disk space will be freed.
Do you want to continue? [Y/n]

I select Y to proceed and get this:

Code:
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

so I follow the instructions it gives and get stuck in a loop (back to doing apt --fix-broken install)

Code:
root@server:/# touch '/please-remove-proxmox-ve'
root@server:/# apt purge proxmox-ve
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:
 libpve-u2f-server-perl : Depends: perlapi-5.32.1
 librados2-perl : Depends: perlapi-5.32.1
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).


Any advice on how to get past that?
 
Have you tried installing perlapi-5.32.1? I don't quite see why it says that it is not installable. Is it because that package no longer exists in the repository, or is it because it conflicts with something else.

That's often the problem when trying to upgrade these really old systems. You'll have to hunt down really old packages that are hard to find, and you sometimes have to manually override dependencies and version numbers. It's much more tedious than upgrading systems that are only moderately out of date.

It's usually still doable, but it requires extra effort. At some point, it's easier to simply install from scratch. Since you are upgrading the host, you should be able to treat the containers and VMs separately. Ideally, they should have all been moved to a different node in the cluster before this ordeal started. But since I don't know exactly what you are doing, I have no idea if that's an option.

Also, does this help: https://forum.proxmox.com/threads/depends-perlapi-5-32-1-but-it-is-not-installable.131760/
 
Last edited:
Code:
root@server:/# apt update
Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
Hit:2 http://deb.debian.org/debian bullseye InRelease
Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
Hit:4 http://download.proxmox.com/debian/pve bullseye InRelease
Hit:5 http://download.proxmox.com/debian/pve buster InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
625 packages can be upgraded. Run 'apt list --upgradable' to see them.
I looks like you are mixing bullseye with buster. Make sure to have bullseye consistently in /etc/apt/sources.list and /etc/apt/sources.list.d/ for Proxmox 7.
 
I looks like you are mixing bullseye with buster. Make sure to have bullseye consistently in /etc/apt/sources.list and /etc/apt/sources.list.d/ for Proxmox 7.


hey good catch but where is that coming from? here is my config and some steps I have taken to ensure it's not trying to pull from buster still.

sources.list - note the absence of any reference to buster:

Code:
root@server:/# cat /etc/apt/sources.list | grep buster
root@server:/# cat /etc/apt/sources.list
#deb http://deb.debian.org/debian bullseye main contrib
#deb http://deb.debian.org/debian bullseye-updates main contrib

deb http://ftp.us.debian.org/debian/ bullseye main contrib non-free
deb-src http://ftp.us.debian.org/debian/ bullseye main contrib non-free

deb http://ftp.us.debian.org/debian/ bullseye-updates main contrib non-free
deb-src http://ftp.us.debian.org/debian/ bullseye-updates main contrib non-free

deb http://deb.debian.org/ bullseye-security main contrib non-free
deb-src http://deb.debian.org/ bullseye-security main contrib non-free

removal of list files, new apt update shows buster in the output still (Get:18 and Get:20)

Code:
root@server:/# rm -rf /var/lib/apt/lists/*
root@server:/# apt update
Get:1 http://ftp.us.debian.org/debian bullseye InRelease [116 kB]
Get:2 http://ftp.us.debian.org/debian bullseye-updates InRelease [44.1 kB]
Ign:3 http://deb.debian.org bullseye-security InRelease
Get:4 http://ftp.us.debian.org/debian bullseye/contrib Sources [43.2 kB]
Get:5 http://ftp.us.debian.org/debian bullseye/non-free Sources [81.0 kB]
Get:6 http://ftp.us.debian.org/debian bullseye/main Sources [8,500 kB]
Err:7 http://deb.debian.org bullseye-security Release
  404  Not Found [IP: 151.101.130.132 80]
Get:8 http://ftp.us.debian.org/debian bullseye/main amd64 Packages [8,066 kB]
Get:9 http://ftp.us.debian.org/debian bullseye/main Translation-en [6,235 kB]
Get:10 http://ftp.us.debian.org/debian bullseye/contrib amd64 Packages [50.4 kB]
Get:11 http://ftp.us.debian.org/debian bullseye/contrib Translation-en [46.9 kB]
Get:12 http://ftp.us.debian.org/debian bullseye/non-free amd64 Packages [96.4 kB]
Get:13 http://ftp.us.debian.org/debian bullseye/non-free Translation-en [92.5 kB]
Get:14 http://ftp.us.debian.org/debian bullseye-updates/main Sources [7,908 B]
Get:15 http://ftp.us.debian.org/debian bullseye-updates/main amd64 Packages [18.8 kB]
Get:16 http://ftp.us.debian.org/debian bullseye-updates/main Translation-en [10.9 kB]
Get:17 http://download.proxmox.com/debian/pve bullseye InRelease [2,768 B]
Get:18 http://download.proxmox.com/debian/pve buster InRelease [2,659 B]
Get:19 http://download.proxmox.com/debian/pve bullseye/pve-no-subscription amd64 Packages [451 kB]
Get:20 http://download.proxmox.com/debian/pve buster/pve-no-subscription amd64 Packages [467 kB]
Reading package lists... Done
E: The repository 'http://deb.debian.org bullseye-security Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
 
Have you tried installing perlapi-5.32.1? I don't quite see why it says that it is not installable. Is it because that package no longer exists in the repository, or is it because it conflicts with something else.

That's often the problem when trying to upgrade these really old systems. You'll have to hunt down really old packages that are hard to find, and you sometimes have to manually override dependencies and version numbers. It's much more tedious than upgrading systems that are only moderately out of date.

It's usually still doable, but it requires extra effort. At some point, it's easier to simply install from scratch. Since you are upgrading the host, you should be able to treat the containers and VMs separately. Ideally, they should have all been moved to a different node in the cluster before this ordeal started. But since I don't know exactly what you are doing, I have no idea if that's an option.

Also, does this help: https://forum.proxmox.com/threads/depends-perlapi-5-32-1-but-it-is-not-installable.131760/

Thank you - I am attempting to go from 6 to 7 right now and I have updated sources.list to look for bullseye. As someone else pointed out, it still seems to be pulling in some from buster but I am not sure how/why. See my other comment with sources.list output and showing that I removed all cached lists
 
hey good catch but where is that coming from? here is my config and some steps I have taken to ensure it's not trying to pull from buster still.

sources.list - note the absence of any reference to buster:

Code:
root@server:/# cat /etc/apt/sources.list | grep buster
root@server:/# cat /etc/apt/sources.list
#deb http://deb.debian.org/debian bullseye main contrib
#deb http://deb.debian.org/debian bullseye-updates main contrib

deb http://ftp.us.debian.org/debian/ bullseye main contrib non-free
deb-src http://ftp.us.debian.org/debian/ bullseye main contrib non-free

deb http://ftp.us.debian.org/debian/ bullseye-updates main contrib non-free
deb-src http://ftp.us.debian.org/debian/ bullseye-updates main contrib non-free

deb http://deb.debian.org/ bullseye-security main contrib non-free
deb-src http://deb.debian.org/ bullseye-security main contrib non-free

removal of list files, new apt update shows buster in the output still (Get:18 and Get:20)

Code:
root@server:/# rm -rf /var/lib/apt/lists/*
root@server:/# apt update
Get:1 http://ftp.us.debian.org/debian bullseye InRelease [116 kB]
Get:2 http://ftp.us.debian.org/debian bullseye-updates InRelease [44.1 kB]
Ign:3 http://deb.debian.org bullseye-security InRelease
Get:4 http://ftp.us.debian.org/debian bullseye/contrib Sources [43.2 kB]
Get:5 http://ftp.us.debian.org/debian bullseye/non-free Sources [81.0 kB]
Get:6 http://ftp.us.debian.org/debian bullseye/main Sources [8,500 kB]
Err:7 http://deb.debian.org bullseye-security Release
  404  Not Found [IP: 151.101.130.132 80]
Get:8 http://ftp.us.debian.org/debian bullseye/main amd64 Packages [8,066 kB]
Get:9 http://ftp.us.debian.org/debian bullseye/main Translation-en [6,235 kB]
Get:10 http://ftp.us.debian.org/debian bullseye/contrib amd64 Packages [50.4 kB]
Get:11 http://ftp.us.debian.org/debian bullseye/contrib Translation-en [46.9 kB]
Get:12 http://ftp.us.debian.org/debian bullseye/non-free amd64 Packages [96.4 kB]
Get:13 http://ftp.us.debian.org/debian bullseye/non-free Translation-en [92.5 kB]
Get:14 http://ftp.us.debian.org/debian bullseye-updates/main Sources [7,908 B]
Get:15 http://ftp.us.debian.org/debian bullseye-updates/main amd64 Packages [18.8 kB]
Get:16 http://ftp.us.debian.org/debian bullseye-updates/main Translation-en [10.9 kB]
Get:17 http://download.proxmox.com/debian/pve bullseye InRelease [2,768 B]
Get:18 http://download.proxmox.com/debian/pve buster InRelease [2,659 B]
Get:19 http://download.proxmox.com/debian/pve bullseye/pve-no-subscription amd64 Packages [451 kB]
Get:20 http://download.proxmox.com/debian/pve buster/pve-no-subscription amd64 Packages [467 kB]
Reading package lists... Done
E: The repository 'http://deb.debian.org bullseye-security Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
What files are there in the /etc/apt/sources.list.d/ directory? Maybe you keep adding repositories for Proxmox there (as there are now multiple and you need a subscription for the enterprise repository)? See the PVE 7 documentation: https://pve.proxmox.com/pve-docs-7/pve-admin-guide.html#sysadmin_no_subscription_repo
 
What files are there in the /etc/apt/sources.list.d/ directory? Maybe you keep adding repositories for Proxmox there (as there are now multiple and you need a subscription for the enterprise repository)? See the PVE 7 documentation: https://pve.proxmox.com/pve-docs-7/pve-admin-guide.html#sysadmin_no_subscription_repo
Yep, so there was a new list in there that I had not seen: pve-install-repo.list

And it had the reference to buster in it. I have commented it out and trying to move forward again
 
Okay, now I have progress. I was able to:
apt udpate && apt --fix-broken install
reboot
apt update && apt dist-upgrade

and the dist-upgrade appears to be running smoothly as we speak.

In addition, after the reboot I am now able to log into my web UI and my VMs are running again
 
  • Like
Reactions: zodiac

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!