Unable to upgrade from 6.4.15 to 7

HassanZaib

New Member
Oct 5, 2023
9
0
1
The following output was displayed after
INFO: Checking container configs for deprecated lxc.cgroup entries
PASS: No legacy 'lxc.cgroup' keys found.
INFO: Checking storage content type configuration..
PASS: no problems found
INFO: Checking if the suite for the Debian security repository is correct..
FAIL: The new suite of the Debian security repository should be 'bullseye-security' - in /etc/apt/sources.list:10
SKIP: NOTE: Expensive checks, like CT cgroupv2 compat, not performed without '--full' parameter

= SUMMARY =

TOTAL: 20
PASSED: 15
SKIPPED: 3
WARNINGS: 1
FAILURES: 1

ATTENTION: Please check the output for detailed information!
Try to solve the problems one at a time and then run this checklist tool again.
root@pve:~#
 
Well, it says there what the problem is:

FAIL: The new suite of the Debian security repository should be 'bullseye-security' - in /etc/apt/sources.list:10

So you haven't properly adjusted the debian security repository, it even lists where exactly: In the file /etc/apt/sources.list in line 10.

I suppose there's still a buster repository, which you need to change to bullseye.
 
Exactly, changing it fixed the issue, and pve6to7 is showing the following output.
root@pve:~# pve6to7
= CHECKING VERSION INFORMATION FOR PVE PACKAGES =

