Warning from pve-apt-hook when upgrading Proxmox from 7 to 8

wt6813

New Member
Aug 7, 2023
7
0
1
Hello. I am attempting to upgrade my server, which I currently have Proxmox installed, from version 7 to 8. I followed the instructions in the official documentation, rewrote the repository from bullseye to bookworm, ran "apt update" and "apt dist-upgrade". However, when I executed "apt dist-upgrade", I got the following warning from pve-apt-hook.
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



Additional information that may be useful in resolving this issue:
- Result of running "cat /etc/apt/source.list"
deb http://ftp.jp.debian.org/debian bookworm main contrib
deb http://ftp.jp.debian.org/debian bookworm-updates main contrib

deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription

deb http://security.debian.org/debian-security bookworm-security main contrib

- Result of running "apt update"
Hit:1 http://security.debian.org/debian-security bookworm-security InRelease
Hit:2 http://ftp.jp.debian.org/debian bookworm InRelease
Hit:3 http://ftp.jp.debian.org/debian bookworm-updates InRelease
Hit:4 http://download.proxmox.com/debian/pve bookworm InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
644 packages can be upgraded. Run 'apt list --upgradable' to see them.
 
Hi,
did you install PVE on top of Debian? If so, did you remove the Debian kernel as described in https://pve.proxmox.com/wiki/Install_Proxmox_VE_on_Debian_11_Bullseye#Remove_the_Debian_Kernel?
I tried it and got the following error output.

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done

E: Unable to locate package linux-image-5.10*
E: Couldn't find any package by glob 'linux-image-5.10*'
I built Proxmox VE using ISO images with Proxmox built in.
 
Last edited:
I tried it and got the following error output.

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done

E: Unable to locate package linux-image-5.10*
E: Couldn't find any package by glob 'linux-image-5.10*'
I built Proxmox VE using ISO images with Proxmox built in.
Please share the full output of apt update && apt dist-upgrade.
 
