[SOLVED] Problems updating from 7.4 to 8.0?

Dwebtron

New Member
Jul 28, 2023
4
1
3
I was following this guide and ran into some trouble: https://pve.proxmox.com/wiki/Upgrade_from_7_to_8

I had set up all my repos to point to the new bookworm repos, and when I run "apt full-upgrade" the results are:

root@home:~# apt full-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:
geoip-database libfmt7 libgeoip1 libnginx-mod-http-geoip libnginx-mod-http-image-filter libnginx-mod-http-xslt-filter libnginx-mod-mail
libnginx-mod-stream libnginx-mod-stream-geoip libthrift-0.13.0 libtiff5 libwebp6 nginx-core python-pastedeploy-tpl telnet
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
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 qemu-server
The following NEW packages will be installed:
build-essential cpp cpp-12 cron-daemon-common dbus-bin dbus-daemon dbus-session-bus-common dbus-system-bus-common dbus-user-session dkms dpkg-dev
fakeroot g++ g++-12 gcc gcc-12 gcc-12-base i965-va-driver inetutils-telnet intel-media-va-driver libabsl20220623 libalgorithm-diff-perl
libalgorithm-diff-xs-perl libalgorithm-merge-perl libaom3 libasan8 libatomic1 libavif15 libbpf1 libc-dev-bin libc-devtools libc6-dev libcbor0.8 libcc1-0
libcrypt-dev libdav1d6 libde265-0 libdpkg-perl libdrm-amdgpu1 libdrm-intel1 libdrm-nouveau2 libdrm-radeon1 libevent-core-2.1-7 libfakeroot libffi8
libfile-fcntllock-perl libfile-find-rule-perl libflac12 libfmt9 libgav1-1 libgcc-12-dev libgomp1 libgprofng0 libheif1 libicu72 libigdgmm12 libisl23
libitm1 libjemalloc2 libldap-2.5-0 libldap-common liblerc4 libllvm15 liblsan0 liblttng-ust-common1 liblttng-ust-ctl5 liblttng-ust1 libmp3lame0 libmpc3
libmpfr6 libmpg123-0 libnet-libidn2-perl libnfsidmap1 libnsl-dev libnumber-compare-perl libnvme1 libpciaccess0 libperl5.36 libproc2-0 libprotobuf32
libpython3.11 libpython3.11-minimal libpython3.11-stdlib libquadmath0 librav1e0 libregexp-ipv6-perl libsemanage2 libsepol2 libsodium23 libssl3
libstdc++-12-dev libsubid4 libsvtav1enc1 libsystemd-shared libtext-glob-perl libthrift-0.17.0 libtiff6 libtirpc-dev libtsan2 libubsan1 liburcu8
libva-drm2 libva2 libvulkan1 libwayland-client0 libwebp7 libx11-xcb1 libx265-199 libxcb-dri2-0 libxcb-dri3-0 libxcb-present0 libxcb-randr0 libxcb-sync1
libxcb-xfixes0 libxshmfence1 libyuv0 libz3-4 linux-compiler-gcc-12-x86 linux-headers-6.1.0-10-amd64 linux-headers-6.1.0-10-common linux-headers-amd64
linux-kbuild-6.1 linux-libc-dev lsb-release make manpages-dev mesa-va-drivers mesa-vulkan-drivers patch 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 rpcsvc-proto sgml-base usrmerge util-linux-extra va-driver-all zfs-dkms
The following packages will be upgraded:
adduser apparmor apt apt-utils attr 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 ceph ceph-base ceph-common ceph-fuse
ceph-mds ceph-mgr ceph-mgr-modules-core ceph-mon ceph-osd ceph-volume chrony cifs-utils console-setup console-setup-linux coreutils cpio criu cron
cryptsetup-bin cstream curl dash dbus 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 fdisk fdutils file findutils fontconfig fontconfig-config
fonts-dejavu-core fonts-glyphicons-halflings fuse gdisk genisoimage geoip-database gettext-base 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 gzip hdparm hostname init init-system-helpers initramfs-tools initramfs-tools-core 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 libcephfs2 libclone-perl
libcom-err2 libcommon-sense-perl libconvert-asn1-perl 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 libdeflate0 libdevel-cycle-perl libdevmapper-event1.02.1 libdevmapper1.02.1 libdigest-hmac-perl libdouble-conversion3
libdrm-common libdrm2 libdw1 libedit2 libelf1 libencode-locale-perl libepoxy0 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 libgcc-s1 libgcrypt20 libgd3 libgdbm-compat4 libgdbm6 libgeoip1 libgfapi0 libgfchangelog0 libgfrpc0 libgfxdr0 libglib2.0-0
libglusterd0 libglusterfs0 libgmp10 libgnutls-dane0 libgnutls30 libgoogle-perftools4 libgpg-error0 libgpm2 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 libipset13 libisns0 libjansson4 libjbig0 libjpeg62-turbo libjs-bootstrap libjs-jquery 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 liblua5.3-0 liblvm2cmd2.03 liblwp-mediatypes-perl liblz4-1 liblzma5 libmagic-mgc
libmagic1 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 libnginx-mod-http-geoip libnginx-mod-http-image-filter libnginx-mod-http-xslt-filter
libnginx-mod-mail libnginx-mod-stream libnginx-mod-stream-geoip libnl-3-200 libnl-route-3-200 libnozzle1 libnspr4 libnss-systemd libnss3 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 libparted2 libpcap0.8 libpci3 libpcre2-16-0 libpcre2-8-0 libpcre3
libpipeline1 libpixman-1-0 libpng16-16 libpopt0 libposix-strptime-perl libprotobuf-c1 libpsl5 libpulse0 libpython3-stdlib libqb100 libqt5core5a
libqt5dbus5 libqt5network5 librabbitmq4 librados2 libradosstriper1 librbd1 librdkafka1 librdmacm1 libreadline8 librgw2 librrd8 librrds-perl libsasl2-2
libsasl2-modules-db libseccomp2 libselinux1 libsemanage-common libslang2 libslirp0 libsmartcols1 libsmbclient libsnappy1v5 libsndfile1 libspice-server1
libsqlite3-0 libsqlite3-mod-ceph 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 libtry-tiny-perl libu2f-server0 libudev1 libunbound8 libunistring2 libunwind8 liburi-perl
libusb-1.0-0 libusbredirparser1 libuuid-perl libuuid1 libuutil3linux libuv1 libvirglrenderer1 libwayland-server0 libwbclient0 libwrap0 libwww-perl
libx11-6 libx11-data libxcb-render0 libxcb-shm0 libxcb1 libxext6 libxml-libxml-perl libxml-namespacesupport-perl libxml-parser-perl libxml-sax-base-perl
libxml-sax-perl libxml-twig-perl libxml2 libxpm4 libxrender1 libxslt1.1 libxtables12 libxxhash0 libyaml-0-2 libyaml-libyaml-perl libzfs4linux
libzpool5linux libzstd1 linux-base locales login logrotate logsave lsb-base lsof lua-lpeg lvm2 mailcap man-db manpages mawk media-types memtest86+ mount
nano ncurses-base ncurses-bin ncurses-term netbase netcat-traditional nfs-common nftables nginx nginx-common nginx-core nmap nmap-common nvme-cli
open-iscsi openssh-client openssh-server openssh-sftp-server openssl parted passwd pci.ids pciutils perl perl-base perl-openssl-defaults pinentry-curses
postfix procmail procps psmisc python-apt-common python-pastedeploy-tpl python3 python3-apt python3-bcrypt python3-bs4 python3-ceph-argparse
python3-ceph-common python3-cephfs python3-certifi python3-cffi-backend python3-chardet python3-cherrypy3 python3-cryptography python3-dateutil
python3-debconf python3-debian python3-debianbts python3-distutils python3-httplib2 python3-idna python3-jwt python3-ldb python3-lib2to3 python3-logutils
python3-mako python3-markupsafe python3-minimal python3-natsort python3-openssl python3-paste python3-pastedeploy python3-pecan python3-pkg-resources
python3-prettytable python3-protobuf python3-pycurl python3-pysimplesoap python3-rados python3-rbd python3-reportbug python3-requests python3-rgw
python3-simplegeneric python3-singledispatch python3-six python3-soupsieve python3-talloc python3-tempita python3-urllib3 python3-waitress python3-webob
python3-webtest python3-werkzeug python3-yaml readline-common reportbug rpcbind rrdcached rsync rsyslog runit-helper samba-common samba-libs sed
sensible-utils shared-mime-info smartmontools smbclient socat sqlite3 ssh ssl-cert strace sudo systemd systemd-sysv sysvinit-utils tar tasksel
tasksel-data tcpdump telnet thin-provisioning-tools time traceroute tzdata ucf udev uidmap usbutils util-linux uuid-runtime vim vim-common vim-runtime
vim-tiny wamerican wget whiptail xfsprogs xkb-data xsltproc xxd xz-utils zfs-initramfs zfs-zed zfsutils-linux zlib1g zstd
591 upgraded, 155 newly installed, 23 to remove and 0 not upgraded.
Need to get 0 B/460 MB of archives.
After this operation, 689 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
 