Checking for package updates..
WARN: updates for the following packages are available:
libpam0g, proxmox-widget-toolkit, fdisk, libreadline8, corosync, libnozzle1, libqb100, perl-base, libcrypt-ssleay-perl, libssl3, libgnutlsxx28, libgcc-s1, init-system-helpers, usrmerge, libdevmapper1.02.1, libssh2-1, libssl3, liblvm2cmd2.03, libhttp-message-perl, libcompress-raw-bzip2-perl, libcompress-raw-zlib-perl, libencode-perl, dmsetup, libnl-route-3-200, fuse, libradosstriper1, libfmt9, libgcc-s1, libkrb5-3, libssl3, libgssapi-krb5-2, ceph-common, python3-ceph-argparse, python3-ceph-common, python3-ceph-common, python3-cephfs, python3-distutils, python3-rados, python3-rbd, libboost-context1.74.0, libboost-filesystem1.74.0, libboost-program-options1.74.0, libboost-thread1.74.0, libfmt9, libgcc-s1, libicu72, libldap-2.5-0, liboath0, librabbitmq4, libssl3, glusterfs-client, libpangoft2-1.0-0, proxmox-backup-file-restore, libgcc-s1, libcmap4, libqb100, postfix, libicu72, libnsl2, libssl3, librrds-perl, libpve-access-control, libpve-rs-perl, diffutils, proxmox-mini-journalreader, libpopt0, libcups2, libdbus-1-3, sysvinit-utils, libpkcs11-helper1, libssl3, libfdisk1, iptables, libip4tc2, libip6tc2, gnupg-utils, libreadline8, bc, libreadline8, libpcsclite1, libterm-readline-gnu-perl, libreadline8, libnet-ssleay-perl, libssl3, ifupdown, vim-common, libcurl4, libbrotli1, libldap-2.5-0, libssl3, gpg-wks-client, libldap-2.4-2, libpve-storage-perl, libposix-strptime-perl, libfstrm0, libpam-modules, proxmox-archive-keyring, openssl, libssl3, strace, libdw1, libacl1-dev, gnupg-l10n, libibverbs1, libc6-dev, libcrypt-dev, libnsl-dev, rpcsvc-proto, libargon2-1, libwbclient0, libsystemd0, base-passwd, dash, grub-common, pve-firmware, apt, libapt-pkg6.0, libgcc-s1, libacl1, openvpn, libnl-genl-3-200, libssl3, libksba8, ipset, libipset13, libgfapi0, efibootmgr, dbus, dbus-bin, dbus-daemon, dbus-system-bus-common, libkmod2, libssl3, libpsl5, libpixman-1-0, libasound2-data, bridge-utils, libmount1, tcpdump, libssl3, libquorum5, libqb100, libcrypt-openssl-random-perl, libssl3, libsqlite3-0, ksm-control-daemon, libbz2-1.0, pve-qemu-kvm, libepoxy0, libfdt1, libgbm1, libgcc-s1, libslirp0, libvirglrenderer1, zstd, libgcc-s1, libelf1, libproxmox-acme-plugins, bsdmainutils, bsdextrautils, ncal, libgpg-error0, libcephfs2, libfmt9, libgcc-s1, libbsd0, libmd0, bind9-host, bind9-libs, libdevmapper-event1.02.1, libarchive13, libnettle8, e2fsprogs, logsave, libwrap0, libnsl2, librbd1, libfmt9, libgcc-s1, libssl3, lsof, open-iscsi, libopeniscsiusr, libssl3, dnsutils, bind9-dnsutils, libpve-cluster-api-perl, libpve-cluster-perl, libavahi-common3, libfilesys-df-perl, libncurses6, libbabeltrace1, libc6, libgcc-s1, nano, pve-docs, gpg-wks-server, libgfrpc0, netbase, util-linux, util-linux-extra, libnuma1, libuuid-perl, pve-ha-manager, libpve-rs-perl, dmeventd, coreutils, libproxmox-acme-perl, zfs-initramfs, liblocale-gettext-perl, openssh-sftp-server, gpg, libreadline8, python3, python3.11, libgfxdr0, pcscd, lvm2, libk5crypto3, grub2-common, pve-firewall, libjs-extjs, ebtables, udev, locales, passwd, libcrypt1, libsemanage2, rrdcached, procps, libproc2-0, pve-container, binutils, libsasl2-2, libnftnl11, librdmacm1, libpipeline1, zfs-zed, proxmox-backup-client, libgcc-s1, libmagic1, libassuan0, libspice-server1, libssl3, lynx, kbd, grub-pc, libncursesw6, libzfs4linux, libx11-6, libopus0, libanyevent-perl, pve-cluster, libqb100, debianutils, kmod, libssl3, libudev1, rsyslog, librados2-perl, vncterm, libapparmor1, libjson-xs-perl, fdutils, spiceterm, cifs-utils, libfaketime, libapt-pkg-perl, libapt-pkg6.0, libgcc-s1, dirmngr, libldap-2.5-0, attr, libss2, libglusterfs-dev, libglusterd0, python3-pycurl, zfsutils-linux, libzpool5linux, libkrad0, mount, libsemanage-common, samba-libs, libicu72, libldap-2.5-0, libldb2, grub-pc-bin, opensc-pkcs11, libssl3, libext2fs2, sqlite3, libreadline8, libattr1, libiptc0, libip4tc2, gdisk, libgcc-s1, libtcmalloc-minimal4, libgcc-s1, pve-i18n, pve-xtermjs, libgcc-s1, libpve-u2f-server-perl, libblkid1, libisns0, libssl3, dpkg, fontconfig, libfuse3-3, groff-base, libgcc-s1, libstatgrab10, glusterfs-common, libglusterd0, libssl3, liburcu8, python3-minimal, libclone-perl, librtmp1, libhogweed6, libnettle8, grub-efi-amd64-bin, libc-bin, man-db, libmagic-mgc, libpangocairo-1.0-0, libpulse0, libgeoip1, pve-manager, libjs-qrcodejs, libjs-sencha-touch, libproxmox-rs-perl, libpve-rs-perl, proxmox-mail-forward, psmisc, nmap, libgcc-s1, liblinear4, libssl3, lua-lpeg, xfsprogs, libicu72, libinih1, liburcu8, libtinfo6, libkrb5support0, libpcre3, sed, whiptail, libvotequorum8, libqb100, libvorbisenc2, libnewt0.52, libnet-dbus-perl, libcap2, libpython3-stdlib, libpython3.11-stdlib, libfuse2, spl, libgfortran5, libgcc-s1, ssh, dmidecode, libpve-guest-common-perl, proxmox-websocket-tunnel, libgssrpc4, samba-common, tar, mawk, libcap2-bin, libnl-3-200, novnc-pve, opensc, libreadline8, libssl3, libgdbm6, libgcrypt20, libtirpc3, librrd8, cstream, pve-lxc-syscalld, libgcc-s1, libccid, libpve-common-perl, libnetaddr-ip-perl, libproxmox-rs-perl, ceph-fuse, libfmt9, libgcc-s1, perl-openssl-defaults, libssl3, libselinux1, libpcre2-8-0, gpgv, libpam-systemd, libgstreamer-plugins-base1.0-0, proxmox-backup-restore-image, lxc-pve, libgcc-s1, libsndfile1, libflac12, libmp3lame0, libmpg123-0, xz-utils, ncurses-term, libgoogle-perftools4, libyaml-libyaml-perl, libcrypt-openssl-rsa-perl, libssl3, systemd, libsystemd-shared, qemu-server, proxmox-websocket-tunnel, swtpm, swtpm-tools, libjson-c5, libsdl1.2debian, libsmartcols1, libcrypt-openssl-bignum-perl, libssl3, grep, libcfg7, libqb100, libtemplate-perl, libnvpair3linux, login, liblua5.3-0, libauthen-pam-perl, xxd, libproxmox-backup-qemu0, libgcc-s1, libuutil3linux, eject, ncurses-bin, libcommon-sense-perl, libfontconfig1, libpam-modules-bin, libcrypt1, openssh-server, runit-helper, libcrypt1, libssl3, libasyncns0, apt-utils, libapt-pkg6.0, libgcc-s1, iproute2, libbpf1, libxml-libxml-perl, libknet1, libssl3, libsmbclient, smartmontools, libgcc-s1, smbclient, libreadline8, libjemalloc2, libgcc-s1, openssh-client, libfido2-1, libssl3, libdb5.3, iputils-ping, libtdb1, libnss-systemd, bzip2, bsdutils, libasound2, libglusterfs0, libssl3, time, libunwind8, genisoimage, pve-kernel-helper, libuchardet0, libgcc-s1, python3-prettytable, python3-wcwidth, ncurses-base, libxtables12, bash, busybox, findutils, libc-dev-bin, libcap-ng0, libxml2, libicu72, file, logrotate, pciutils, libflac8, cpio, libgnutls30, libhogweed6, libnettle8, libnss3, libedit2, grub-efi-ia32-bin, libpcap0.8, libfreetype6, libbrotli1, pve-edk2-firmware, perl, perl-modules-5.36, libperl5.36, rsync, libssl3, libxxhash0, vim-tiny, apparmor, libu2f-server0, libjson-c5, libssl3, libunistring2, libpve-http-server-perl, libp11-kit0, libffi8, libzstd1, lsb-base, wget, libnettle8, libcryptsetup12, libjson-c5, libssl3, telnet, inetutils-telnet, criu, python3-protobuf, libnftables1, cron, libxml-parser-perl, liblinux-inotify2-perl, libvorbis0a, libssl1.1, gzip, numactl, libgfchangelog0, libharfbuzz0b, gnupg, libpci3, pci.ids, libgdbm-compat4, keyutils, gettext-base, faketime, libcairo2, pinentry-curses, libtext-iconv-perl, libcpg4, libqb100, liblzma5, thin-provisioning-tools, libgcc-s1, traceroute, libstdc++6, libgcc-s1, libavahi-client3, curl, libpango-1.0-0, isc-dhcp-client, nmap-common, libtevent0, rpcbind, libpve-apiclient-perl, libhtml-parser-perl, gpg-agent, python3-chardet, libgstreamer1.0-0, libglib2.0-0, libffi8, libattr1-dev, librados2, libboost-iostreams1.74.0, libboost-thread1.74.0, libfmt9, libgcc-s1, libssl3, procmail, uidmap, libsubid4, libnspr4, libaudit1, nfs-common, libevent-core-2.1-7, libnfsidmap1, libcurl3-gnutls, libbrotli1, libldap-2.5-0, libnettle8, gpgconf, libreadline8, socat, libssl3, less, hostname, libx11-xcb1, python3-apt, libapt-pkg6.0, libgcc-s1, distro-info-data, libcorosync-common4, hdparm, libxslt1.1, bsd-mailx, gpgsm, libreadline8, libtext-charwidth-perl, proxmox-ve, proxmox-kernel-helper, pve-kernel-5.15, lxcfs, libgcc-s1, btrfs-progs, libslang2, libpng16-16