Please share the full output of apt update && apt dist-upgrade.
root@pve1:~# apt update
Hit:1 http://security.debian.org bookworm-security InRelease
Hit:2 http://ftp.jp.debian.org/debian bookworm InRelease
Hit:3 http://ftp.jp.debian.org/debian bookworm-updates InRelease
Hit:4 http://download.proxmox.com/debian/pve bookworm InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
644 packages can be upgraded. Run 'apt list --upgradable' to see them.
root@pve1:~# apt dist-upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
guile-2.2-libs libidn11 libjs-sencha-touch libllvm11 libxdamage1 proxmox-kernel-helper proxmox-mail-forward
proxmox-offline-mirror-docs proxmox-offline-mirror-helper telnet
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
ceph-common libgnutlsxx28 libgsasl7 libmailutils7 libnfsidmap2 libpve-guest-common-perl libpve-storage-perl
libsemanage1 proxmox-ve pve-container pve-ha-manager pve-manager pve-qemu-kvm python3-cephfs python3-rados
python3-rbd python3-rgw qemu-server spiceterm
The following NEW packages will be installed:
cron-daemon-common dbus-bin dbus-daemon dbus-session-bus-common dbus-system-bus-common ethtool gcc-12-base
guile-3.0-libs i965-va-driver inetutils-telnet intel-media-va-driver libbpf1 libcbor0.8 libevent-core-2.1-7 libffi8
libfile-find-rule-perl libflac12 libgnutlsxx30 libgprofng0 libgsasl18 libgssglue1 libicu72 libidn12 libigdgmm12
libldap-2.5-0 libldap-common libllvm15 libmailutils9 libmp3lame0 libmpg123-0 libnet-libidn2-perl libnfsidmap1
libnumber-compare-perl libperl5.36 libpq5 libproc2-0 libprotobuf32 libpython3.11 libpython3.11-minimal
libpython3.11-stdlib libregexp-ipv6-perl libsemanage2 libsepol2 libssl3 libsubid4 libsystemd-shared
libtext-glob-perl liburcu8 libva-drm2 libva2 mesa-va-drivers perl-modules-5.36 python3-charset-normalizer
python3-distutils python3-lib2to3 python3-pyparsing python3-setuptools python3-systemd python3-wcwidth python3.11
python3.11-minimal sgml-base usrmerge util-linux-extra va-driver-all
The following packages will be upgraded:
adduser apparmor apt apt-transport-https apt-utils attr base-files base-passwd bash bash-completion bc
bind9-dnsutils bind9-host bind9-libs binutils binutils-common binutils-x86-64-linux-gnu bridge-utils bsd-mailx
bsdextrautils bsdutils btrfs-progs busybox bzip2 ca-certificates chrony cifs-utils console-setup console-setup-linux
coreutils corosync cpio criu cron cstream curl dash dbus dbus-user-session debconf debconf-i18n
debian-archive-keyring debian-faq debianutils diffutils dirmngr distro-info-data dmeventd dmidecode dmsetup
doc-debian dpkg e2fsprogs ebtables efibootmgr eject faketime fancontrol fdisk fdutils file findutils fontconfig
fontconfig-config fonts-dejavu-core fonts-glyphicons-halflings fuse gddrescue gdisk genisoimage gettext-base 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 grep groff-base grub-common grub-efi-amd64-bin grub-pc grub-pc-bin grub2-common
gsasl-common guile-2.2-libs gzip hdparm hostname htop ifenslave ifupdown2 init init-system-helpers initramfs-tools
initramfs-tools-core iperf3 iproute2 ipset iptables iputils-ping isc-dhcp-client isc-dhcp-common iso-codes kbd
keyboard-configuration keyutils klibc-utils kmod krb5-locales less libacl1 libaio1 libanyevent-http-perl
libanyevent-perl libapparmor1 libappconfig-perl libapt-pkg-perl libapt-pkg6.0 libarchive13 libargon2-1 libasound2
libasound2-data libassuan0 libasyncns0 libattr1 libaudit-common libaudit1 libauthen-pam-perl libavahi-client3
libavahi-common-data libavahi-common3 libbabeltrace1 libbinutils libblas3 libblkid1 libbrotli1 libbsd0
libbytes-random-secure-perl libbz2-1.0 libc-bin libc-l10n libc6 libcairo2 libcap-ng0 libcap2 libcap2-bin libcfg7
libclone-perl libcmap4 libcom-err2 libcommon-sense-perl libconvert-asn1-perl libcorosync-common4 libcpg4
libcrypt-openssl-bignum-perl libcrypt-openssl-random-perl libcrypt-openssl-rsa-perl libcrypt-random-seed-perl
libcrypt-ssleay-perl libcrypt1 libcryptsetup12 libctf-nobfd0 libctf0 libcups2 libcurl3-gnutls libcurl4 libdatrie1
libdb5.3 libdbus-1-3 libdebconfclient0 libdevel-cycle-perl libdevmapper-event1.02.1 libdevmapper1.02.1
libdigest-hmac-perl libdouble-conversion3 libdrm-amdgpu1 libdrm-common libdrm-intel1 libdrm-nouveau2 libdrm-radeon1
libdrm2 libdw1 libedit2 libegl-mesa0 libegl1 libelf1 libencode-locale-perl libepoxy0 liberror-perl libestr0
libevent-2.1-7 libexpat1 libext2fs2 libfaketime libfastjson4 libfdisk1 libfdt1 libfido2-1 libfile-listing-perl
libfile-readbackwards-perl libfilesys-df-perl libfontconfig1 libfreetype6 libfribidi0 libfstrm0 libfuse2 libfuse3-3
libgbm1 libgc1 libgcc-s1 libgcrypt20 libgdbm-compat4 libgdbm6 libgfapi0 libgfchangelog0 libgfrpc0 libgfxdr0 libgl1
libgl1-mesa-dri libglapi-mesa libglib2.0-0 libglusterd0 libglusterfs0 libglvnd0 libglx-mesa0 libglx0 libgmp10
libgnutls-dane0 libgnutls-openssl27 libgnutls30 libgoogle-perftools4 libgpg-error0 libgssapi-krb5-2
libgstreamer-plugins-base1.0-0 libgstreamer1.0-0 libharfbuzz0b libhogweed6 libhtml-parser-perl libhtml-tagset-perl
libhtml-tree-perl libhttp-daemon-perl libhttp-date-perl libhttp-message-perl libhttp-negotiate-perl libibverbs1
libidn2-0 libinih1 libio-html-perl libio-multiplex-perl libio-socket-ssl-perl libip4tc2 libip6tc2 libiperf0
libipset13 libisns0 libjansson4 libjemalloc2 libjpeg62-turbo libjs-bootstrap libjs-extjs libjs-jquery libjs-qrcodejs
libjson-c5 libjson-glib-1.0-0 libjson-glib-1.0-common libjson-perl libjson-xs-perl libk5crypto3 libkeyutils1
libklibc libkmod2 libknet1 libkrb5-3 libkrb5support0 libksba8 libldb2 libleveldb1d liblinux-inotify2-perl
liblocale-gettext-perl liblognorm5 libltdl7 liblua5.3-0 liblvm2cmd2.03 liblwp-mediatypes-perl liblz4-1 liblzma5
libmagic-mgc libmagic1 libmariadb3 libmath-random-isaac-perl libmaxminddb0 libmd0 libmime-base32-perl libmount1
libncurses6 libncursesw6 libnet-dbus-perl libnet-dns-perl libnet-http-perl libnet-ip-perl libnet-ssleay-perl libnet1
libnetaddr-ip-perl libnetfilter-conntrack3 libnetfilter-log1 libnettle8 libnewt0.52 libnfnetlink0 libnftables1
libnftnl11 libnghttp2-14 libnl-3-200 libnl-genl-3-200 libnl-route-3-200 libnozzle1 libnspr4 libnss-systemd libnss3
libntlm0 libnuma1 libnvpair3linux liboath0 libogg0 libopeniscsiusr libopts25 libopus0 liborc-0.4-0 libp11-kit0
libpam-modules libpam-modules-bin libpam-runtime libpam-systemd libpam0g libpango-1.0-0 libpangocairo-1.0-0
libpangoft2-1.0-0 libpcap0.8 libpci3 libpciaccess0 libpcre2-16-0 libpcre2-8-0 libpcre3 libpipeline1 libpixman-1-0
libpng16-16 libpopt0 libposix-strptime-perl libprotobuf-c1 libproxmox-acme-perl libproxmox-acme-plugins
libproxmox-backup-qemu0 libproxmox-rs-perl libpsl5 libpulse0 libpve-access-control libpve-apiclient-perl
libpve-cluster-api-perl libpve-cluster-perl libpve-common-perl libpve-http-server-perl libpve-rs-perl
libpve-u2f-server-perl libpython3-stdlib libqb100 libqt5core5a libqt5dbus5 libqt5network5 libquorum5 librabbitmq4
librados2-perl librdkafka1 librdmacm1 libreadline8 librrd8 librrds-perl libsasl2-2 libsasl2-modules-db libsctp1
libseccomp2 libselinux1 libsemanage-common libsensors-config libsensors5 libslang2 libslirp0 libsmartcols1
libsmbclient libsnappy1v5 libsndfile1 libspice-server1 libsqlite3-0 libss2 libssh2-1 libstatgrab10 libstdc++6
libstring-shellquote-perl libsystemd0 libtalloc2 libtasn1-6 libtcmalloc-minimal4 libtdb1 libtemplate-perl
libterm-readline-gnu-perl libtevent0 libtext-charwidth-perl libtext-iconv-perl libtext-wrapi18n-perl libthai-data
libthai0 libtinfo6 libtirpc-common libtirpc3 libtpms0 libtry-tiny-perl libu2f-server0 libudev1 libunbound8
libunistring2 libunwind8 liburi-perl libusb-1.0-0 libusbredirparser1 libutempter0 libuuid-perl libuuid1
libuutil3linux libuv1 libvirglrenderer1 libvotequorum8 libvulkan1 libwayland-client0 libwayland-server0 libwbclient0
libwrap0 libwww-perl libx11-6 libx11-data libx11-xcb1 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0
libxcb-randr0 libxcb-render0 libxcb-shm0 libxcb-sync1 libxcb-xfixes0 libxcb1 libxdamage1 libxext6 libxfixes3
libxml-libxml-perl libxml-namespacesupport-perl libxml-parser-perl libxml-sax-base-perl libxml-sax-perl
libxml-twig-perl libxml2 libxrender1 libxslt1.1 libxtables12 libxxhash0 libyaml-0-2 libyaml-libyaml-perl libz3-4
libzfs4linux libzpool5linux libzstd1 linux-base lm-sensors locales login logrotate logsave lsb-base lsof lua-lpeg
lvm2 lxc-pve lxcfs mailcap mailutils mailutils-common man-db manpages mariadb-common mawk media-types memtest86+
mesa-vulkan-drivers mount mysql-common nano ncurses-base ncurses-bin ncurses-term net-tools netbase
netcat-traditional nfs-common nftables nmap nmap-common novnc-pve open-iscsi openssh-client openssh-server
openssh-sftp-server openssl passwd pci.ids pciutils perl perl-base perl-openssl-defaults pinentry-curses powertop
procmail procps proxmox-archive-keyring proxmox-backup-client proxmox-backup-file-restore
proxmox-backup-restore-image proxmox-kernel-helper proxmox-mail-forward proxmox-mini-journalreader
proxmox-offline-mirror-docs proxmox-offline-mirror-helper proxmox-websocket-tunnel proxmox-widget-toolkit psmisc
pve-cluster pve-docs pve-edk2-firmware pve-firewall pve-firmware pve-i18n pve-lxc-syscalld pve-xtermjs
python-apt-common python3 python3-apt python3-certifi python3-chardet python3-debconf python3-debian
python3-debianbts python3-httplib2 python3-idna python3-jwt python3-ldb python3-minimal python3-pkg-resources
python3-prettytable python3-protobuf python3-pycurl python3-pysimplesoap python3-reportbug python3-requests
python3-six python3-talloc python3-urllib3 python3-yaml qttranslations5-l10n readline-common reportbug rpcbind
rrdcached rsync rsyslog runit-helper samba-common samba-libs screen sed sensible-utils shared-mime-info slirp4netns
smartmontools smbclient socat spl sqlite3 ssh ssl-cert ssmtp strace swtpm swtpm-libs swtpm-tools sysstat systemd
systemd-sysv sysvinit-utils tar tasksel tasksel-data tcpdump telnet thin-provisioning-tools time traceroute tzdata
ucf udev uidmap unzip usbutils util-linux vim-common vim-tiny vncterm wamerican wget whiptail xfsprogs xkb-data
xsltproc xxd xz-utils zfs-initramfs zfs-zed zfsutils-linux zlib1g zstd
635 upgraded, 65 newly installed, 19 to remove and 0 not upgraded.
Need to get 0 B/446 MB of archives.
After this operation, 80.9 MB disk space will be freed.
Do you want to continue? [Y/n] y
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
 
Last edited:
Please provide also the output of apt -o Debug::pkgProblemResolver=yes dist-upgrade
 
Hi I am on the same situation:
root@proxm:~# apt update && apt dist-upgrade

