Proxmox ve6to7 Update Error You are trying to remove Proxmox meta package

rackdie

Member
Jan 1, 2023
35
0
6
Hey there while following the documentation one of my server upgraded from ve 6 to 7 smoothly but for another server, i did the same process but in the end its giving me this error of trying to remove the meta package. couldnt find a solution that helps me regarding this.

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

System not fully up to date (found 1097 new packages)
 
Hi,

first of, how did you run apt? Did you use apt full-upgrade? Did you also run apt update after changing the repositories?

Please post the whole output of apt full-upgrade (aborting when above message comes, of course) and tail -n+0 /etc/apt/sources.list /etc/apt/sources.list.d/*, that should help investigate this further.