Checking proxmox-ve package version..
PASS: proxmox-ve package has version >= 6.4-1

Checking running kernel version..
PASS: expected running kernel '5.4.106-1-pve'.

= CHECKING CLUSTER HEALTH/SETTINGS =

SKIP: standalone node.

= CHECKING HYPER-CONVERGED CEPH STATUS =

SKIP: no hyper-converged ceph setup detected!

= CHECKING CONFIGURED STORAGES =

PASS: storage 'local' enabled and active.
PASS: storage 'local-lvm' enabled and active.

= MISCELLANEOUS CHECKS =

INFO: Checking common daemon services..
PASS: systemd unit 'pveproxy.service' is in state 'active'
PASS: systemd unit 'pvedaemon.service' is in state 'active'
PASS: systemd unit 'pvestatd.service' is in state 'active'
INFO: Checking for running guests..
PASS: no running guest detected.
INFO: Checking if the local node's hostname 'pve' is resolvable..
INFO: Checking if resolved IP is configured on local node..
PASS: Resolved node IP '192.168.100.100' configured and active on single interface.
INFO: Checking backup retention settings..
INFO: storage 'local' - no backup retention settings defined - by default, PVE 7.x will no longer keep only the last backup, but all backups
PASS: no problems found.
INFO: checking CIFS credential location..
PASS: no CIFS credentials at outdated location found.
INFO: Checking custom roles for pool permissions..
INFO: Checking node and guest description/note legnth..
PASS: All node config descriptions fit in the new limit of 64 KiB
PASS: All guest config descriptions fit in the new limit of 8 KiB
INFO: Checking container configs for deprecated lxc.cgroup entries
PASS: No legacy 'lxc.cgroup' keys found.
INFO: Checking storage content type configuration..
PASS: no problems found
INFO: Checking if the suite for the Debian security repository is correct..
PASS: already using 'bullseye-security'
SKIP: NOTE: Expensive checks, like CT cgroupv2 compat, not performed without '--full' parameter

= SUMMARY =

TOTAL: 20
PASSED: 16
SKIPPED: 3
WARNINGS: 1
FAILURES: 0

ATTENTION: Please check the output for detailed information!
---------------------------------------------------------------------------------------------
running apt full-upgrade shows the follwing error.
Need to get 0 B/388 MB of archives.
After this operation, 340 MB of additional disk space will be used.
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


-----------------------------------------------------------------------------------------------------
 
Exactly, changing it fixed the issue, and pve6to7 is showing the following output.
root@pve:~# pve6to7
= CHECKING VERSION INFORMATION FOR PVE PACKAGES =