Bash:
Hit:1 http://security.debian.org/debian-security bookworm-security InRelease
Hit:2 http://ftp.debian.org/debian bookworm InRelease
Hit:3 http://download.proxmox.com/debian/ceph-quincy bullseye InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
213 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  alsa-topology-conf alsa-ucm-conf attr bridge-utils ceph-fuse ceph-mgr-modules-core cifs-utils corosync criu cstream dconf-gsettings-backend dconf-service dmeventd dtach ebtables ethtool faketime fontconfig fontconfig-config fonts-dejavu-core fonts-font-awesome fonts-glyphicons-halflings genisoimage
  glib-networking glib-networking-common glib-networking-services glusterfs-client glusterfs-common gsettings-desktop-schemas gstreamer1.0-libav gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-x hdparm i965-va-driver ibverbs-providers idn ifupdown2 intel-media-va-driver ipset iptables
  javascript-common libaa1 libaacs0 libaio1 libanyevent-http-perl libanyevent-perl libaom0 libaom3 libappconfig-perl libapt-pkg-perl libarchive13 libasound2 libasound2-data libass9 libasync-interrupt-perl libasyncns0 libauthen-pam-perl libavahi-client3 libavahi-common-data libavahi-common3 libavc1394-0
  libavcodec58 libavcodec59 libavfilter7 libavfilter8 libavformat58 libavformat59 libavutil56 libavutil57 libbabeltrace1 libbdplus0 libblas3 libbluray2 libbs2b0 libcaca0 libcairo-gobject2 libcairo2 libcbor0 libcdparanoia0 libcephfs2 libcfg7 libchromaprint1 libcjson1 libcmap4 libcodec2-0.9 libcodec2-1.0
  libcorosync-common4 libcpg4 libcrypt-openssl-bignum-perl libcrypt-openssl-random-perl libcrypt-openssl-rsa-perl libcups2 libdatrie1 libdav1d4 libdav1d6 libdbi1 libdconf1 libdeflate0 libdevel-cycle-perl libdevmapper-event1.02.1 libdigest-bubblebabble-perl libdouble-conversion3 libdrm-amdgpu1 libdrm-common
  libdrm-intel1 libdrm-nouveau2 libdrm-radeon1 libdrm2 libdv4 libdw1 libepoxy0 libev-perl libfaketime libfdt1 libfftw3-double3 libfile-chdir-perl libfile-readbackwards-perl libfilesys-df-perl libflac12 libflac8 libflite1 libfmt7 libfontconfig1 libfuse3-3 libgbm1 libgdk-pixbuf-2.0-0 libgdk-pixbuf2.0-bin
  libgdk-pixbuf2.0-common libgfapi0 libgfchangelog0 libgfortran5 libgfrpc0 libgfxdr0 libgl1 libgl1-mesa-dri libglapi-mesa libglib2.0-0 libglib2.0-data libglusterd0 libglusterfs0 libglvnd0 libglx-mesa0 libglx0 libgme0 libgomp1 libgoogle-perftools4 libgpgme11 libgraphite2-3 libgsm1 libgstreamer-plugins-base1.0-0
  libgstreamer1.0-0 libguard-perl libgudev-1.0-0 libharfbuzz0b libhwy1 libibverbs1 libicu67 libidn11 libiec61883-0 libigdgmm11 libigdgmm12 libinih1 libio-multiplex-perl libio-stringy-perl libip6tc2 libipset13 libiscsi7 libjack-jackd2-0 libjbig0 libjpeg62-turbo libjs-bootstrap libjs-extjs libjs-jquery
  libjs-qrcodejs libjs-sencha-touch libjson-glib-1.0-0 libjson-glib-1.0-common libjxl0.7 libknet1 liblapack3 liblcms2-2 libldap-2.4-2 libldb2 liblerc4 liblilv-0-0 liblinux-inotify2-perl libllvm11 libllvm15 liblttng-ust-ctl4 liblttng-ust0 liblua5.3-0 liblvm2cmd2.03 liblzo2-2 libmbedcrypto7 libmfx1
  libmime-base32-perl libmp3lame0 libmpdec3 libmpg123-0 libmysofa1 libnet-dbus-perl libnet-dns-perl libnet-dns-sec-perl libnet-ip-perl libnet1 libnetaddr-ip-perl libnetfilter-conntrack3 libnetfilter-log1 libnfnetlink0 libnl-3-200 libnl-route-3-200 libnorm1 libnozzle1 libnspr4 libnss3 libnuma1 libnvpair3linux
  liboath0 libogg0 libopenjp2-7 libopenmpt0 libopts25 libopus0 liborc-0.4-0 libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libpciaccess0 libpcre2-16-0 libperl4-corelibs-perl libperl5.32 libpgm-5.3-0 libpixman-1-0 libplacebo208 libpocketsphinx3 libposix-strptime-perl libpostproc55 libpostproc56 libprotobuf23
  libprotobuf32 libproxmox-acme-plugins libproxmox-backup-qemu0 libproxy1v5 libpulse0 libpve-apiclient-perl libpython3.11 libpython3.9 libpython3.9-minimal libpython3.9-stdlib libqb100 libqt5core5a libqt5dbus5 libqt5network5 libquadmath0 libquorum5 librabbitmq4 librados2 libradosstriper1 librav1e0 libraw1394-11
  librbd1 librdkafka1 librdmacm1 librgw2 librist4 librrd8 librrds-perl librsvg2-2 librsvg2-common librubberband2 libsamplerate0 libsensors-config libsensors5 libserd-0-0 libshine3 libshout3 libslirp0 libsmbclient libsnappy1v5 libsndfile1 libsodium23 libsord-0-0 libsoup2.4-1 libsoup2.4-common libsoxr0 libspeex1
  libsphinxbase3 libspice-server1 libsqlite3-mod-ceph libsratom-0-0 libsrt1.4-gnutls libsrt1.5-gnutls libssh-gcrypt-4 libstatgrab10 libstring-shellquote-perl libsubid4 libsvtav1enc1 libswresample3 libswresample4 libswscale5 libswscale6 libtag1v5 libtag1v5-vanilla libtalloc2 libtcmalloc-minimal4 libtdb1
  libtemplate-perl libtevent0 libthai-data libthai0 libtheora0 libthrift-0.13.0 libtie-ixhash-perl libtiff5 libtiff6 libtpms0 libtwolame0 libu2f-server0 libudfread0 libunwind8 liburcu6 liburcu8 liburing1 libusb-0.1-4 libusbredirparser1 libuuid-perl libuutil3linux libv4l-0 libv4lconvert0 libva-drm2 libva-x11-2
  libva2 libvdpau-va-gl1 libvdpau1 libvidstab1.1 libvirglrenderer1 libvisual-0.4-0 libvorbis0a libvorbisenc2 libvorbisfile3 libvotequorum8 libvpx6 libvpx7 libvulkan1 libwavpack1 libwayland-client0 libwayland-server0 libwbclient0 libwebp6 libwebp7 libwebpmux3 libx11-xcb1 libx264-160 libx264-164 libx265-192
  libx265-199 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0 libxcb-render0 libxcb-shm0 libxcb-sync1 libxcb-xfixes0 libxdamage1 libxfixes3 libxi6 libxml-libxml-perl libxml-twig-perl libxml-xpathengine-perl libxrender1 libxshmfence1 libxslt1.1 libxv1 libxvidcore4 libxxf86vm1 libyaml-0-2
  libyaml-libyaml-perl libz3-4 libzfs4linux libzimg2 libzmq5 libzpool5linux libzvbi-common libzvbi0 lvm2 lxcfs lzop mesa-va-drivers mesa-vdpau-drivers mesa-vulkan-drivers novnc-pve numactl ocl-icd-libopencl1 perl-modules-5.32 pocketsphinx-en-us proxmox-archive-keyring proxmox-backup-client
  proxmox-backup-file-restore proxmox-backup-restore-image proxmox-kernel-helper proxmox-mail-forward proxmox-mini-journalreader proxmox-offline-mirror-docs proxmox-offline-mirror-helper proxmox-websocket-tunnel proxmox-widget-toolkit pve-docs pve-edk2-firmware pve-i18n pve-lxc-syscalld pve-xtermjs
  python-pastedeploy-tpl python3-autocommand python3-bcrypt python3-bs4 python3-ceph-argparse python3-ceph-common python3-cheroot python3-cherrypy3 python3-dateutil python3-gpg python3-inflect python3-jaraco.classes python3-jaraco.collections python3-jaraco.context python3-jaraco.functools python3-jaraco.text
  python3-jwt python3-ldb python3-logutils python3-mako python3-markupsafe python3-more-itertools python3-natsort python3-paste python3-pastedeploy python3-pastedeploy-tpl python3-pecan python3-portend python3-prettytable python3-protobuf python3-samba python3-simplegeneric python3-singledispatch python3-soupsieve
  python3-systemd python3-talloc python3-tdb python3-tempita python3-tempora python3-tz python3-waitress python3-wcwidth python3-webob python3-webtest python3-werkzeug python3-yaml python3-zc.lockfile python3.9 python3.9-minimal qrencode rrdcached rsync samba-common samba-common-bin samba-dsdb-modules samba-libs
  sgml-base shared-mime-info smartmontools smbclient socat sqlite3 sudo swtpm swtpm-libs swtpm-tools telnet thin-provisioning-tools uidmap va-driver-all vdpau-driver-all vncterm xdg-user-dirs xfsprogs xsltproc zfs-zed zfsutils-linux
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
  ceph ceph-base ceph-common ceph-mds ceph-mgr ceph-mon ceph-osd ceph-volume libgnutlsxx28 libnfsidmap2 libproxmox-acme-perl libproxmox-rs-perl libpve-access-control libpve-cluster-api-perl libpve-cluster-perl libpve-common-perl libpve-guest-common-perl libpve-http-server-perl libpve-rs-perl libpve-storage-perl
  libpve-u2f-server-perl librados2-perl libsemanage1 lxc-pve proxmox-ve pve-cluster pve-container pve-firewall pve-ha-manager pve-manager pve-qemu-kvm python3-cephfs python3-rados python3-rbd python3-rgw qemu-server spiceterm
