[SOLVED] Unable to update


New Member
Jul 24, 2023

I can't upgrade to v8
Here is the error when apt upgrade -Y

My pveversion -v
proxmox-ve: 7.4-1 (running kernel: 5.15.108-1-pve)
pve-manager: 7.4-16 (running version: 7.4-16/0f39f621)
pve-kernel-5.15: 7.4-4
pve-kernel-5.15.108-1-pve: 5.15.108-1
pve-kernel-5.15.107-2-pve: 5.15.107-2
pve-kernel-5.15.102-1-pve: 5.15.102-1
ceph-fuse: 15.2.17-pve1
corosync: 3.1.7-pve1
criu: 3.15-1+pve-1
glusterfs-client: 9.2-1
ifupdown2: 3.1.0-1+pmx4
ksm-control-daemon: 1.4-1
libjs-extjs: 7.0.0-1
libknet1: 1.24-pve2
libproxmox-acme-perl: 1.4.4
libproxmox-backup-qemu0: 1.3.1-1
libproxmox-rs-perl: 0.2.1
libpve-access-control: 7.4.1
libpve-apiclient-perl: 3.2-1
libpve-common-perl: 7.4-2
libpve-guest-common-perl: 4.2-4
libpve-http-server-perl: 4.2-3
libpve-rs-perl: 0.7.7
libpve-storage-perl: 7.4-3
libspice-server1: 0.14.3-2.1
lvm2: 2.03.11-2.1
lxc-pve: 5.0.2-2
lxcfs: 5.0.3-pve1
novnc-pve: 1.4.0-1
proxmox-backup-client: 2.4.2-1
proxmox-backup-file-restore: 2.4.2-1
proxmox-kernel-helper: 7.4-1
proxmox-mail-forward: 0.1.1-1
proxmox-mini-journalreader: 1.3-1
proxmox-widget-toolkit: 3.7.3
pve-cluster: 7.3-3
pve-container: 4.4-6
pve-docs: 7.4-2
pve-edk2-firmware: 3.20230228-4~bpo11+1
pve-firewall: 4.3-4
pve-firmware: 3.6-5
pve-ha-manager: 3.6.1
pve-i18n: 2.12-1
pve-qemu-kvm: 7.2.0-8
pve-xtermjs: 4.16.0-2
qemu-server: 7.4-4
smartmontools: 7.2-pve3
spiceterm: 3.2-2
swtpm: 0.8.0~bpo11+3
vncterm: 1.7-1
zfsutils-linux: 2.1.11-pve1

My apt update

Hit:1 http://ftp.fr.debian.org/debian bookworm InRelease
Hit:2 http://security.debian.org bookworm-security InRelease
Hit:3 http://ftp.fr.debian.org/debian bookworm-updates InRelease
Hit:4 http://download.proxmox.com/debian/ceph-quincy bookworm InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
359 packages can be upgraded. Run 'apt list --upgradable' to see them.

My apt full-upgrade

Hit:1 http://ftp.fr.debian.org/debian bookworm InRelease
Hit:2 http://security.debian.org bookworm-security InRelease
Hit:3 http://ftp.fr.debian.org/debian bookworm-updates InRelease
Hit:4 http://download.proxmox.com/debian/ceph-quincy bookworm InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
359 packages can be upgraded. Run 'apt list --upgradable' to see them.
root@pxmx:~# apt full-upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following package was automatically installed and is no longer required:
Use 'apt autoremove' to remove it.
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:
cron-daemon-common dbus-bin dbus-daemon dbus-session-bus-common dbus-system-bus-common dbus-user-session
gcc-12-base i965-va-driver intel-media-va-driver libbpf1 libcbor0.8 libdouble-conversion3 libdrm-amdgpu1
libdrm-intel1 libdrm-nouveau2 libdrm-radeon1 libevent-core-2.1-7 libffi8 libfile-find-rule-perl libflac12 libfmt9
libgprofng0 libicu72 libigdgmm12 libjemalloc2 libldap-2.5-0 libllvm15 liblttng-ust-common1 liblttng-ust-ctl5
liblttng-ust1 libmp3lame0 libmpg123-0 libnfsidmap1 libnumber-compare-perl libpciaccess0 libpcre2-16-0 libperl5.36
libproc2-0 libprotobuf32 libpython3.11 libpython3.11-minimal libpython3.11-stdlib libqt5core5a libqt5dbus5
libqt5network5 libsemanage2 libsepol2 libssl3 libsubid4 libsystemd-shared libtext-glob-perl libthrift-0.17.0
liburcu8 libva-drm2 libva2 libvulkan1 libwayland-client0 libx11-xcb1 libxcb-dri2-0 libxcb-dri3-0 libxcb-present0
libxcb-randr0 libxcb-sync1 libxcb-xfixes0 libxshmfence1 libz3-4 mesa-va-drivers mesa-vulkan-drivers
perl-modules-5.36 python3.11 python3.11-minimal qttranslations5-l10n shared-mime-info usrmerge util-linux-extra
Last edited:
Next :