Checking for package updates..
WARN: updates for the following packages are available:
libpam0g, proxmox-widget-toolkit, fdisk, libreadline8, corosync, libnozzle1, libqb100, perl-base, libcrypt-ssleay-perl, libssl3, libgnutlsxx28, libgcc-s1, init-system-helpers, usrmerge, libdevmapper1.02.1, libssh2-1, libssl3, liblvm2cmd2.03, libhttp-message-perl, libcompress-raw-bzip2-perl, libcompress-raw-zlib-perl, libencode-perl, dmsetup, libnl-route-3-200, fuse, libradosstriper1, libfmt9, libgcc-s1, libkrb5-3, libssl3, libgssapi-krb5-2, ceph-common, python3-ceph-argparse, python3-ceph-common, python3-ceph-common, python3-cephfs, python3-distutils, python3-rados, python3-rbd, libboost-context1.74.0, libboost-filesystem1.74.0, libboost-program-options1.74.0, libboost-thread1.74.0, libfmt9, libgcc-s1, libicu72, libldap-2.5-0, liboath0, librabbitmq4, libssl3, glusterfs-client, libpangoft2-1.0-0, proxmox-backup-file-restore, libgcc-s1, libcmap4, libqb100, postfix, libicu72, libnsl2, libssl3, librrds-perl, libpve-access-control, libpve-rs-perl, diffutils, proxmox-mini-journalreader, libpopt0, libcups2, libdbus-1-3, sysvinit-utils, libpkcs11-helper1, libssl3, libfdisk1, iptables, libip4tc2, libip6tc2, gnupg-utils, libreadline8, bc, libreadline8, libpcsclite1, libterm-readline-gnu-perl, libreadline8, libnet-ssleay-perl, libssl3, ifupdown, vim-common, libcurl4, libbrotli1, libldap-2.5-0, libssl3, gpg-wks-client, libldap-2.4-2, libpve-storage-perl, libposix-strptime-perl, libfstrm0, libpam-modules, proxmox-archive-keyring, openssl, libssl3, strace, libdw1, libacl1-dev, gnupg-l10n, libibverbs1, libc6-dev, libcrypt-dev, libnsl-dev, rpcsvc-proto, libargon2-1, libwbclient0, libsystemd0, base-passwd, dash, grub-common, pve-firmware, apt, libapt-pkg6.0, libgcc-s1, libacl1, openvpn, libnl-genl-3-200, libssl3, libksba8, ipset, libipset13, libgfapi0, efibootmgr, dbus, dbus-bin, dbus-daemon, dbus-system-bus-common, libkmod2, libssl3, libpsl5, libpixman-1-0, libasound2-data, bridge-utils, libmount1, tcpdump, libssl3, libquorum5, libqb100, libcrypt-openssl-random-perl, libssl3, libsqlite3-0, ksm-control-daemon, libbz2-1.0, pve-qemu-kvm, libepoxy0, libfdt1, libgbm1, libgcc-s1, libslirp0, libvirglrenderer1, zstd, libgcc-s1, libelf1, libproxmox-acme-plugins, bsdmainutils, bsdextrautils, ncal, libgpg-error0, libcephfs2, libfmt9, libgcc-s1, libbsd0, libmd0, bind9-host, bind9-libs, libdevmapper-event1.02.1, libarchive13, libnettle8, e2fsprogs, logsave, libwrap0, libnsl2, librbd1, libfmt9, libgcc-s1, libssl3, lsof, open-iscsi, libopeniscsiusr, libssl3, dnsutils, bind9-dnsutils, libpve-cluster-api-perl, libpve-cluster-perl, libavahi-common3, libfilesys-df-perl, libncurses6, libbabeltrace1, libc6, libgcc-s1, nano, pve-docs, gpg-wks-server, libgfrpc0, netbase, util-linux, util-linux-extra, libnuma1, libuuid-perl, pve-ha-manager, libpve-rs-perl, dmeventd, coreutils, libproxmox-acme-perl, zfs-initramfs, liblocale-gettext-perl, openssh-sftp-server, gpg, libreadline8, python3, python3.11, libgfxdr0, pcscd, lvm2, libk5crypto3, grub2-common, pve-firewall, libjs-extjs, ebtables, udev, locales, passwd, libcrypt1, libsemanage2, rrdcached, procps, libproc2-0, pve-container, binutils, libsasl2-2, libnftnl11, librdmacm1, libpipeline1, zfs-zed, proxmox-backup-client, libgcc-s1, libmagic1, libassuan0, libspice-server1, libssl3, lynx, kbd, grub-pc, libncursesw6, libzfs4linux, libx11-6, libopus0, libanyevent-perl, pve-cluster, libqb100, debianutils, kmod, libssl3, libudev1, rsyslog, librados2-perl, vncterm, libapparmor1, libjson-xs-perl, fdutils, spiceterm, cifs-utils, libfaketime, libapt-pkg-perl, libapt-pkg6.0, libgcc-s1, dirmngr, libldap-2.5-0, attr, libss2, libglusterfs-dev, libglusterd0, python3-pycurl, zfsutils-linux, libzpool5linux, libkrad0, mount, libsemanage-common, samba-libs, libicu72, libldap-2.5-0, libldb2, grub-pc-bin, opensc-pkcs11, libssl3, libext2fs2, sqlite3, libreadline8, libattr1, libiptc0, libip4tc2, gdisk, libgcc-s1, libtcmalloc-minimal4, libgcc-s1, pve-i18n, pve-xtermjs, libgcc-s1, libpve-u2f-server-perl, libblkid1, libisns0, libssl3, dpkg, fontconfig, libfuse3-3, groff-base, libgcc-s1, libstatgrab10, glusterfs-common, libglusterd0, libssl3, liburcu8, python3-minimal, libclone-perl, librtmp1, libhogweed6, libnettle8, grub-efi-amd64-bin, libc-bin, man-db, libmagic-mgc, libpangocairo-1.0-0, libpulse0, libgeoip1, pve-manager, libjs-qrcodejs, libjs-sencha-touch, libproxmox-rs-perl, libpve-rs-perl, proxmox-mail-forward, psmisc, nmap, libgcc-s1, liblinear4, libssl3, lua-lpeg, xfsprogs, libicu72, libinih1, liburcu8, libtinfo6, libkrb5support0, libpcre3, sed, whiptail, libvotequorum8, libqb100, libvorbisenc2, libnewt0.52, libnet-dbus-perl, libcap2, libpython3-stdlib, libpython3.11-stdlib, libfuse2, spl, libgfortran5, libgcc-s1, ssh, dmidecode, libpve-guest-common-perl, proxmox-websocket-tunnel, libgssrpc4, samba-common, tar, mawk, libcap2-bin, libnl-3-200, novnc-pve, opensc, libreadline8, libssl3, libgdbm6, libgcrypt20, libtirpc3, librrd8, cstream, pve-lxc-syscalld, libgcc-s1, libccid, libpve-common-perl, libnetaddr-ip-perl, libproxmox-rs-perl, ceph-fuse, libfmt9, libgcc-s1, perl-openssl-defaults, libssl3, libselinux1, libpcre2-8-0, gpgv, libpam-systemd, libgstreamer-plugins-base1.0-0, proxmox-backup-restore-image, lxc-pve, libgcc-s1, libsndfile1, libflac12, libmp3lame0, libmpg123-0, xz-utils, ncurses-term, libgoogle-perftools4, libyaml-libyaml-perl, libcrypt-openssl-rsa-perl, libssl3, systemd, libsystemd-shared, qemu-server, proxmox-websocket-tunnel, swtpm, swtpm-tools, libjson-c5, libsdl1.2debian, libsmartcols1, libcrypt-openssl-bignum-perl, libssl3, grep, libcfg7, libqb100, libtemplate-perl, libnvpair3linux, login, liblua5.3-0, libauthen-pam-perl, xxd, libproxmox-backup-qemu0, libgcc-s1, libuutil3linux, eject, ncurses-bin, libcommon-sense-perl, libfontconfig1, libpam-modules-bin, libcrypt1, openssh-server, runit-helper, libcrypt1, libssl3, libasyncns0, apt-utils, libapt-pkg6.0, libgcc-s1, iproute2, libbpf1, libxml-libxml-perl, libknet1, libssl3, libsmbclient, smartmontools, libgcc-s1, smbclient, libreadline8, libjemalloc2, libgcc-s1, openssh-client, libfido2-1, libssl3, libdb5.3, iputils-ping, libtdb1, libnss-systemd, bzip2, bsdutils, libasound2, libglusterfs0, libssl3, time, libunwind8, genisoimage, pve-kernel-helper, libuchardet0, libgcc-s1, python3-prettytable, python3-wcwidth, ncurses-base, libxtables12, bash, busybox, findutils, libc-dev-bin, libcap-ng0, libxml2, libicu72, file, logrotate, pciutils, libflac8, cpio, libgnutls30, libhogweed6, libnettle8, libnss3, libedit2, grub-efi-ia32-bin, libpcap0.8, libfreetype6, libbrotli1, pve-edk2-firmware, perl, perl-modules-5.36, libperl5.36, rsync, libssl3, libxxhash0, vim-tiny, apparmor, libu2f-server0, libjson-c5, libssl3, libunistring2, libpve-http-server-perl, libp11-kit0, libffi8, libzstd1, lsb-base, wget, libnettle8, libcryptsetup12, libjson-c5, libssl3, telnet, inetutils-telnet, criu, python3-protobuf, libnftables1, cron, libxml-parser-perl, liblinux-inotify2-perl, libvorbis0a, libssl1.1, gzip, numactl, libgfchangelog0, libharfbuzz0b, gnupg, libpci3, pci.ids, libgdbm-compat4, keyutils, gettext-base, faketime, libcairo2, pinentry-curses, libtext-iconv-perl, libcpg4, libqb100, liblzma5, thin-provisioning-tools, libgcc-s1, traceroute, libstdc++6, libgcc-s1, libavahi-client3, curl, libpango-1.0-0, isc-dhcp-client, nmap-common, libtevent0, rpcbind, libpve-apiclient-perl, libhtml-parser-perl, gpg-agent, python3-chardet, libgstreamer1.0-0, libglib2.0-0, libffi8, libattr1-dev, librados2, libboost-iostreams1.74.0, libboost-thread1.74.0, libfmt9, libgcc-s1, libssl3, procmail, uidmap, libsubid4, libnspr4, libaudit1, nfs-common, libevent-core-2.1-7, libnfsidmap1, libcurl3-gnutls, libbrotli1, libldap-2.5-0, libnettle8, gpgconf, libreadline8, socat, libssl3, less, hostname, libx11-xcb1, python3-apt, libapt-pkg6.0, libgcc-s1, distro-info-data, libcorosync-common4, hdparm, libxslt1.1, bsd-mailx, gpgsm, libreadline8, libtext-charwidth-perl, proxmox-ve, proxmox-kernel-helper, pve-kernel-5.15, lxcfs, libgcc-s1, btrfs-progs, libslang2, libpng16-16