The following NEW packages will be installed:
  cron-daemon-common dbus-bin dbus-daemon dbus-session-bus-common dbus-system-bus-common gcc-12-base inetutils-telnet libaom3 libavcodec59 libavfilter8 libavformat59 libavutil57 libbpf1 libcbor0.8 libcjson1 libcodec2-1.0 libdav1d6 libevent-core-2.1-7 libffi8 libfile-find-rule-perl libflac12 libgprofng0 libhwy1
  libicu72 libidn12 libigdgmm12 libjemalloc2 libjxl0.7 liblcms2-2 libldap-2.5-0 liblerc4 libllvm15 libmbedcrypto7 libnfsidmap1 libnumber-compare-perl libnvme1 libperl5.36 libplacebo208 libpostproc56 libproc2-0 libprotobuf32 libpython3.11 libpython3.11-minimal libpython3.11-stdlib librav1e0 libregexp-ipv6-perl
  librist4 libsemanage2 libsepol2 libsoup2.4-common libsrt1.5-gnutls libssl3 libsubid4 libsvtav1enc1 libswresample4 libswscale6 libsystemd-shared libtext-glob-perl libtiff6 liburcu8 libvpx7 libwebp7 libx264-164 libx265-199 libxi6 libzimg2 perl-modules-5.36 python3-autocommand python3-charset-normalizer
  python3-cheroot python3-inflect python3-jaraco.classes python3-jaraco.collections python3-jaraco.context python3-jaraco.functools python3-jaraco.text python3-more-itertools python3-pastedeploy-tpl python3-portend python3-pyparsing python3-tempora python3-tz python3-wcwidth python3-zc.lockfile python3.11
  python3.11-minimal sgml-base usrmerge util-linux-extra
The following packages will be upgraded:
  apt apt-utils bind9-dnsutils bind9-host bind9-libs binutils binutils-common binutils-x86-64-linux-gnu criu cron cryptsetup-bin curl dbus dbus-user-session dirmngr glib-networking glib-networking-services glusterfs-client glusterfs-common gnupg gnupg-l10n gnupg-utils gnutls-bin gpg gpg-agent gpg-wks-client
  gpg-wks-server gpgconf gpgsm gpgv gstreamer1.0-libav gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-x idn init-system-helpers intel-media-va-driver iproute2 kmod libanyevent-perl libapt-pkg-perl libapt-pkg6.0 libasync-interrupt-perl libauthen-pam-perl libbinutils libchromaprint1 libclone-perl
  libcommon-sense-perl libcrypt-openssl-bignum-perl libcrypt-openssl-random-perl libcrypt-openssl-rsa-perl libcrypt-ssleay-perl libcryptsetup12 libctf0 libcups2 libcurl3-gnutls libcurl4 libdbus-1-3 libev-perl libfido2-1 libfilesys-df-perl libgcc-s1 libgdk-pixbuf-2.0-0 libgdk-pixbuf2.0-common libgfapi0
  libgfchangelog0 libgfortran5 libgfrpc0 libgl1-mesa-dri libglapi-mesa libglib2.0-0 libglusterfs0 libglx-mesa0 libgme0 libgnutls-dane0 libgnutls30 libgomp1 libgssapi-krb5-2 libgssapi-perl libgstreamer-plugins-base1.0-0 libgstreamer1.0-0 libguard-perl libhtml-parser-perl libhttp-message-perl libisns0
  libjack-jackd2-0 libjson-xs-perl libk5crypto3 libkmod2 libknet1 libkrb5-3 libkrb5support0 libldb2 liblinux-inotify2-perl liblocale-gettext-perl libmath-random-isaac-xs-perl libmfx1 libnet-dbus-perl libnet-dns-sec-perl libnet-libidn-perl libnet-ssleay-perl libnet1 libnetaddr-ip-perl libnss-systemd libopenmpt0
  libp11-kit0 libpam-systemd libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libposix-strptime-perl libproxy1v5 libpython3-stdlib libqt5core5a libqt5dbus5 libqt5network5 libquadmath0 librabbitmq4 librdkafka1 librrds-perl librsvg2-2 librsvg2-common librubberband2 libsasl2-2 libsasl2-modules libsemanage-common
  libshout3 libsmbclient libsndfile1 libsocket6-perl libsoup2.4-1 libspice-server1 libssh2-1 libstdc++6 libsystemd0 libtalloc2 libtdb1 libtemplate-perl libterm-readline-gnu-perl libtevent0 libtext-charwidth-perl libtext-iconv-perl libu2f-server0 liburi-perl libuuid-perl libwayland-client0 libwayland-server0
  libwbclient0 libwebpmux3 libxml-libxml-perl libxml-parser-perl libxml2 libyaml-libyaml-perl libz3-4 libzmq5 mesa-va-drivers mesa-vdpau-drivers mesa-vulkan-drivers nfs-common nvme-cli open-iscsi openssh-client openssh-server openssh-sftp-server openssl passwd perl perl-base perl-openssl-defaults postfix procps
  python-pastedeploy-tpl python3 python3-apt python3-cffi-backend python3-cherrypy3 python3-cryptography python3-distutils python3-gpg python3-httplib2 python3-ldb python3-lib2to3 python3-markupsafe python3-minimal python3-openssl python3-pastedeploy python3-prettytable python3-protobuf python3-pycurl
  python3-requests python3-samba python3-systemd python3-talloc python3-tdb python3-yaml rsync samba-common samba-common-bin samba-dsdb-modules samba-libs smartmontools smbclient socat systemd systemd-timesyncd telnet thin-provisioning-tools uidmap util-linux util-linux-locales wget xfsprogs zstd
213 upgraded, 89 newly installed, 37 to remove and 0 not upgraded.
Need to get 0 B/227 MB of archives.
After this operation, 281 MB disk space will be freed.
Do you want to continue? [Y/n] Y
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
 
Hi I am on the same situation:
root@proxm:~# apt update && apt dist-upgrade

