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
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
apt dist-upgrade
apt --fix-broken install
cat /etc/apt/sources.list
/etc/apt and /etc/apt/* source list outputs
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#