Checking proxmox-ve package version..
PASS: proxmox-ve package has version >= 6.4-1

Checking running kernel version..
PASS: expected running kernel '5.4.106-1-pve'.

= CHECKING CLUSTER HEALTH/SETTINGS =

SKIP: standalone node.

= CHECKING HYPER-CONVERGED CEPH STATUS =

SKIP: no hyper-converged ceph setup detected!

= CHECKING CONFIGURED STORAGES =

PASS: storage 'local' enabled and active.
PASS: storage 'local-lvm' enabled and active.

= MISCELLANEOUS CHECKS =

INFO: Checking common daemon services..
PASS: systemd unit 'pveproxy.service' is in state 'active'
PASS: systemd unit 'pvedaemon.service' is in state 'active'
PASS: systemd unit 'pvestatd.service' is in state 'active'
INFO: Checking for running guests..
PASS: no running guest detected.
INFO: Checking if the local node's hostname 'pve' is resolvable..
INFO: Checking if resolved IP is configured on local node..
PASS: Resolved node IP '192.168.100.100' configured and active on single interface.
INFO: Checking backup retention settings..
INFO: storage 'local' - no backup retention settings defined - by default, PVE 7.x will no longer keep only the last backup, but all backups
PASS: no problems found.
INFO: checking CIFS credential location..
PASS: no CIFS credentials at outdated location found.
INFO: Checking custom roles for pool permissions..
INFO: Checking node and guest description/note legnth..
PASS: All node config descriptions fit in the new limit of 64 KiB
PASS: All guest config descriptions fit in the new limit of 8 KiB
INFO: Checking container configs for deprecated lxc.cgroup entries
PASS: No legacy 'lxc.cgroup' keys found.
INFO: Checking storage content type configuration..
PASS: no problems found
INFO: Checking if the suite for the Debian security repository is correct..
PASS: already using 'bullseye-security'
SKIP: NOTE: Expensive checks, like CT cgroupv2 compat, not performed without '--full' parameter