Bash:
Hit:1 http://security.debian.org/debian-security bookworm-security InRelease
Hit:2 http://ftp.debian.org/debian bookworm InRelease
Hit:3 http://download.proxmox.com/debian/ceph-quincy bullseye InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
213 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  alsa-topology-conf alsa-ucm-conf attr bridge-utils ceph-fuse ceph-mgr-modules-core cifs-utils corosync criu cstream dconf-gsettings-backend dconf-service dmeventd dtach ebtables ethtool faketime fontconfig fontconfig-config fonts-dejavu-core fonts-font-awesome fonts-glyphicons-halflings genisoimage
  glib-networking glib-networking-common glib-networking-services glusterfs-client glusterfs-common gsettings-desktop-schemas gstreamer1.0-libav gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-x hdparm i965-va-driver ibverbs-providers idn ifupdown2 intel-media-va-driver ipset iptables
  javascript-common libaa1 libaacs0 libaio1 libanyevent-http-perl libanyevent-perl libaom0 libaom3 libappconfig-perl libapt-pkg-perl libarchive13 libasound2 libasound2-data libass9 libasync-interrupt-perl libasyncns0 libauthen-pam-perl libavahi-client3 libavahi-common-data libavahi-common3 libavc1394-0
  libavcodec58 libavcodec59 libavfilter7 libavfilter8 libavformat58 libavformat59 libavutil56 libavutil57 libbabeltrace1 libbdplus0 libblas3 libbluray2 libbs2b0 libcaca0 libcairo-gobject2 libcairo2 libcbor0 libcdparanoia0 libcephfs2 libcfg7 libchromaprint1 libcjson1 libcmap4 libcodec2-0.9 libcodec2-1.0
  libcorosync-common4 libcpg4 libcrypt-openssl-bignum-perl libcrypt-openssl-random-perl libcrypt-openssl-rsa-perl libcups2 libdatrie1 libdav1d4 libdav1d6 libdbi1 libdconf1 libdeflate0 libdevel-cycle-perl libdevmapper-event1.02.1 libdigest-bubblebabble-perl libdouble-conversion3 libdrm-amdgpu1 libdrm-common
  libdrm-intel1 libdrm-nouveau2 libdrm-radeon1 libdrm2 libdv4 libdw1 libepoxy0 libev-perl libfaketime libfdt1 libfftw3-double3 libfile-chdir-perl libfile-readbackwards-perl libfilesys-df-perl libflac12 libflac8 libflite1 libfmt7 libfontconfig1 libfuse3-3 libgbm1 libgdk-pixbuf-2.0-0 libgdk-pixbuf2.0-bin
  libgdk-pixbuf2.0-common libgfapi0 libgfchangelog0 libgfortran5 libgfrpc0 libgfxdr0 libgl1 libgl1-mesa-dri libglapi-mesa libglib2.0-0 libglib2.0-data libglusterd0 libglusterfs0 libglvnd0 libglx-mesa0 libglx0 libgme0 libgomp1 libgoogle-perftools4 libgpgme11 libgraphite2-3 libgsm1 libgstreamer-plugins-base1.0-0
  libgstreamer1.0-0 libguard-perl libgudev-1.0-0 libharfbuzz0b libhwy1 libibverbs1 libicu67 libidn11 libiec61883-0 libigdgmm11 libigdgmm12 libinih1 libio-multiplex-perl libio-stringy-perl libip6tc2 libipset13 libiscsi7 libjack-jackd2-0 libjbig0 libjpeg62-turbo libjs-bootstrap libjs-extjs libjs-jquery
  libjs-qrcodejs libjs-sencha-touch libjson-glib-1.0-0 libjson-glib-1.0-common libjxl0.7 libknet1 liblapack3 liblcms2-2 libldap-2.4-2 libldb2 liblerc4 liblilv-0-0 liblinux-inotify2-perl libllvm11 libllvm15 liblttng-ust-ctl4 liblttng-ust0 liblua5.3-0 liblvm2cmd2.03 liblzo2-2 libmbedcrypto7 libmfx1
  libmime-base32-perl libmp3lame0 libmpdec3 libmpg123-0 libmysofa1 libnet-dbus-perl libnet-dns-perl libnet-dns-sec-perl libnet-ip-perl libnet1 libnetaddr-ip-perl libnetfilter-conntrack3 libnetfilter-log1 libnfnetlink0 libnl-3-200 libnl-route-3-200 libnorm1 libnozzle1 libnspr4 libnss3 libnuma1 libnvpair3linux
  liboath0 libogg0 libopenjp2-7 libopenmpt0 libopts25 libopus0 liborc-0.4-0 libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libpciaccess0 libpcre2-16-0 libperl4-corelibs-perl libperl5.32 libpgm-5.3-0 libpixman-1-0 libplacebo208 libpocketsphinx3 libposix-strptime-perl libpostproc55 libpostproc56 libprotobuf23
  libprotobuf32 libproxmox-acme-plugins libproxmox-backup-qemu0 libproxy1v5 libpulse0 libpve-apiclient-perl libpython3.11 libpython3.9 libpython3.9-minimal libpython3.9-stdlib libqb100 libqt5core5a libqt5dbus5 libqt5network5 libquadmath0 libquorum5 librabbitmq4 librados2 libradosstriper1 librav1e0 libraw1394-11
  librbd1 librdkafka1 librdmacm1 librgw2 librist4 librrd8 librrds-perl librsvg2-2 librsvg2-common librubberband2 libsamplerate0 libsensors-config libsensors5 libserd-0-0 libshine3 libshout3 libslirp0 libsmbclient libsnappy1v5 libsndfile1 libsodium23 libsord-0-0 libsoup2.4-1 libsoup2.4-common libsoxr0 libspeex1
  libsphinxbase3 libspice-server1 libsqlite3-mod-ceph libsratom-0-0 libsrt1.4-gnutls libsrt1.5-gnutls libssh-gcrypt-4 libstatgrab10 libstring-shellquote-perl libsubid4 libsvtav1enc1 libswresample3 libswresample4 libswscale5 libswscale6 libtag1v5 libtag1v5-vanilla libtalloc2 libtcmalloc-minimal4 libtdb1
  libtemplate-perl libtevent0 libthai-data libthai0 libtheora0 libthrift-0.13.0 libtie-ixhash-perl libtiff5 libtiff6 libtpms0 libtwolame0 libu2f-server0 libudfread0 libunwind8 liburcu6 liburcu8 liburing1 libusb-0.1-4 libusbredirparser1 libuuid-perl libuutil3linux libv4l-0 libv4lconvert0 libva-drm2 libva-x11-2
  libva2 libvdpau-va-gl1 libvdpau1 libvidstab1.1 libvirglrenderer1 libvisual-0.4-0 libvorbis0a libvorbisenc2 libvorbisfile3 libvotequorum8 libvpx6 libvpx7 libvulkan1 libwavpack1 libwayland-client0 libwayland-server0 libwbclient0 libwebp6 libwebp7 libwebpmux3 libx11-xcb1 libx264-160 libx264-164 libx265-192
  libx265-199 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0 libxcb-render0 libxcb-shm0 libxcb-sync1 libxcb-xfixes0 libxdamage1 libxfixes3 libxi6 libxml-libxml-perl libxml-twig-perl libxml-xpathengine-perl libxrender1 libxshmfence1 libxslt1.1 libxv1 libxvidcore4 libxxf86vm1 libyaml-0-2
  libyaml-libyaml-perl libz3-4 libzfs4linux libzimg2 libzmq5 libzpool5linux libzvbi-common libzvbi0 lvm2 lxcfs lzop mesa-va-drivers mesa-vdpau-drivers mesa-vulkan-drivers novnc-pve numactl ocl-icd-libopencl1 perl-modules-5.32 pocketsphinx-en-us proxmox-archive-keyring proxmox-backup-client
  proxmox-backup-file-restore proxmox-backup-restore-image proxmox-kernel-helper proxmox-mail-forward proxmox-mini-journalreader proxmox-offline-mirror-docs proxmox-offline-mirror-helper proxmox-websocket-tunnel proxmox-widget-toolkit pve-docs pve-edk2-firmware pve-i18n pve-lxc-syscalld pve-xtermjs
  python-pastedeploy-tpl python3-autocommand python3-bcrypt python3-bs4 python3-ceph-argparse python3-ceph-common python3-cheroot python3-cherrypy3 python3-dateutil python3-gpg python3-inflect python3-jaraco.classes python3-jaraco.collections python3-jaraco.context python3-jaraco.functools python3-jaraco.text
  python3-jwt python3-ldb python3-logutils python3-mako python3-markupsafe python3-more-itertools python3-natsort python3-paste python3-pastedeploy python3-pastedeploy-tpl python3-pecan python3-portend python3-prettytable python3-protobuf python3-samba python3-simplegeneric python3-singledispatch python3-soupsieve
  python3-systemd python3-talloc python3-tdb python3-tempita python3-tempora python3-tz python3-waitress python3-wcwidth python3-webob python3-webtest python3-werkzeug python3-yaml python3-zc.lockfile python3.9 python3.9-minimal qrencode rrdcached rsync samba-common samba-common-bin samba-dsdb-modules samba-libs
  sgml-base shared-mime-info smartmontools smbclient socat sqlite3 sudo swtpm swtpm-libs swtpm-tools telnet thin-provisioning-tools uidmap va-driver-all vdpau-driver-all vncterm xdg-user-dirs xfsprogs xsltproc zfs-zed zfsutils-linux
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
  ceph ceph-base ceph-common ceph-mds ceph-mgr ceph-mon ceph-osd ceph-volume libgnutlsxx28 libnfsidmap2 libproxmox-acme-perl libproxmox-rs-perl libpve-access-control libpve-cluster-api-perl libpve-cluster-perl libpve-common-perl libpve-guest-common-perl libpve-http-server-perl libpve-rs-perl libpve-storage-perl
  libpve-u2f-server-perl librados2-perl libsemanage1 lxc-pve proxmox-ve pve-cluster pve-container pve-firewall pve-ha-manager pve-manager pve-qemu-kvm python3-cephfs python3-rados python3-rbd python3-rgw qemu-server spiceterm