Hi,

You are trying to upgrade PVE not using ALL right repository.
Have you recently changed your subscription from community to enterprise?

you have to update ALL repository in these file (for ENTERPRISE REPOSITORY)
/etc/apt/sources.list
/etc/apt/sources.list.d/pve-enterprise.list
/etc/apt/sources.list.d/ceph.list

For COMUNITY REPOSITORY you have to change in this way:
/etc/apt/sources.list
Code:
deb http://ftp.debian.org/debian bookworm main contrib
deb http://ftp.debian.org/debian bookworm-updates main contrib

# Proxmox VE pve-no-subscription repository provided by proxmox.com,
# NOT recommended for production use
deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription

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


end for Ceph run this:
echo "deb http://download.proxmox.com/debian/ceph-quincy bookworm no-subscription" > /etc/apt/sources.list.d/ceph.list

MM
 
Last edited:
Hi,

You are trying to upgrade PVE not using ALL right repository.
Have you recently changed your subscription from community to enterprise?

you have to update ALL repository in these file (for ENTERPRISE REPOSITORY)
/etc/apt/sources.list
/etc/apt/sources.list.d/pve-enterprise.list
/etc/apt/sources.list.d/ceph.list

For COMUNITY REPOSITORY you have to change in this way:
/etc/apt/sources.list
Code:
deb http://ftp.debian.org/debian bookworm main contrib
deb http://ftp.debian.org/debian bookworm-updates main contrib

# Proxmox VE pve-no-subscription repository provided by proxmox.com,
# NOT recommended for production use
deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription

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


end for Ceph run this:
echo "deb http://download.proxmox.com/debian/ceph-quincy bookworm no-subscription" > /etc/apt/sources.list.d/ceph.list

MM
that did seem to get me un-stuck, thank you!
 
  • Like
Reactions: supermicro_server

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!