= SUMMARY =

TOTAL: 20
PASSED: 16
SKIPPED: 3
WARNINGS: 1
FAILURES: 0

ATTENTION: Please check the output for detailed information!
---------------------------------------------------------------------------------------------
running apt full-upgrade shows the follwing error.
Need to get 0 B/388 MB of archives.
After this operation, 340 MB of additional disk space will be used.
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


-----------------------------------------------------------------------------------------------------
Already tried the solution from known problems while upgrading and it didn't work for me.
Removing this package using the command by documentation.
apt remove linux-image-amd64

after running apt full-upgrade the output remains the same as before.
 
Please provide the full output in code-tags ([CODE][/CODE]) each of:
  • pveversion -v
  • apt list --installed | grep linux-image
  • grep -r '' /etc/apt/sources.list* (do not forget the: * at the end!)
  • apt update
  • apt full-upgrade
 
Please provide the full output in code-tags ([CODE][/CODE]) each of:
  • pveversion -v
  • apt list --installed | grep linux-image
  • grep -r '' /etc/apt/sources.list* (do not forget the: * at the end!)
  • apt update
  • apt full-upgrade
Code:
root@pve:~# pveversion -v
proxmox-ve: 6.4-1 (running kernel: 5.4.203-1-pve)
pve-manager: 6.4-15 (running version: 6.4-15/af7986e6)
pve-kernel-5.4: 6.4-20
pve-kernel-helper: 6.4-20
pve-kernel-5.4.203-1-pve: 5.4.203-1
pve-kernel-5.4.106-1-pve: 5.4.106-1
ceph-fuse: 12.2.11+dfsg1-2.1+b1
corosync: 3.1.5-pve2~bpo10+1
criu: 3.11-3
glusterfs-client: 5.5-3
ifupdown: 0.8.35+pve1
ksm-control-daemon: 1.3-1
libjs-extjs: 6.0.1-10
libknet1: 1.22-pve2~bpo10+1
libproxmox-acme-perl: 1.1.0
libproxmox-backup-qemu0: 1.1.0-1
libpve-access-control: 6.4-3
libpve-apiclient-perl: 3.1-3
libpve-common-perl: 6.4-5
libpve-guest-common-perl: 3.1-5
libpve-http-server-perl: 3.2-5
libpve-storage-perl: 6.4-1
libqb0: 1.0.5-1
libspice-server1: 0.14.2-4~pve6+1
lvm2: 2.03.02-pve4
lxc-pve: 4.0.6-2
lxcfs: 4.0.6-pve1
novnc-pve: 1.1.0-1
proxmox-backup-client: 1.1.14-1
proxmox-mini-journalreader: 1.1-1
proxmox-widget-toolkit: 2.6-2
pve-cluster: 6.4-1
pve-container: 3.3-6
pve-docs: 6.4-2
pve-edk2-firmware: 2.20200531-1
pve-firewall: 4.1-4
pve-firmware: 3.3-2
pve-ha-manager: 3.1-1
pve-i18n: 2.3-1
pve-qemu-kvm: 5.2.0-8
pve-xtermjs: 4.7.0-3
qemu-server: 6.4-2
smartmontools: 7.2-pve2
spiceterm: 3.1-1
vncterm: 1.6-2
zfsutils-linux: 2.0.7-pve1
----------------------------------------------
Code:
root@pve:~# apt list --installed | grep linux-image

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
-----------------------------------------------------
Code:
root@pve:~# grep -r '' /etc/apt/sources.list*
/etc/apt/sources.list:deb http://ftp.debian.org/debian bookworm main contrib
/etc/apt/sources.list:deb http://ftp.debian.org/debian bookworm-updates main contrib
/etc/apt/sources.list:
/etc/apt/sources.list:# Proxmox VE pve-no-subscription repository provided by proxmox.com,
/etc/apt/sources.list:# NOT recommended for production use
/etc/apt/sources.list:#deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription
/etc/apt/sources.list:deb http://download.proxmox.com/debian/pve bullseye pve-no-subscription
/etc/apt/sources.list:# security updates
/etc/apt/sources.list:#deb http://security.debian.org/debian-security bookworm-security main contrib
/etc/apt/sources.list:#deb http://deb.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware
/etc/apt/sources.list:deb http://security.debian.org/debian-security bullseye-security main
/etc/apt/sources.list:
/etc/apt/sources.list.d/ceph.list:deb http://download.proxmox.com/debian/ceph-octopus bullseye main
/etc/apt/sources.list.d/pve-enterprise.list:deb https://enterprise.proxmox.com/debian/pve bullseye pve-enterprise
/etc/apt/sources.list.save:deb http://ftp.debian.org/debian bookworm main contrib
/etc/apt/sources.list.save:deb http://ftp.debian.org/debian bookworm-updates main contrib
/etc/apt/sources.list.save:deb http://security.debian.org/debian-security bullseye-security main
/etc/apt/sources.list.save:
/etc/apt/sources.list.save:# Proxmox VE pve-no-subscription repository provided by proxmox.com,
/etc/apt/sources.list.save:# NOT recommended for production use
/etc/apt/sources.list.save:#deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription
/etc/apt/sources.list.save:deb http://download.proxmox.com/debian/pve bullseye pve-no-subscription
/etc/apt/sources.list.save:# security updates
/etc/apt/sources.list.save:#deb http://security.debian.org/debian-security bookworm-security main contrib
/etc/apt/sources.list.save:deb http://deb.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware
------------------------------------------------------------------------------