The following NEW packages will be installed:
  cron-daemon-common dbus-bin dbus-daemon dbus-session-bus-common dbus-system-bus-common gcc-12-base inetutils-telnet libaom3 libavcodec59 libavfilter8 libavformat59 libavutil57 libbpf1 libcbor0.8 libcjson1 libcodec2-1.0 libdav1d6 libevent-core-2.1-7 libffi8 libfile-find-rule-perl libflac12 libgprofng0 libhwy1
  libicu72 libidn12 libigdgmm12 libjemalloc2 libjxl0.7 liblcms2-2 libldap-2.5-0 liblerc4 libllvm15 libmbedcrypto7 libnfsidmap1 libnumber-compare-perl libnvme1 libperl5.36 libplacebo208 libpostproc56 libproc2-0 libprotobuf32 libpython3.11 libpython3.11-minimal libpython3.11-stdlib librav1e0 libregexp-ipv6-perl
  librist4 libsemanage2 libsepol2 libsoup2.4-common libsrt1.5-gnutls libssl3 libsubid4 libsvtav1enc1 libswresample4 libswscale6 libsystemd-shared libtext-glob-perl libtiff6 liburcu8 libvpx7 libwebp7 libx264-164 libx265-199 libxi6 libzimg2 perl-modules-5.36 python3-autocommand python3-charset-normalizer
  python3-cheroot python3-inflect python3-jaraco.classes python3-jaraco.collections python3-jaraco.context python3-jaraco.functools python3-jaraco.text python3-more-itertools python3-pastedeploy-tpl python3-portend python3-pyparsing python3-tempora python3-tz python3-wcwidth python3-zc.lockfile python3.11
  python3.11-minimal sgml-base usrmerge util-linux-extra
The following packages will be upgraded:
  apt apt-utils bind9-dnsutils bind9-host bind9-libs binutils binutils-common binutils-x86-64-linux-gnu criu cron cryptsetup-bin curl dbus dbus-user-session dirmngr glib-networking glib-networking-services glusterfs-client glusterfs-common gnupg gnupg-l10n gnupg-utils gnutls-bin gpg gpg-agent gpg-wks-client
  gpg-wks-server gpgconf gpgsm gpgv gstreamer1.0-libav gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-x idn init-system-helpers intel-media-va-driver iproute2 kmod libanyevent-perl libapt-pkg-perl libapt-pkg6.0 libasync-interrupt-perl libauthen-pam-perl libbinutils libchromaprint1 libclone-perl
  libcommon-sense-perl libcrypt-openssl-bignum-perl libcrypt-openssl-random-perl libcrypt-openssl-rsa-perl libcrypt-ssleay-perl libcryptsetup12 libctf0 libcups2 libcurl3-gnutls libcurl4 libdbus-1-3 libev-perl libfido2-1 libfilesys-df-perl libgcc-s1 libgdk-pixbuf-2.0-0 libgdk-pixbuf2.0-common libgfapi0
  libgfchangelog0 libgfortran5 libgfrpc0 libgl1-mesa-dri libglapi-mesa libglib2.0-0 libglusterfs0 libglx-mesa0 libgme0 libgnutls-dane0 libgnutls30 libgomp1 libgssapi-krb5-2 libgssapi-perl libgstreamer-plugins-base1.0-0 libgstreamer1.0-0 libguard-perl libhtml-parser-perl libhttp-message-perl libisns0
  libjack-jackd2-0 libjson-xs-perl libk5crypto3 libkmod2 libknet1 libkrb5-3 libkrb5support0 libldb2 liblinux-inotify2-perl liblocale-gettext-perl libmath-random-isaac-xs-perl libmfx1 libnet-dbus-perl libnet-dns-sec-perl libnet-libidn-perl libnet-ssleay-perl libnet1 libnetaddr-ip-perl libnss-systemd libopenmpt0
  libp11-kit0 libpam-systemd libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libposix-strptime-perl libproxy1v5 libpython3-stdlib libqt5core5a libqt5dbus5 libqt5network5 libquadmath0 librabbitmq4 librdkafka1 librrds-perl librsvg2-2 librsvg2-common librubberband2 libsasl2-2 libsasl2-modules libsemanage-common
  libshout3 libsmbclient libsndfile1 libsocket6-perl libsoup2.4-1 libspice-server1 libssh2-1 libstdc++6 libsystemd0 libtalloc2 libtdb1 libtemplate-perl libterm-readline-gnu-perl libtevent0 libtext-charwidth-perl libtext-iconv-perl libu2f-server0 liburi-perl libuuid-perl libwayland-client0 libwayland-server0
  libwbclient0 libwebpmux3 libxml-libxml-perl libxml-parser-perl libxml2 libyaml-libyaml-perl libz3-4 libzmq5 mesa-va-drivers mesa-vdpau-drivers mesa-vulkan-drivers nfs-common nvme-cli open-iscsi openssh-client openssh-server openssh-sftp-server openssl passwd perl perl-base perl-openssl-defaults postfix procps
  python-pastedeploy-tpl python3 python3-apt python3-cffi-backend python3-cherrypy3 python3-cryptography python3-distutils python3-gpg python3-httplib2 python3-ldb python3-lib2to3 python3-markupsafe python3-minimal python3-openssl python3-pastedeploy python3-prettytable python3-protobuf python3-pycurl
  python3-requests python3-samba python3-systemd python3-talloc python3-tdb python3-yaml rsync samba-common samba-common-bin samba-dsdb-modules samba-libs smartmontools smbclient socat systemd systemd-timesyncd telnet thin-provisioning-tools uidmap util-linux util-linux-locales wget xfsprogs zstd
213 upgraded, 89 newly installed, 37 to remove and 0 not upgraded.
Need to get 0 B/227 MB of archives.
After this operation, 281 MB disk space will be freed.
Do you want to continue? [Y/n] Y
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
Are there any missing bookwork repositories? In my case, it was the missing Ceph repository.
 
Hi I am on the same situation:
root@proxm:~# apt update && apt dist-upgrade

