Error when upgrading from 8 to 9

Katherine

New Member
Oct 2, 2026
2
0
1
Hi everyone

Trying to upgrade from 8 to 9 but have massively broken everything. Having errors with:
  1. the shell on the GUI for my mode not logging in, but SSH through PowerShell works;
  2. restarted and only 1 VM will run, my other 3 lxcs won't start anymore; and
  3. didn't have any errors when running pve8to9 --full, but during apt dist-upgrade, experiencing the following.

Code:
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!
 
What's apt update and apt policy look like?
 
Last edited:
What's apt update look like?
Apt update and then apt upgrade looks like the below mess.

Code:
apt update
Hit:1 http://deb.debian.org/debian trixie InRelease
Get:2 http://security.debian.org/debian-security trixie-security InRelease [43.4 kB]
Hit:3 http://deb.debian.org/debian trixie-updates InRelease
Hit:4 http://download.proxmox.com/debian/ceph-squid trixie InRelease
Fetched 43.4 kB in 0s (114 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
217 packages can be upgraded. Run 'apt list --upgradable' to see them.
root@xyz:~# apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  apt apt-utils bc bind9-dnsutils bind9-host bind9-libs bsdutils btrfs-progs ceph-common ceph-fuse chrony coreutils
  criu cryptsetup-bin curl db5.3-util dirmngr e2fsprogs efibootmgr fdisk file fio gawk genisoimage ghostscript git
  git-man glusterfs-client glusterfs-common gnupg gnupg-l10n gnupg-utils gnutls-bin gpg gpg-agent gpg-wks-client
  gpg-wks-server gpgconf gpgsm gpgv grub-common grub-efi-amd64 grub-efi-amd64-bin grub-efi-amd64-signed grub-pc-bin
  grub2-common guestfish guestfs-tools guestmount hfsplus icoutils initramfs-tools initramfs-tools-core iproute2 ipset
  kmod ldmtool libanyevent-perl libapt-pkg-perl libauthen-pam-perl libbabeltrace1 libbpf1 libcairo2 libcephfs2
  libclone-perl libcommon-sense-perl libcrypt-openssl-bignum-perl libcrypt-openssl-random-perl
  libcrypt-openssl-rsa-perl libcrypt-ssleay-perl libcryptsetup12 libfido2-1 libfile-fcntllock-perl libfilesys-df-perl
  libfreetype6 libgbm1 libgfapi0 libgfchangelog0 libgfrpc0 libgfxdr0 libglusterfs0 libgs10 libgs10-common
  libgssapi-krb5-2 libgstreamer-plugins-base1.0-0 libgstreamer1.0-0 libguestfs-hfsplus libguestfs-perl
  libguestfs-reiserfs libguestfs-tools libguestfs-xfs libharfbuzz0b libhtml-parser-perl libhttp-message-perl
  libintl-perl libintl-xs-perl libiperf0 libiscsi7 libjson-glib-1.0-0 libjson-xs-perl libk5crypto3 libkmod2 libkrb5-3
  libkrb5support0 libldb2 liblinux-inotify2-perl liblocale-gettext-perl libmagic-mgc libnbd0 libnet-dbus-perl
  libnet-ssleay-perl libnetaddr-ip-perl libnfsidmap1 libnsl2 libnss-systemd libnvpair3linux libpam-modules
  libpam-modules-bin libpam-runtime libpam-systemd libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0
  libposix-strptime-perl libpython3-stdlib librabbitmq4 librados2 libradosstriper1 librbd1 librdkafka1 librgw2
  librrds-perl librtmp1 libsasl2-2 libsasl2-modules-db libslirp0 libsndfile1 libsocket6-perl libspice-server1
  libsqlite3-0 libssh-4 libsys-virt-perl libsystemd-shared libsystemd0 libtemplate-perl libterm-readline-gnu-perl
  libtext-charwidth-perl libtext-iconv-perl libu2f-server0 libudev1 libunbound8 libuuid-perl libvirt-l10n libvirt0
  libwin-hivex-perl libxml-libxml-perl libxml-parser-perl libyaml-libyaml-perl lsof man-db mokutil netpbm nfs-common
  nmap nmap-common ntfs-3g open-iscsi openssh-client openssh-server openssh-sftp-server openssl parted perl perl-base
  perl-openssl-defaults postfix procps python3 python3-apt python3-ceph-argparse python3-ceph-common python3-cephfs
  python3-cffi-backend python3-charset-normalizer python3-cryptography python3-minimal python3-protobuf python3-pycurl
  python3-rados python3-rbd python3-rgw python3-systemd python3-yaml qrencode rpcbind rpm-common rrdcached rsync
  samba-common samba-libs shared-mime-info sleuthkit smbclient socat sqlite3 ssh supermin systemd systemd-sysv tcpdump
  udev wget xfsprogs zerofree zfs-initramfs zfs-zed zfsutils-linux
0 upgraded, 0 newly installed, 0 to remove and 217 not upgraded.

Apologies if the big list of unupgraded packages wasn't needed!