root@pve:~# apt update
Code:
Hit:1 http://ftp.debian.org/debian bookworm InRelease                                                     
Hit:2 http://security.debian.org/debian-security bullseye-security InRelease                              
Hit:3 http://ftp.debian.org/debian bookworm-updates InRelease                                             
Hit:4 http://download.proxmox.com/debian/pve bullseye InRelease                                           
Err:5 https://enterprise.proxmox.com/debian/pve bullseye InRelease                                        
  401  Unauthorized [IP: 144.217.225.162 443]
Hit:6 http://download.proxmox.com/debian/ceph-octopus bullseye InRelease
Reading package lists... Done
E: Failed to fetch https://enterprise.proxmox.com/debian/pve/dists/bullseye/InRelease  401  Unauthorized [IP: 144.217.225.162 443]
E: The repository 'https://enterprise.proxmox.com/debian/pve bullseye InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
------------------------------------------------------------------------------------------------------
root@pve:~# apt full-upgrade
Code:
Reading package lists... Done
Building dependency tree      
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  bsdmainutils inetutils-telnet ncal telnet
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
  libgnutlsxx28 libnfsidmap2 libpve-access-control libpve-cluster-api-perl libpve-guest-common-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-kernel-helper pve-manager python-chardet python-requests
  python3.7 qemu-server
The following NEW packages will be installed:
  alsa-topology-conf alsa-ucm-conf bind9-dnsutils bind9-libs binutils binutils-common
  binutils-x86-64-linux-gnu bsdextrautils cron-daemon-common dbus-bin dbus-daemon dbus-session-bus-common
  dbus-system-bus-common dbus-user-session distro-info-data gnutls-bin inetutils-telnet libabsl20220623
  libaom3 libapt-pkg6.0 libavif15 libbinutils libboost-context1.74.0 libboost-filesystem1.74.0
  libboost-iostreams1.74.0 libboost-program-options1.74.0 libboost-thread1.74.0 libbpf1 libbrotli1
  libc-devtools libcbor0.8 libcrypt-dev libcrypt1 libctf-nobfd0 libctf0 libdav1d6 libde265-0 libdeflate0
  libevent-2.1-7 libevent-core-2.1-7 libffi8 libfido2-1 libfile-find-rule-perl libflac12 libfmt9 libgav1-1
  libgcc-s1 libgd3 libglusterd0 libgnutls-dane0 libgprofng0 libheif1 libhogweed6 libicu72 libinih1
  libip4tc2 libip6tc2 libipset13 libjbig0 libjson-c5 libldap-2.5-0 libldb2 liblerc4 liblinear4
  libmaxminddb0 libmd0 libmp3lame0 libmpg123-0 libnettle8 libnfsidmap1 libnftables1 libnl-genl-3-200
  libnozzle1 libnsl-dev libnsl2 libnumber-compare-perl liboath0 libopeniscsiusr libperl5.36 libproc2-0
  libprotobuf32 libpython3.11-minimal libpython3.11-stdlib libqb100 librabbitmq4 librav1e0 libreadline8
  libsemanage2 libsepol2 libsocket6-perl libssl3 libsubid4 libsvtav1enc1 libsystemd-shared
  libtext-glob-perl libtiff6 libtirpc-dev libunbound8 liburcu8 libuv1 libwebp7 libx265-199 libxpm4
  libxxhash0 libyuv0 libzpool5linux logsave lua-lpeg ncal pci.ids perl-modules-5.36 python3-ceph-argparse
  python3-ceph-common python3-cephfs python3-distutils python3-lib2to3 python3-protobuf python3-rados
  python3-rbd python3-wcwidth python3-yaml python3.11 python3.11-minimal rpcsvc-proto runit-helper
  systemd-timesyncd usrmerge util-linux-extra
The following packages have been kept back:
  libpve-common-perl