Bash:
Hit:1 http://security.debian.org/debian-security bookworm-security InRelease
Hit:2 http://ftp.debian.org/debian bookworm InRelease
Hit:3 http://download.proxmox.com/debian/ceph-quincy bullseye InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
213 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  alsa-topology-conf alsa-ucm-conf attr bridge-utils ceph-fuse ceph-mgr-modules-core cifs-utils corosync criu cstream dconf-gsettings-backend dconf-service dmeventd dtach ebtables ethtool faketime fontconfig fontconfig-config fonts-dejavu-core fonts-font-awesome fonts-glyphicons-halflings genisoimage
  glib-networking glib-networking-common glib-networking-services glusterfs-client glusterfs-common gsettings-desktop-schemas gstreamer1.0-libav gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-x hdparm i965-va-driver ibverbs-providers idn ifupdown2 intel-media-va-driver ipset iptables
  javascript-common libaa1 libaacs0 libaio1 libanyevent-http-perl libanyevent-perl libaom0 libaom3 libappconfig-perl libapt-pkg-perl libarchive13 libasound2 libasound2-data libass9 libasync-interrupt-perl libasyncns0 libauthen-pam-perl libavahi-client3 libavahi-common-data libavahi-common3 libavc1394-0
  libavcodec58 libavcodec59 libavfilter7 libavfilter8 libavformat58 libavformat59 libavutil56 libavutil57 libbabeltrace1 libbdplus0 libblas3 libbluray2 libbs2b0 libcaca0 libcairo-gobject2 libcairo2 libcbor0 libcdparanoia0 libcephfs2 libcfg7 libchromaprint1 libcjson1 libcmap4 libcodec2-0.9 libcodec2-1.0
  libcorosync-common4 libcpg4 libcrypt-openssl-bignum-perl libcrypt-openssl-random-perl libcrypt-openssl-rsa-perl libcups2 libdatrie1 libdav1d4 libdav1d6 libdbi1 libdconf1 libdeflate0 libdevel-cycle-perl libdevmapper-event1.02.1 libdigest-bubblebabble-perl libdouble-conversion3 libdrm-amdgpu1 libdrm-common
  libdrm-intel1 libdrm-nouveau2 libdrm-radeon1 libdrm2 libdv4 libdw1 libepoxy0 libev-perl libfaketime libfdt1 libfftw3-double3 libfile-chdir-perl libfile-readbackwards-perl libfilesys-df-perl libflac12 libflac8 libflite1 libfmt7 libfontconfig1 libfuse3-3 libgbm1 libgdk-pixbuf-2.0-0 libgdk-pixbuf2.0-bin
  libgdk-pixbuf2.0-common libgfapi0 libgfchangelog0 libgfortran5 libgfrpc0 libgfxdr0 libgl1 libgl1-mesa-dri libglapi-mesa libglib2.0-0 libglib2.0-data libglusterd0 libglusterfs0 libglvnd0 libglx-mesa0 libglx0 libgme0 libgomp1 libgoogle-perftools4 libgpgme11 libgraphite2-3 libgsm1 libgstreamer-plugins-base1.0-0
  libgstreamer1.0-0 libguard-perl libgudev-1.0-0 libharfbuzz0b libhwy1 libibverbs1 libicu67 libidn11 libiec61883-0 libigdgmm11 libigdgmm12 libinih1 libio-multiplex-perl libio-stringy-perl libip6tc2 libipset13 libiscsi7 libjack-jackd2-0 libjbig0 libjpeg62-turbo libjs-bootstrap libjs-extjs libjs-jquery
  libjs-qrcodejs libjs-sencha-touch libjson-glib-1.0-0 libjson-glib-1.0-common libjxl0.7 libknet1 liblapack3 liblcms2-2 libldap-2.4-2 libldb2 liblerc4 liblilv-0-0 liblinux-inotify2-perl libllvm11 libllvm15 liblttng-ust-ctl4 liblttng-ust0 liblua5.3-0 liblvm2cmd2.03 liblzo2-2 libmbedcrypto7 libmfx1
  libmime-base32-perl libmp3lame0 libmpdec3 libmpg123-0 libmysofa1 libnet-dbus-perl libnet-dns-perl libnet-dns-sec-perl libnet-ip-perl libnet1 libnetaddr-ip-perl libnetfilter-conntrack3 libnetfilter-log1 libnfnetlink0 libnl-3-200 libnl-route-3-200 libnorm1 libnozzle1 libnspr4 libnss3 libnuma1 libnvpair3linux
  liboath0 libogg0 libopenjp2-7 libopenmpt0 libopts25 libopus0 liborc-0.4-0 libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libpciaccess0 libpcre2-16-0 libperl4-corelibs-perl libperl5.32 libpgm-5.3-0 libpixman-1-0 libplacebo208 libpocketsphinx3 libposix-strptime-perl libpostproc55 libpostproc56 libprotobuf23
  libprotobuf32 libproxmox-acme-plugins libproxmox-backup-qemu0 libproxy1v5 libpulse0 libpve-apiclient-perl libpython3.11 libpython3.9 libpython3.9-minimal libpython3.9-stdlib libqb100 libqt5core5a libqt5dbus5 libqt5network5 libquadmath0 libquorum5 librabbitmq4 librados2 libradosstriper1 librav1e0 libraw1394-11
  librbd1 librdkafka1 librdmacm1 librgw2 librist4 librrd8 librrds-perl librsvg2-2 librsvg2-common librubberband2 libsamplerate0 libsensors-config libsensors5 libserd-0-0 libshine3 libshout3 libslirp0 libsmbclient libsnappy1v5 libsndfile1 libsodium23 libsord-0-0 libsoup2.4-1 libsoup2.4-common libsoxr0 libspeex1
  libsphinxbase3 libspice-server1 libsqlite3-mod-ceph libsratom-0-0 libsrt1.4-gnutls libsrt1.5-gnutls libssh-gcrypt-4 libstatgrab10 libstring-shellquote-perl libsubid4 libsvtav1enc1 libswresample3 libswresample4 libswscale5 libswscale6 libtag1v5 libtag1v5-vanilla libtalloc2 libtcmalloc-minimal4 libtdb1
  libtemplate-perl libtevent0 libthai-data libthai0 libtheora0 libthrift-0.13.0 libtie-ixhash-perl libtiff5 libtiff6 libtpms0 libtwolame0 libu2f-server0 libudfread0 libunwind8 liburcu6 liburcu8 liburing1 libusb-0.1-4 libusbredirparser1 libuuid-perl libuutil3linux libv4l-0 libv4lconvert0 libva-drm2 libva-x11-2
  libva2 libvdpau-va-gl1 libvdpau1 libvidstab1.1 libvirglrenderer1 libvisual-0.4-0 libvorbis0a libvorbisenc2 libvorbisfile3 libvotequorum8 libvpx6 libvpx7 libvulkan1 libwavpack1 libwayland-client0 libwayland-server0 libwbclient0 libwebp6 libwebp7 libwebpmux3 libx11-xcb1 libx264-160 libx264-164 libx265-192
  libx265-199 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0 libxcb-render0 libxcb-shm0 libxcb-sync1 libxcb-xfixes0 libxdamage1 libxfixes3 libxi6 libxml-libxml-perl libxml-twig-perl libxml-xpathengine-perl libxrender1 libxshmfence1 libxslt1.1 libxv1 libxvidcore4 libxxf86vm1 libyaml-0-2
  libyaml-libyaml-perl libz3-4 libzfs4linux libzimg2 libzmq5 libzpool5linux libzvbi-common libzvbi0 lvm2 lxcfs lzop mesa-va-drivers mesa-vdpau-drivers mesa-vulkan-drivers novnc-pve numactl ocl-icd-libopencl1 perl-modules-5.32 pocketsphinx-en-us proxmox-archive-keyring proxmox-backup-client
  proxmox-backup-file-restore proxmox-backup-restore-image proxmox-kernel-helper proxmox-mail-forward proxmox-mini-journalreader proxmox-offline-mirror-docs proxmox-offline-mirror-helper proxmox-websocket-tunnel proxmox-widget-toolkit pve-docs pve-edk2-firmware pve-i18n pve-lxc-syscalld pve-xtermjs
  python-pastedeploy-tpl python3-autocommand python3-bcrypt python3-bs4 python3-ceph-argparse python3-ceph-common python3-cheroot python3-cherrypy3 python3-dateutil python3-gpg python3-inflect python3-jaraco.classes python3-jaraco.collections python3-jaraco.context python3-jaraco.functools python3-jaraco.text
  python3-jwt python3-ldb python3-logutils python3-mako python3-markupsafe python3-more-itertools python3-natsort python3-paste python3-pastedeploy python3-pastedeploy-tpl python3-pecan python3-portend python3-prettytable python3-protobuf python3-samba python3-simplegeneric python3-singledispatch python3-soupsieve
  python3-systemd python3-talloc python3-tdb python3-tempita python3-tempora python3-tz python3-waitress python3-wcwidth python3-webob python3-webtest python3-werkzeug python3-yaml python3-zc.lockfile python3.9 python3.9-minimal qrencode rrdcached rsync samba-common samba-common-bin samba-dsdb-modules samba-libs
  sgml-base shared-mime-info smartmontools smbclient socat sqlite3 sudo swtpm swtpm-libs swtpm-tools telnet thin-provisioning-tools uidmap va-driver-all vdpau-driver-all vncterm xdg-user-dirs xfsprogs xsltproc zfs-zed zfsutils-linux
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
  ceph ceph-base ceph-common ceph-mds ceph-mgr ceph-mon ceph-osd ceph-volume libgnutlsxx28 libnfsidmap2 libproxmox-acme-perl libproxmox-rs-perl libpve-access-control libpve-cluster-api-perl libpve-cluster-perl libpve-common-perl libpve-guest-common-perl libpve-http-server-perl libpve-rs-perl libpve-storage-perl
  libpve-u2f-server-perl librados2-perl libsemanage1 lxc-pve proxmox-ve pve-cluster pve-container pve-firewall pve-ha-manager pve-manager pve-qemu-kvm python3-cephfs python3-rados python3-rbd python3-rgw qemu-server spiceterm