The following packages will be upgraded:
apparmor apt apt-utils attr base-passwd bash bind9-dnsutils bind9-host bind9-libs binutils binutils-common
binutils-x86-64-linux-gnu bridge-utils bsd-mailx bsdextrautils bsdutils btrfs-progs busybox bzip2 ceph-common
ceph-fuse chrony cifs-utils coreutils cpio criu cron cstream curl dash dbus debianutils diffutils dirmngr dmeventd
dmidecode dmsetup 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 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-system-helpers iproute2 ipset iptables iputils-ping
isc-dhcp-client kbd keyutils kmod less libacl1 libanyevent-perl libapparmor1 libapt-pkg-perl libapt-pkg6.0
libarchive13 libargon2-1 libasound2 libasound2-data libassuan0 libasyncns0 libattr1 libaudit1 libauthen-pam-perl
libavahi-client3 libavahi-common-data libavahi-common3 libbabeltrace1 libbinutils libblkid1 libbsd0 libbz2-1.0
libc-bin libc6 libcairo2 libcap-ng0 libcap2 libcap2-bin libcephfs2 libclone-perl libcommon-sense-perl
libcrypt-openssl-bignum-perl libcrypt-openssl-random-perl libcrypt-openssl-rsa-perl libcrypt-ssleay-perl libcrypt1
libcryptsetup12 libctf0 libcups2 libcurl3-gnutls libcurl4 libdb5.3 libdbus-1-3 libdevmapper-event1.02.1
libdevmapper1.02.1 libdrm2 libdw1 libedit2 libelf1 libevent-2.1-7 libext2fs2 libfaketime libfdisk1 libfido2-1
libfilesys-df-perl libfontconfig1 libfreetype6 libfstrm0 libfuse2 libfuse3-3 libgbm1 libgcc-s1 libgcrypt20
libgdbm-compat4 libgdbm6 libgfapi0 libgfchangelog0 libgfrpc0 libglib2.0-0 libglusterfs0 libgnutls-dane0
libgnutls30 libgpg-error0 libgssapi-krb5-2 libgstreamer-plugins-base1.0-0 libgstreamer1.0-0 libharfbuzz0b
libhtml-parser-perl libhttp-message-perl libibverbs1 libip4tc2 libip6tc2 libipset13 libisns0 libjson-c5
libjson-xs-perl libk5crypto3 libkmod2 libknet1 libkrb5-3 libkrb5support0 libksba8 libldb2 libleveldb1d
liblinux-inotify2-perl liblocale-gettext-perl liblua5.3-0 liblvm2cmd2.03 liblzma5 libmagic-mgc libmagic1
libmaxminddb0 libmd0 libmount1 libncurses6 libncursesw6 libnet-dbus-perl libnet-ssleay-perl libnetaddr-ip-perl
libnewt0.52 libnftables1 libnftnl11 libnl-3-200 libnl-route-3-200 libnozzle1 libnspr4 libnss-systemd libnss3
libnuma1 liboath0 libopeniscsiusr libopts25 libp11-kit0 libpam-modules libpam-modules-bin libpam-systemd libpam0g
libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libparted2 libpcap0.8 libpci3 libpcre2-8-0 libpcre3
libpipeline1 libpopt0 libposix-strptime-perl libpsl5 libpulse0 libpython3-stdlib libqb100 librabbitmq4 librados2
libradosstriper1 librbd1 librdkafka1 librdmacm1 libreadline8 librgw2 librrd8 librrds-perl libsasl2-2 libselinux1
libsemanage-common libslang2 libslirp0 libsmartcols1 libsmbclient libsndfile1 libspice-server1 libsqlite3-0 libss2
libssh2-1 libstatgrab10 libstdc++6 libsystemd0 libtalloc2 libtdb1 libtemplate-perl libterm-readline-gnu-perl
libtevent0 libtext-charwidth-perl libtext-iconv-perl libtinfo6 libtirpc3 libu2f-server0 libudev1 libunbound8
libunistring2 libunwind8 libuuid-perl libuv1 libvirglrenderer1 libwayland-server0 libwbclient0 libwrap0 libx11-6
libxml-libxml-perl libxml-parser-perl libxml2 libxslt1.1 libxtables12 libyaml-libyaml-perl libzstd1 locales login
logrotate logsave lsb-base lshw lsof lvm2 man-db mount nano ncurses-base ncurses-bin ncurses-term nfs-common
nftables nmap nmap-common open-iscsi openssh-client openssh-server openssh-sftp-server openssl parted passwd
pciutils perl perl-base perl-openssl-defaults pinentry-curses postfix procmail procps psmisc python3 python3-apt
python3-ceph-argparse python3-ceph-common python3-cephfs python3-ldb python3-minimal python3-protobuf
python3-pycurl python3-rados python3-rbd python3-rgw python3-talloc python3-yaml rpcbind rrdcached rsync rsyslog
samba-common samba-libs sed smartmontools smbclient socat sqlite3 ssh strace systemd sysvinit-utils tar tcpdump
thin-provisioning-tools time traceroute udev uidmap util-linux vim-common vim-tiny wget whiptail xfsprogs xxd
xz-utils zstd
359 upgraded, 76 newly installed, 23 to remove and 0 not upgraded.
Need to get 0 B/280 MB of archives.
After this operation, 407 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

My cat /etc/apt/sources.list /etc/apt/sources.list.d/*

deb http://ftp.fr.debian.org/debian bookworm main contrib

deb http://ftp.fr.debian.org/debian bookworm-updates main contrib

# security updates
deb http://security.debian.org bookworm-security main contrib
deb http://download.proxmox.com/debian/ceph-quincy bookworm no-subscription
# deb https://enterprise.proxmox.com/debian/pve bookworm pve-enterprise
first of all, never run apt upgrade, as this might not correctly handle dependencies during upgrade, always use apt dist-upgrade.

The issue you are facing is caused by the lack of a valid repo config for PVE. You only have the ceph repo, while the pve repo is commented out (also, you will have to adopt it for no-subscription if you have no valid subscription on that host).


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!