The following packages will be upgraded:
  apparmor apt apt-utils attr base-passwd bash bc bind9-host bridge-utils bsd-mailx bsdmainutils bsdutils
  btrfs-progs busybox bzip2 ceph-common ceph-fuse cifs-utils coreutils corosync cpio criu cron cstream
  curl dash dbus debianutils diffutils dirmngr dmeventd dmidecode dmsetup dnsutils dpkg e2fsprogs ebtables
  efibootmgr eject faketime fdisk fdutils file findutils fontconfig fuse gdisk genisoimage gettext-base
  glusterfs-client glusterfs-common gnupg gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client
  gpg-wks-server gpgconf gpgsm gpgv grep groff-base grub-common grub-efi-amd64-bin grub-efi-ia32-bin
  grub-pc grub-pc-bin grub2-common gzip hdparm hostname ifupdown init-system-helpers iproute2 ipset
  iptables iputils-ping isc-dhcp-client kbd keyutils kmod ksm-control-daemon less libacl1 libacl1-dev
  libanyevent-perl libapparmor1 libapt-pkg-perl libarchive13 libargon2-1 libasound2 libasound2-data
  libassuan0 libasyncns0 libattr1 libattr1-dev libaudit1 libauthen-pam-perl libavahi-client3
  libavahi-common3 libbabeltrace1 libblkid1 libbsd0 libbz2-1.0 libc-bin libc-dev-bin libc6 libc6-dev
  libcairo2 libcap-ng0 libcap2 libcap2-bin libccid libcephfs2 libcfg7 libclone-perl libcmap4
  libcommon-sense-perl libcorosync-common4 libcpg4 libcrypt-openssl-bignum-perl
  libcrypt-openssl-random-perl libcrypt-openssl-rsa-perl libcrypt-ssleay-perl libcryptsetup12 libcups2
  libcurl3-gnutls libcurl4 libdb5.3 libdbus-1-3 libdevmapper-event1.02.1 libdevmapper1.02.1 libdw1
  libedit2 libelf1 libext2fs2 libfaketime libfdisk1 libfilesys-df-perl libflac8 libfontconfig1
  libfreetype6 libfstrm0 libfuse2 libfuse3-3 libgcrypt20 libgdbm-compat4 libgdbm6 libgeoip1 libgfapi0
  libgfchangelog0 libgfortran5 libgfrpc0 libgfxdr0 libglib2.0-0 libglusterfs-dev libglusterfs0 libgnutls30
  libgoogle-perftools4 libgpg-error0 libgssapi-krb5-2 libgssrpc4 libgstreamer-plugins-base1.0-0
  libgstreamer1.0-0 libharfbuzz0b libhtml-parser-perl libhttp-message-perl libibverbs1 libiptc0 libisns0
  libjemalloc2 libjs-extjs libjson-xs-perl libk5crypto3 libkmod2 libknet1 libkrad0 libkrb5-3
  libkrb5support0 libksba8 libldap-2.4-2 liblinux-inotify2-perl liblocale-gettext-perl liblua5.3-0
  liblvm2cmd2.03 liblzma5 libmagic-mgc libmagic1 libmount1 libncurses6 libncursesw6 libnet-dbus-perl
  libnet-ssleay-perl libnewt0.52 libnftnl11 libnl-3-200 libnl-route-3-200 libnspr4 libnss-systemd libnss3
  libnuma1 libnvpair3linux libopus0 libp11-kit0 libpam-modules libpam-modules-bin libpam-systemd libpam0g
  libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libpcap0.8 libpci3 libpcre2-8-0 libpcre3
  libpcsclite1 libpipeline1 libpixman-1-0 libpkcs11-helper1 libpng16-16 libpopt0 libproxmox-acme-perl
  libproxmox-acme-plugins libproxmox-backup-qemu0 libpsl5 libpulse0 libpve-apiclient-perl
  libpve-cluster-perl libpve-http-server-perl libpython3-stdlib libquorum5 librados2 libradosstriper1
  librbd1 librdmacm1 librrd8 librrds-perl librtmp1 libsasl2-2 libsdl1.2debian libselinux1
  libsemanage-common libslang2 libsmartcols1 libsmbclient libsndfile1 libspice-server1 libsqlite3-0 libss2
  libssh2-1 libssl1.1 libstatgrab10 libstdc++6 libsystemd0 libtcmalloc-minimal4 libtdb1 libtemplate-perl
  libterm-readline-gnu-perl libtevent0 libtext-charwidth-perl libtext-iconv-perl libtinfo6 libtirpc3
  libu2f-server0 libuchardet0 libudev1 libunistring2 libunwind8 libuuid-perl libuutil3linux libvorbis0a
  libvorbisenc2 libvotequorum8 libwbclient0 libwrap0 libx11-6 libx11-xcb1 libxml-libxml-perl
  libxml-parser-perl libxml2 libxslt1.1 libxtables12 libyaml-libyaml-perl libzfs4linux libzstd1 locales
  login logrotate lsb-base lsof lvm2 lxcfs lynx man-db mawk mount nano ncurses-base ncurses-bin
  ncurses-term netbase nfs-common nmap nmap-common novnc-pve numactl open-iscsi opensc opensc-pkcs11
  openssh-client openssh-server openssh-sftp-server openssl openvpn passwd pciutils pcscd perl perl-base
  perl-openssl-defaults pinentry-curses postfix procmail procps proxmox-archive-keyring
  proxmox-backup-client proxmox-backup-file-restore proxmox-backup-restore-image
  proxmox-mini-journalreader proxmox-widget-toolkit psmisc pve-docs pve-edk2-firmware pve-firmware
  pve-i18n pve-lxc-syscalld pve-xtermjs python3 python3-apt python3-chardet python3-minimal
  python3-prettytable python3-pycurl rpcbind rrdcached rsync rsyslog samba-common samba-libs sed
  smartmontools smbclient socat spiceterm spl sqlite3 ssh strace systemd sysvinit-utils tar tcpdump telnet
  thin-provisioning-tools time traceroute udev uidmap util-linux vim-common vim-tiny vncterm wget whiptail
  xfsprogs xxd xz-utils zfs-initramfs zfs-zed zfsutils-linux zstd
382 upgraded, 128 newly installed, 21 to remove and 1 not upgraded.
Need to get 0 B/388 MB of archives.
After this operation, 340 MB of additional disk space will be used.
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:
PVE 6 = Debian 10/Buster
PVE 7 = Debian 11/Bullseye
PVE 8 = Debian 12/Bookworm

You can not upgrade PVE 6 directly to PVE 8!

In /etc/apt/sources.list:
Change Debian bookworm and bookworm-updates back to: bullseye and: bullseye-updates.
Add: contrib behind: bullseye-security main.

In /etc/apt/sources.list.d/pve-enterprise.list:
Add: # in front of the line, to comment it out.

Run: apt update, followed by: apt full-upgrade (recommended locally or via IPMI; but definitely not via the webUI!)

In general: Read, understand and follow the upgrade guide step-by-step:
https://pve.proxmox.com/wiki/Upgrade_from_6.x_to_7.0
 
  • Like
Reactions: B.Otto

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!