The following NEW packages will be installed:
  cron-daemon-common dbus-bin dbus-daemon dbus-session-bus-common dbus-system-bus-common gcc-12-base inetutils-telnet libaom3 libavcodec59 libavfilter8 libavformat59 libavutil57 libbpf1 libcbor0.8 libcjson1 libcodec2-1.0 libdav1d6 libevent-core-2.1-7 libffi8 libfile-find-rule-perl libflac12 libgprofng0 libhwy1
  libicu72 libidn12 libigdgmm12 libjemalloc2 libjxl0.7 liblcms2-2 libldap-2.5-0 liblerc4 libllvm15 libmbedcrypto7 libnfsidmap1 libnumber-compare-perl libnvme1 libperl5.36 libplacebo208 libpostproc56 libproc2-0 libprotobuf32 libpython3.11 libpython3.11-minimal libpython3.11-stdlib librav1e0 libregexp-ipv6-perl
  librist4 libsemanage2 libsepol2 libsoup2.4-common libsrt1.5-gnutls libssl3 libsubid4 libsvtav1enc1 libswresample4 libswscale6 libsystemd-shared libtext-glob-perl libtiff6 liburcu8 libvpx7 libwebp7 libx264-164 libx265-199 libxi6 libzimg2 perl-modules-5.36 python3-autocommand python3-charset-normalizer
  python3-cheroot python3-inflect python3-jaraco.classes python3-jaraco.collections python3-jaraco.context python3-jaraco.functools python3-jaraco.text python3-more-itertools python3-pastedeploy-tpl python3-portend python3-pyparsing python3-tempora python3-tz python3-wcwidth python3-zc.lockfile python3.11
  python3.11-minimal sgml-base usrmerge util-linux-extra
The following packages will be upgraded:
  apt apt-utils bind9-dnsutils bind9-host bind9-libs binutils binutils-common binutils-x86-64-linux-gnu criu cron cryptsetup-bin curl dbus dbus-user-session dirmngr glib-networking glib-networking-services glusterfs-client glusterfs-common gnupg gnupg-l10n gnupg-utils gnutls-bin gpg gpg-agent gpg-wks-client
  gpg-wks-server gpgconf gpgsm gpgv gstreamer1.0-libav gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-x idn init-system-helpers intel-media-va-driver iproute2 kmod libanyevent-perl libapt-pkg-perl libapt-pkg6.0 libasync-interrupt-perl libauthen-pam-perl libbinutils libchromaprint1 libclone-perl
  libcommon-sense-perl libcrypt-openssl-bignum-perl libcrypt-openssl-random-perl libcrypt-openssl-rsa-perl libcrypt-ssleay-perl libcryptsetup12 libctf0 libcups2 libcurl3-gnutls libcurl4 libdbus-1-3 libev-perl libfido2-1 libfilesys-df-perl libgcc-s1 libgdk-pixbuf-2.0-0 libgdk-pixbuf2.0-common libgfapi0
  libgfchangelog0 libgfortran5 libgfrpc0 libgl1-mesa-dri libglapi-mesa libglib2.0-0 libglusterfs0 libglx-mesa0 libgme0 libgnutls-dane0 libgnutls30 libgomp1 libgssapi-krb5-2 libgssapi-perl libgstreamer-plugins-base1.0-0 libgstreamer1.0-0 libguard-perl libhtml-parser-perl libhttp-message-perl libisns0
  libjack-jackd2-0 libjson-xs-perl libk5crypto3 libkmod2 libknet1 libkrb5-3 libkrb5support0 libldb2 liblinux-inotify2-perl liblocale-gettext-perl libmath-random-isaac-xs-perl libmfx1 libnet-dbus-perl libnet-dns-sec-perl libnet-libidn-perl libnet-ssleay-perl libnet1 libnetaddr-ip-perl libnss-systemd libopenmpt0
  libp11-kit0 libpam-systemd libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libposix-strptime-perl libproxy1v5 libpython3-stdlib libqt5core5a libqt5dbus5 libqt5network5 libquadmath0 librabbitmq4 librdkafka1 librrds-perl librsvg2-2 librsvg2-common librubberband2 libsasl2-2 libsasl2-modules libsemanage-common
  libshout3 libsmbclient libsndfile1 libsocket6-perl libsoup2.4-1 libspice-server1 libssh2-1 libstdc++6 libsystemd0 libtalloc2 libtdb1 libtemplate-perl libterm-readline-gnu-perl libtevent0 libtext-charwidth-perl libtext-iconv-perl libu2f-server0 liburi-perl libuuid-perl libwayland-client0 libwayland-server0
  libwbclient0 libwebpmux3 libxml-libxml-perl libxml-parser-perl libxml2 libyaml-libyaml-perl libz3-4 libzmq5 mesa-va-drivers mesa-vdpau-drivers mesa-vulkan-drivers nfs-common nvme-cli open-iscsi openssh-client openssh-server openssh-sftp-server openssl passwd perl perl-base perl-openssl-defaults postfix procps
  python-pastedeploy-tpl python3 python3-apt python3-cffi-backend python3-cherrypy3 python3-cryptography python3-distutils python3-gpg python3-httplib2 python3-ldb python3-lib2to3 python3-markupsafe python3-minimal python3-openssl python3-pastedeploy python3-prettytable python3-protobuf python3-pycurl
  python3-requests python3-samba python3-systemd python3-talloc python3-tdb python3-yaml rsync samba-common samba-common-bin samba-dsdb-modules samba-libs smartmontools smbclient socat systemd systemd-timesyncd telnet thin-provisioning-tools uidmap util-linux util-linux-locales wget xfsprogs zstd
213 upgraded, 89 newly installed, 37 to remove and 0 not upgraded.
Need to get 0 B/227 MB of archives.
After this operation, 281 MB disk space will be freed.
Do you want to continue? [Y/n] Y
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

Debian bookworm-updates repository is missing:
https://pve.proxmox.com/wiki/Package_Repositories#_repositories_in_proxmox_ve -> "Sources.list"
as well as a appropriate PVE repository, e.g.:
https://pve.proxmox.com/wiki/Package_Repositories#sysadmin_no_subscription_repo
and the Ceph repository is still on bullseye and also needs additional adaption, e.g.:
https://pve.proxmox.com/wiki/Package_Repositories#_ceph_quincy_no_subscription_repository

In general, please read, understand and follow the upgrade guide step-by-step:
https://pve.proxmox.com/wiki/Upgrade_from_7_to_8
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!