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:
So I tried #apt --fix-broken install:
I would like to understand what's going on here. How should I proceed to update/upgrade?
Thank you
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