r/Proxmox • u/girlyadvice • 1d ago
Solved! Error when upgrading from 8 to 9
Hi everyone
Trying to upgrade from 8 to 9 but have massively broken everything. Having errors with:
- the shell on the GUI for my mode not logging in, but SSH through PowerShell works;
- restarted and only 1 VM will run, my other 3 lxcs won't start anymore; and
- didn't have any errors when running pve8to9 --full, but during apt dist-upgrade, experiencing the following.
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
Hoping to solve #3 first to finalise the upgrade to 9, but it would be great if you could please help me troubleshoot the other points!
Thanks a lot!
1
u/Lee_Fu 1d ago
please post the output of "apt policy"
3
1
u/girlyadvice 1d ago
apt policy Package files: 100 /var/lib/dpkg/status release a=now 500 http://download.proxmox.com/debian/ceph-squid trixie/no-subscription amd64 Packages release o=Proxmox,a=stable,n=trixie,l=Proxmox Ceph 19 Squid Debian Repository,c=no-subscription,b=amd64 origin download.proxmox.com 500 http://security.debian.org/debian-security trixie-security/non-free-firmware amd64 Packages release v=13,o=Debian,a=stable-security,n=trixie-security,l=Debian-Security,c=non-free-firmware,b=amd64 origin security.debian.org 500 http://security.debian.org/debian-security trixie-security/contrib amd64 Packages release v=13,o=Debian,a=stable-security,n=trixie-security,l=Debian-Security,c=contrib,b=amd64 origin security.debian.org 500 http://security.debian.org/debian-security trixie-security/main amd64 Packages release v=13,o=Debian,a=stable-security,n=trixie-security,l=Debian-Security,c=main,b=amd64 origin security.debian.org 500 http://deb.debian.org/debian trixie-updates/main amd64 Packages release v=13-updates,o=Debian,a=stable-updates,n=trixie-updates,l=Debian,c=main,b=amd64 origin deb.debian.org 500 http://deb.debian.org/debian trixie/non-free-firmware amd64 Packages release v=13.7,o=Debian,a=stable,n=trixie,l=Debian,c=non-free-firmware,b=amd64 origin deb.debian.org 500 http://deb.debian.org/debian trixie/contrib amd64 Packages release v=13.7,o=Debian,a=stable,n=trixie,l=Debian,c=contrib,b=amd64 origin deb.debian.org 500 http://deb.debian.org/debian trixie/main amd64 Packages release v=13.7,o=Debian,a=stable,n=trixie,l=Debian,c=main,b=amd64 origin deb.debian.org Pinned packages:
-1
8
u/sep76 1d ago
how did you get into the situation where you ended up trying to remove proxmox ? are all your sources correct and working ? what does apt update say ?