Trying to upgrade from PVE 6.4-13 to PVE 7 and fails on apt dist-upgrade - This system was originally installed from pve5 and has been upgraded from pve5 to pve6 in the past.
Ceph is currently updated to octopus
I ran
#apt update
#apt dist-upgrade
#ceph osd set noout
#pve6to7 --full (see attached)
#sed -i 's/buster\/updates/bullseye-security/g;s/buster/bullseye/g' /etc/apt/sources.list
#apt update
#apt dist-upgrade
At this point it fails with the following warning;
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
I am attaching the following
pve6to7 --full output (prior to failure)
output of apt update && apt dist-upgrade -y
pve6to7 --full after failed upgrade
pveversion -v after failed upgrade
Ceph is currently updated to octopus
I ran
#apt update
#apt dist-upgrade
#ceph osd set noout
#pve6to7 --full (see attached)
#sed -i 's/buster\/updates/bullseye-security/g;s/buster/bullseye/g' /etc/apt/sources.list
#apt update
#apt dist-upgrade
At this point it fails with the following warning;
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
I am attaching the following
pve6to7 --full output (prior to failure)
output of apt update && apt dist-upgrade -y
pve6to7 --full after failed upgrade
pveversion -v after failed upgrade