ProxMox 8 to 9 upgrade "You are attempting to remove the meta-package 'proxmox-ve'!"

Alexandros85

Member
Feb 3, 2024
8
0
6
Hello. I am attempting to upgrade our ProxMox cluster to version 9 using this guide: https://pve.proxmox.com/wiki/Upgrade_from_8_to_9#Continuously_use_the_pve8to9_checklist_script

I am encountering the issues with pve repositories.
After adding the new repository to our node using this command:
Code:
cat > /etc/apt/sources.list.d/pve-enterprise.sources << EOF
Types: deb
URIs: https://enterprise.proxmox.com/debian/pve
Suites: trixie
Components: pve-enterprise
Signed-By: /usr/share/keyrings/proxmox-archive-keyring.gpg
EOF
I am getting an error on GUI:
1788306689371.png

And if I am trying to run the upgrade, I am getting the "You are attempting to remove the meta-package 'proxmox-ve'!" error.
We are using community subscription, which gives us access to enterprise repository.
Code:
root@dc1pve1:~# pveversion -v
Target Packages (pve-enterprise/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/pve-enterprise.list:1 and /etc/apt/sources.list.d/pve-enterprise.sources:1
Target Packages (pve-enterprise/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/pve-enterprise.list:1 and /etc/apt/sources.list.d/pve-enterprise.sources:1
Target Translations (pve-enterprise/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/pve-enterprise.list:1 and /etc/apt/sources.list.d/pve-enterprise.sources:1
proxmox-ve: 8.4.0 (running kernel: 6.8.12-22-pve)
pve-manager: 8.4.19 (running version: 8.4.19/a68fb383814bb1e6)
proxmox-kernel-helper: 8.1.4
pve-kernel-6.2: 8.0.5
proxmox-kernel-6.8: 6.8.12-41
proxmox-kernel-6.8.12-41-pve-signed: 6.8.12-41
proxmox-kernel-6.8.12-39-pve-signed: 6.8.12-39
proxmox-kernel-6.8.12-37-pve-signed: 6.8.12-37
proxmox-kernel-6.8.12-22-pve-signed: 6.8.12-22
proxmox-kernel-6.8.12-20-pve-signed: 6.8.12-20
proxmox-kernel-6.8.12-15-pve-signed: 6.8.12-15
proxmox-kernel-6.8.4-2-pve-signed: 6.8.4-2
proxmox-kernel-6.5.13-6-pve-signed: 6.5.13-6
proxmox-kernel-6.5: 6.5.13-6
proxmox-kernel-6.5.13-5-pve-signed: 6.5.13-5
proxmox-kernel-6.5.13-1-pve-signed: 6.5.13-1
proxmox-kernel-6.2.16-20-pve: 6.2.16-20
proxmox-kernel-6.2: 6.2.16-20
pve-kernel-6.2.16-3-pve: 6.2.16-3
ceph: 19.2.5-1~bpo12+2
ceph-fuse: 19.2.5-1~bpo12+2
corosync: 3.1.10-pve2~bpo12+1
criu: 3.17.1-2+deb12u2
glusterfs-client: 10.3-5
ifupdown2: 3.2.0-1+pmx11
ksm-control-daemon: 1.5-1
libjs-extjs: 7.0.0-6
libknet1: 1.30-pve2
libproxmox-acme-perl: 1.6.0
libproxmox-backup-qemu0: 1.5.2
libproxmox-rs-perl: 0.3.5
libpve-access-control: 8.2.3
libpve-apiclient-perl: 3.3.2
libpve-cluster-api-perl: 8.1.3
libpve-cluster-perl: 8.1.3
libpve-common-perl: 8.3.8
libpve-guest-common-perl: 5.2.2
libpve-http-server-perl: 5.2.2
libpve-network-perl: 0.11.3
libpve-rs-perl: 0.9.4
libpve-storage-perl: 8.3.8
libspice-server1: 0.15.1-1
lvm2: 2.03.16-2
lxc-pve: 6.0.0-2
lxcfs: 6.0.0-pve2
novnc-pve: 1.6.0-2.1
proxmox-backup-client: 3.4.7-1
proxmox-backup-file-restore: 3.4.7-1
proxmox-backup-restore-image: 0.7.0
proxmox-firewall: 0.7.1
proxmox-kernel-helper: 8.1.4
proxmox-mail-forward: 0.3.3
proxmox-mini-journalreader: 1.5
proxmox-widget-toolkit: 4.3.17
pve-cluster: 8.1.3
pve-container: 5.3.6
pve-docs: 8.4.2
pve-edk2-firmware: 4.2025.05-1~bpo12+1
pve-esxi-import-tools: 0.7.4
pve-firewall: 5.1.3
pve-firmware: 3.16-3
pve-ha-manager: 4.0.7
pve-i18n: 3.4.5
pve-qemu-kvm: 9.2.0-8
pve-xtermjs: 5.5.0-2
qemu-server: 8.4.9
smartmontools: 7.3-pve1
spiceterm: 3.3.1
swtpm: 0.8.0+pve1
vncterm: 1.8.2
zfsutils-linux: 2.2.10-pve1

dpkg --list | grep linux-image command returns no output.

May it be because of Debian repositories in the source list, and is it safe to remove them?
1788307018521.png
Thank you for your replies!
 
Please provide the full output, each in code-tags, of:
  • grep -r '' /etc/apt/sources.list*
  • apt update
  • apt full-upgrade
 
  • Like
Reactions: cheiss
Please provide the full output, each in code-tags, of:
  • grep -r '' /etc/apt/sources.list*
  • apt update
  • apt full-upgrade
Code:
root@dc1pve1:~# grep -r '' /etc/apt/sources.list*
/etc/apt/sources.list:deb http://ftp.us.debian.org/debian trixie main contrib
/etc/apt/sources.list:
/etc/apt/sources.list:deb http://ftp.us.debian.org/debian trixie-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 trixie pve-no-subscription
/etc/apt/sources.list:
/etc/apt/sources.list:# security updates
/etc/apt/sources.list:deb http://security.debian.org trixie-security main contrib
/etc/apt/sources.list:
/etc/apt/sources.list.d/ceph.sources:Types: deb
/etc/apt/sources.list.d/ceph.sources:URIs: https://enterprise.proxmox.com/debian/ceph-squid
/etc/apt/sources.list.d/ceph.sources:Suites: trixie
/etc/apt/sources.list.d/ceph.sources:Components: enterprise
/etc/apt/sources.list.d/ceph.sources:Signed-By: /usr/share/keyrings/proxmox-archive-keyring.gpg
/etc/apt/sources.list.d/pve-enterprise.sources:Types: deb
/etc/apt/sources.list.d/pve-enterprise.sources:URIs: https://enterprise.proxmox.com/debian/pve
/etc/apt/sources.list.d/pve-enterprise.sources:Suites: trixie
/etc/apt/sources.list.d/pve-enterprise.sources:Components: pve-enterprise
/etc/apt/sources.list.d/pve-enterprise.sources:Signed-By: /usr/share/keyrings/proxmox-archive-keyring.gpg
/etc/apt/sources.list.d/ceph.list:# deb https://enterprise.proxmox.com/debian/ceph-squid bookworm enterprise
/etc/apt/sources.list.d/ceph.list:
/etc/apt/sources.list.d/pve-enterprise.list:deb https://enterprise.proxmox.com/debian/pve trixie pve-enterprise
/etc/apt/sources.list.d/pve-enterprise.list:
/etc/apt/sources.list.d/pve-enterprise.list:deb https://enterprise.proxmox.com/debian/pve bookworm pve-enterprise
/etc/apt/sources.list.d/pve-enterprise.list:
/etc/apt/sources.list.d/pve-enterprise.list:# deb https://enterprise.proxmox.com/debian/pve bookworm pve-enterprise
/etc/apt/sources.list.d/pve-enterprise.list:
/etc/apt/sources.list.d/pve-enterprise.list:# deb https://enterprise.proxmox.com/debian/pve bookworm pve-enterprise
/etc/apt/sources.list.d/pve-enterprise.list:

Code:
root@dc1pve1:~# apt update
Hit:1 http://security.debian.org trixie-security InRelease
Hit:2 http://ftp.us.debian.org/debian trixie InRelease
Get:3 http://ftp.us.debian.org/debian trixie-updates InRelease [47.3 kB]
Hit:4 https://enterprise.proxmox.com/debian/ceph-squid trixie InRelease
Hit:5 https://enterprise.proxmox.com/debian/pve trixie InRelease
Hit:6 https://enterprise.proxmox.com/debian/pve bookworm InRelease
Fetched 47.3 kB in 4s (12.6 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
617 packages can be upgraded. Run 'apt list --upgradable' to see them.
W: Target Packages (pve-enterprise/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/pve-enterprise.list:1 and /etc/apt/sources.list.d/pve-enterprise.sources:1
W: Target Packages (pve-enterprise/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/pve-enterprise.list:1 and /etc/apt/sources.list.d/pve-enterprise.sources:1
W: Target Translations (pve-enterprise/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/pve-enterprise.list:1 and /etc/apt/sources.list.d/pve-enterprise.sources:1
W: Target Translations (pve-enterprise/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/pve-enterprise.list:1 and /etc/apt/sources.list.d/pve-enterprise.sources:1
W: Target Packages (pve-enterprise/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/pve-enterprise.list:1 and /etc/apt/sources.list.d/pve-enterprise.sources:1
W: Target Packages (pve-enterprise/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/pve-enterprise.list:1 and /etc/apt/sources.list.d/pve-enterprise.sources:1
W: Target Translations (pve-enterprise/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/pve-enterprise.list:1 and /etc/apt/sources.list.d/pve-enterprise.sources:1
W: Target Translations (pve-enterprise/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/pve-enterprise.list:1 and /etc/apt/sources.list.d/pve-enterprise.sources:1
 
Please provide the full output, each in code-tags, of:
  • grep -r '' /etc/apt/sources.list*
  • apt update
  • apt full-upgrade
Code:
root@dc1pve1:~# 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:
  ceph-mgr-modules-core fonts-font-logos libdpkg-perl libfile-fcntllock-perl libpmemblk1 libpve-network-api-perl
  libpve-notify-perl libpython3.11 libsqlite3-mod-ceph proxmox-default-kernel proxmox-firewall
  proxmox-kernel-6.5.13-1-pve-signed proxmox-kernel-6.5.13-5-pve-signed proxmox-kernel-6.8.12-15-pve-signed
  proxmox-kernel-6.8.12-20-pve-signed proxmox-kernel-6.8.12-37-pve-signed proxmox-kernel-6.8.4-2-pve-signed
  pve-esxi-import-tools pve-kernel-6.2 pve-nvidia-vgpu-helper python3-bs4 python3-cheroot python3-cherrypy3
  python3-dateutil python3-jaraco.classes python3-jaraco.collections python3-legacy-cgi python3-logutils
  python3-natsort python3-packaging python3-paste python3-pastedeploy python3-pastedeploy-tpl python3-pecan
  python3-pefile python3-portend python3-pytz python3-pyvmomi python3-simplegeneric python3-singledispatch
  python3-soupsieve python3-tempita python3-tempora python3-tz python3-virt-firmware python3-waitress python3-webob
  python3-webtest python3-werkzeug python3-zc.lockfile sudo virtiofsd
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 libarchive13 libasound2 libcurl3-gnutls
  libcurl4 libdb5.3 libdbi1 libdw1 libefiboot1 libefivar1 libelf1 libevent-2.1-7 libevent-core-2.1-7 libext2fs2
  libfuse2 libgdbm-compat4 libgdbm6 libglib2.0-0 libgnutls-dane0 libgnutls30 libgnutlsxx30 libhogweed6 libipset13
  libisns0 libknet1 libmagic1 libmpg123-0 libnettle8 libnozzle1 libnpth0 libnvme1 liborc-0.4-0 libparted2 libpcap0.8
  libpng16-16 libprotobuf32 libpsl5 libpve-guest-common-perl libpve-storage-perl librdmacm1 libreadline8 librrd8
  libsmbclient libssh2-1 libssl3 libstatgrab10 libtevent0 libtirpc3 liburcu8 libusbredirparser1 libuv1 libzfs4linux
  proxmox-ve pve-container pve-ha-manager pve-manager pve-qemu-kvm python3-cephfs python3-distutils python3-future
  python3-lib2to3 python3-rados python3-rbd python3-rgw qemu-server spiceterm
The following NEW packages will be installed:
  conntrack dracut-install fonts-dejavu-mono frr frr-pythontools fuse3 gcc-14-base gir1.2-girepository-2.0
  gir1.2-glib-2.0 grub-efi-amd64-unsigned initramfs-tools-bin libaio1t64 libapt-pkg7.0 libarchive13t64 libassuan9
  libatomic1 libcares2 libcbor0.10 libcompel1 libcurl3t64-gnutls libcurl4t64 libdb5.3t64 libdbi1t64 libdrm-amdgpu1
  libdrm-intel1 libdw1t64 libefiboot1t64 libefivar1t64 libelf1t64 libevent-2.1-7t64 libevent-core-2.1-7t64
  libext2fs2t64 libflac14 libfuse2t64 libfuse3-4 libgdbm-compat4t64 libgdbm6t64 libgirepository-1.0-1
  libglib2.0-0t64 libglib2.0-data libgnutls-dane0t64 libgnutls30t64 libhogweed6t64 libicu76
  libio-compress-brotli-perl libipset13t64 libisns0t64 libjs-bootstrap5 libknet1t64 liblastlog2-2 libldap-common
  libldap2 libllvm19 liblsof0 liblua5.4-0 libmagic1t64 libmpg123-0t64 libnettle8t64 libnfs14 libnghttp3-9
  libngtcp2-16 libngtcp2-crypto-gnutls8 libnozzle1t64 libnpth0t64 libnvme1t64 liborc-0.4-0t64 libparted2t64
  libpcap0.8t64 libpciaccess0 libpcre2-posix3 libperl5.40 libpng16-16t64 libprotobuf32t64 libpsl5t64
  libpython3.13-minimal libpython3.13-stdlib librdmacm1t64 libreadline8t64 libreiserfscore0t64 librrd8t64
  libsensors-config libsensors5 libsframe1 libsmbclient0 libssh2-1t64 libssl3t64 libstatgrab10t64 libsubid5
  libtevent0t64 libtirpc3t64 libtlsrpt0 libunistring5 liburcu8t64 libuv1t64 libwtmpdb0 libxcb-dri3-0 libxcb-present0
  libxcb-randr0 libxcb-sync1 libxcb-xfixes0 libxshmfence1 libyang3 libz3-4 libzfs7linux libzpool7linux
  linux-sysctl-defaults login.defs mesa-libgallium mokutil node-popper2 openssl-provider-legacy perl-modules-5.40
  proxmox-kernel-6.8.12-42-pve-signed proxmox-kernel-7.0 proxmox-kernel-7.0.14-12-pve-signed publicsuffix
  python3-dbus python3-gi python3-importlib-resources python3-legacy-cgi python3-pycriu python3-pytz
  python3-typeguard python3-typing-extensions python3-zipp python3.13 python3.13-minimal shim-helpers-amd64-signed
  shim-signed shim-signed-common shim-unsigned sqv systemd-boot-tools systemd-cryptsetup wireguard-tools
  xdg-user-dirs
The following packages will be upgraded:
  adduser apparmor apt apt-listchanges 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 cron-daemon-common cryptsetup-bin curl dash dbus dbus-bin dbus-daemon
  dbus-session-bus-common dbus-system-bus-common debconf debconf-i18n debian-archive-keyring debian-faq debianutils
  diffutils dirmngr distro-info-data dmeventd dmidecode dmsetup dosfstools dpkg dtach e2fsprogs ebtables efibootmgr
  eject ethtool faketime fdisk fdutils file findutils fio fontconfig fontconfig-config fonts-dejavu-core
  fonts-glyphicons-halflings fuse gcc-12-base 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 ifupdown2 inetutils-telnet
  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 libanyevent-perl libapparmor1 libappconfig-perl libapt-pkg-perl libargon2-1 libasound2-data libasyncns0
  libattr1 libaudit-common libaudit1 libauthen-pam-perl libavahi-client3 libavahi-common-data libavahi-common3
  libbabeltrace1 libbinutils libblas3 libblkid1 libbpf1 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-ssleay-perl libcrypt1 libcryptsetup12
  libctf-nobfd0 libctf0 libdatrie1 libdaxctl1 libdbus-1-3 libdebconfclient0 libdevmapper-event1.02.1
  libdevmapper1.02.1 libdigest-hmac-perl libdouble-conversion3 libdpkg-perl libdrm-common libdrm2 libedit2 libepoxy0
  libexpat1 libfaketime libfdisk1 libfdt1 libffi8 libfido2-1 libfile-chdir-perl libfile-fcntllock-perl
  libfile-find-rule-perl libfile-listing-perl libfilesys-df-perl libfontconfig1 libfreetype6 libfribidi0 libfstrm0
  libgbm1 libgcc-s1 libgcrypt20 libgfapi0 libgfchangelog0 libgfrpc0 libgfxdr0 libglusterfs0 libgmp10 libgpg-error0
  libgprofng0 libgraphite2-3 libgssapi-krb5-2 libgstreamer-plugins-base1.0-0 libgstreamer1.0-0 libharfbuzz0b
  libhtml-parser-perl libhtml-tagset-perl libhttp-cookies-perl libhttp-daemon-perl libhttp-date-perl
  libhttp-message-perl libibverbs1 libidn2-0 libinih1 libio-socket-ssl-perl libio-stringy-perl libip4tc2 libip6tc2
  libiperf0 libiscsi7 libjansson4 libjemalloc2 libjpeg62-turbo libjs-bootstrap libjs-extjs libjson-c5
  libjson-glib-1.0-0 libjson-glib-1.0-common libjson-xs-perl libk5crypto3 libkeyutils1 libklibc libkmod2 libkrb5-3
  libkrb5support0 libksba8 libldb2 liblinear4 liblinux-inotify2-perl liblmdb0 liblocale-gettext-perl liblockfile-bin
  liblockfile1 liblua5.3-0 liblvm2cmd2.03 liblwp-protocol-https-perl liblz4-1 liblzma5 liblzo2-2 libmagic-mgc
  libmaxminddb0 libmd0 libmnl0 libmount1 libmp3lame0 libnbd0 libncurses6 libncursesw6 libndctl6 libnet-dbus-perl
  libnet-dns-perl libnet-http-perl libnet-ip-perl libnet-ssleay-perl libnet1 libnetaddr-ip-perl
  libnetfilter-conntrack3 libnetfilter-log1 libnewt0.52 libnfnetlink0 libnfsidmap1 libnftables1 libnftnl11
  libnghttp2-14 libnl-3-200 libnl-route-3-200 libnsl2 libnspr4 libnss-systemd libnss3 libnuma1 libnvpair3linux
  libogg0 libopeniscsiusr libopus0 libp11-kit0 libpam-modules libpam-modules-bin libpam-runtime libpam-systemd
  libpam0g libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libpci3 libpcre2-16-0 libpcre2-8-0 libpipeline1
  libpixman-1-0 libpmem1 libpmemblk1 libpopt0 libposix-strptime-perl libproc2-0 libprotobuf-c1 libproxmox-acme-perl
  libproxmox-acme-plugins libproxmox-backup-qemu0 libproxmox-rs-perl libpulse0 libpve-access-control
  libpve-apiclient-perl libpve-cluster-api-perl libpve-cluster-perl libpve-common-perl libpve-http-server-perl
  libpve-network-api-perl libpve-network-perl libpve-notify-perl libpve-rs-perl libpve-u2f-server-perl
  libpython3-stdlib libqb-tools libqb100 libqrencode4 libquorum5 librabbitmq4 librados2-perl librdkafka1
  librrds-perl librtmp1 libsasl2-2 libsasl2-modules-db libsctp1 libseccomp2 libselinux1 libsemanage-common
  libsemanage2 libsepol2 libslang2 libslirp0 libsmartcols1 libsnappy1v5 libsndfile1 libsocket6-perl libspice-server1
  libsqlite3-0 libss2 libstdc++6 libsystemd-shared libsystemd0 libtalloc2 libtasn1-6 libtdb1 libtemplate-perl
  libterm-readline-gnu-perl libtext-charwidth-perl libtext-iconv-perl libthai-data libthai0 libtinfo6
  libtirpc-common libtpms0 libtry-tiny-perl libu2f-server0 libuchardet0 libudev1 libunbound8 libunwind8 liburi-perl
  liburing2 libusb-1.0-0 libuuid-perl libuuid1 libuutil3linux libva-drm2 libva2 libvirglrenderer1 libvorbis0a
  libvorbisenc2 libvotequorum8 libvulkan1 libwayland-server0 libwbclient0 libwrap0 libwww-perl libx11-6 libx11-data
  libx11-xcb1 libxau6 libxcb-render0 libxcb-shm0 libxcb1 libxdmcp6 libxext6 libxml-libxml-perl libxml-parser-perl
  libxml-sax-perl libxml-twig-perl libxml2 libxrender1 libxslt1.1 libxtables12 libxxhash0 libyaml-0-2
  libyaml-libyaml-perl libzstd1 linux-base locales login logrotate logsave lsof lua-lpeg lvm2 lxc-pve lxcfs mailcap
  man-db manpages mawk media-types memtest86+ mount nano ncurses-base ncurses-bin ncurses-term netbase
  netcat-traditional nfs-common nftables nmap nmap-common novnc-pve 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 proxmox-archive-keyring proxmox-backup-client proxmox-backup-file-restore
  proxmox-backup-restore-image proxmox-default-kernel proxmox-firewall proxmox-kernel-6.8 proxmox-kernel-helper
  proxmox-mail-forward proxmox-mini-journalreader proxmox-termproxy proxmox-websocket-tunnel proxmox-widget-toolkit
  psmisc pve-cluster pve-docs pve-edk2-firmware pve-edk2-firmware-legacy pve-edk2-firmware-ovmf
  pve-esxi-import-tools pve-firewall pve-firmware pve-i18n pve-lxc-syscalld pve-nvidia-vgpu-helper pve-xtermjs
  python-apt-common python3 python3-apt python3-autocommand python3-bcrypt python3-bs4 python3-certifi
  python3-cffi-backend python3-chardet python3-charset-normalizer python3-cheroot python3-cherrypy3
  python3-cryptography python3-dateutil python3-debconf python3-debian python3-debianbts python3-httplib2
  python3-idna python3-inflect python3-jaraco.classes python3-jaraco.collections python3-jaraco.context
  python3-jaraco.functools python3-jaraco.text python3-jwt python3-logutils python3-mako python3-markupsafe
  python3-minimal python3-more-itertools python3-openssl python3-packaging python3-paste python3-pastedeploy
  python3-pastedeploy-tpl python3-pecan python3-pefile python3-pkg-resources python3-portend python3-prettytable
  python3-protobuf python3-pycurl python3-pyparsing python3-pyvmomi python3-reportbug python3-requests
  python3-setuptools python3-six python3-soupsieve python3-systemd python3-tempita python3-tempora python3-tz
  python3-urllib3 python3-virt-firmware python3-waitress python3-wcwidth python3-webob python3-webtest
  python3-werkzeug python3-yaml python3-zc.lockfile qrencode readline-common reportbug rpcbind rrdcached rsync
  runit-helper samba-common samba-libs sed sensible-utils sgml-base shared-mime-info smartmontools smbclient socat
  sqlite3 ssh ssl-cert strace sudo swtpm swtpm-libs swtpm-tools systemd systemd-boot systemd-boot-efi systemd-sysv
  sysvinit-utils tar tasksel tasksel-data tcpdump thin-provisioning-tools traceroute tzdata ucf udev uidmap usbutils
  usrmerge util-linux util-linux-extra uuid-runtime vim-common vim-tiny virtiofsd vncterm wamerican wget whiptail
  xfsprogs xkb-data xsltproc xz-utils zfs-initramfs zfs-zed zfsutils-linux zlib1g zstd
608 upgraded, 136 newly installed, 73 to remove and 0 not upgraded.
Need to get 285 MB/835 MB of archives.
After this operation, 1,499 MB of additional disk space will be used.
 
Well, it is incorrect to have both regardless of why you did it and now you have a different set of errors. Fix that and post the results of what @Neobin asked for.

The most common reason for the error you are getting is incorrect repositories. There are other reasons though, such trying to install something from Debian that is also in PVE.
 
Well, it is incorrect to have both regardless of why you did it and now you have a different set of errors. Fix that and post the results of what @Neobin asked for.

The most common reason for the error you are getting is incorrect repositories. There are other reasons though, such trying to install something from Debian that is also in PVE.
After disabling the bookworm:

Code:
dc1pve1:~# grep -r '' /etc/apt/sources.list*
/etc/apt/sources.list:deb http://ftp.us.debian.org/debian trixie main contrib
/etc/apt/sources.list:
/etc/apt/sources.list:deb http://ftp.us.debian.org/debian trixie-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 trixie pve-no-subscription
/etc/apt/sources.list:
/etc/apt/sources.list:# security updates
/etc/apt/sources.list:deb http://security.debian.org trixie-security main contrib
/etc/apt/sources.list:
/etc/apt/sources.list.d/ceph.sources:Types: deb
/etc/apt/sources.list.d/ceph.sources:URIs: https://enterprise.proxmox.com/debian/ceph-squid
/etc/apt/sources.list.d/ceph.sources:Suites: trixie
/etc/apt/sources.list.d/ceph.sources:Components: enterprise
/etc/apt/sources.list.d/ceph.sources:Signed-By: /usr/share/keyrings/proxmox-archive-keyring.gpg
/etc/apt/sources.list.d/pve-enterprise.sources:Types: deb
/etc/apt/sources.list.d/pve-enterprise.sources:URIs: https://enterprise.proxmox.com/debian/pve
/etc/apt/sources.list.d/pve-enterprise.sources:Suites: trixie
/etc/apt/sources.list.d/pve-enterprise.sources:Components: pve-enterprise
/etc/apt/sources.list.d/pve-enterprise.sources:Signed-By: /usr/share/keyrings/proxmox-archive-keyring.gpg
/etc/apt/sources.list.d/ceph.list:# deb https://enterprise.proxmox.com/debian/ceph-squid bookworm enterprise
/etc/apt/sources.list.d/ceph.list:
/etc/apt/sources.list.d/pve-enterprise.list:deb https://enterprise.proxmox.com/debian/pve trixie pve-enterprise
/etc/apt/sources.list.d/pve-enterprise.list:
/etc/apt/sources.list.d/pve-enterprise.list:# deb https://enterprise.proxmox.com/debian/pve bookworm pve-enterprise
/etc/apt/sources.list.d/pve-enterprise.list:
/etc/apt/sources.list.d/pve-enterprise.list:# deb https://enterprise.proxmox.com/debian/pve bookworm pve-enterprise
/etc/apt/sources.list.d/pve-enterprise.list:
/etc/apt/sources.list.d/pve-enterprise.list:# deb https://enterprise.proxmox.com/debian/pve bookworm pve-enterprise
/etc/apt/sources.list.d/pve-enterprise.list:
root@dc1pve1:~#

Code:
dc1pve1:~# apt update
Hit:1 http://security.debian.org trixie-security InRelease
Hit:2 http://ftp.us.debian.org/debian trixie InRelease                                     
Hit:3 http://ftp.us.debian.org/debian trixie-updates InRelease                             
Hit:4 https://enterprise.proxmox.com/debian/ceph-squid trixie InRelease
Hit:5 https://enterprise.proxmox.com/debian/pve trixie InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
616 packages can be upgraded. Run 'apt list --upgradable' to see them.
W: Target Packages (pve-enterprise/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/pve-enterprise.list:1 and /etc/apt/sources.list.d/pve-enterprise.sources:1
W: Target Packages (pve-enterprise/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/pve-enterprise.list:1 and /etc/apt/sources.list.d/pve-enterprise.sources:1
W: Target Translations (pve-enterprise/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/pve-enterprise.list:1 and /etc/apt/sources.list.d/pve-enterprise.sources:1
W: Target Translations (pve-enterprise/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/pve-enterprise.list:1 and /etc/apt/sources.list.d/pve-enterprise.sources:1
W: Target Packages (pve-enterprise/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/pve-enterprise.list:1 and /etc/apt/sources.list.d/pve-enterprise.sources:1
W: Target Packages (pve-enterprise/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/pve-enterprise.list:1 and /etc/apt/sources.list.d/pve-enterprise.sources:1
W: Target Translations (pve-enterprise/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/pve-enterprise.list:1 and /etc/apt/sources.list.d/pve-enterprise.sources:1
W: Target Translations (pve-enterprise/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/pve-enterprise.list:1 and /etc/apt/sources.list.d/pve-enterprise.sources:1
 
Well, it is incorrect to have both regardless of why you did it and now you have a different set of errors. Fix that and post the results of what @Neobin asked for.

The most common reason for the error you are getting is incorrect repositories. There are other reasons though, such trying to install something from Debian that is also in PVE.
Code:
dc1pve1:~# 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:
  ceph-mgr-modules-core fonts-font-logos libdpkg-perl libfile-fcntllock-perl libpmemblk1 libpve-network-api-perl
  libpve-notify-perl libpython3.11 libsqlite3-mod-ceph proxmox-default-kernel proxmox-firewall
  proxmox-kernel-6.5.13-1-pve-signed proxmox-kernel-6.5.13-5-pve-signed proxmox-kernel-6.8.12-15-pve-signed
  proxmox-kernel-6.8.12-20-pve-signed proxmox-kernel-6.8.12-37-pve-signed proxmox-kernel-6.8.4-2-pve-signed
  pve-esxi-import-tools pve-kernel-6.2 pve-nvidia-vgpu-helper python3-bs4 python3-cheroot python3-cherrypy3
  python3-dateutil python3-jaraco.classes python3-jaraco.collections python3-legacy-cgi python3-logutils
  python3-natsort python3-packaging python3-paste python3-pastedeploy python3-pastedeploy-tpl python3-pecan
  python3-pefile python3-portend python3-pytz python3-pyvmomi python3-simplegeneric python3-singledispatch
  python3-soupsieve python3-tempita python3-tempora python3-tz python3-virt-firmware python3-waitress python3-webob
  python3-webtest python3-werkzeug python3-zc.lockfile sudo virtiofsd
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 libarchive13 libasound2 libcurl3-gnutls
  libcurl4 libdb5.3 libdbi1 libdw1 libefiboot1 libefivar1 libelf1 libevent-2.1-7 libevent-core-2.1-7 libext2fs2
  libfuse2 libgdbm-compat4 libgdbm6 libglib2.0-0 libgnutls-dane0 libgnutls30 libgnutlsxx30 libhogweed6 libipset13
  libisns0 libknet1 libmagic1 libmpg123-0 libnettle8 libnozzle1 libnpth0 libnvme1 liborc-0.4-0 libparted2 libpcap0.8
  libpng16-16 libprotobuf32 libpsl5 libpve-guest-common-perl libpve-storage-perl librdmacm1 libreadline8 librrd8
  libsmbclient libssh2-1 libssl3 libstatgrab10 libtevent0 libtirpc3 liburcu8 libusbredirparser1 libuv1 libzfs4linux
  proxmox-ve pve-container pve-ha-manager pve-manager pve-qemu-kvm python3-cephfs python3-distutils python3-future
  python3-lib2to3 python3-rados python3-rbd python3-rgw qemu-server spiceterm
The following NEW packages will be installed:
  conntrack dracut-install fonts-dejavu-mono frr frr-pythontools fuse3 gcc-14-base gir1.2-girepository-2.0
  gir1.2-glib-2.0 grub-efi-amd64-unsigned initramfs-tools-bin libaio1t64 libapt-pkg7.0 libarchive13t64 libassuan9
  libatomic1 libcares2 libcbor0.10 libcompel1 libcurl3t64-gnutls libcurl4t64 libdb5.3t64 libdbi1t64 libdrm-amdgpu1
  libdrm-intel1 libdw1t64 libefiboot1t64 libefivar1t64 libelf1t64 libevent-2.1-7t64 libevent-core-2.1-7t64
  libext2fs2t64 libflac14 libfuse2t64 libfuse3-4 libgdbm-compat4t64 libgdbm6t64 libgirepository-1.0-1
  libglib2.0-0t64 libglib2.0-data libgnutls-dane0t64 libgnutls30t64 libhogweed6t64 libicu76
  libio-compress-brotli-perl libipset13t64 libisns0t64 libjs-bootstrap5 libknet1t64 liblastlog2-2 libldap-common
  libldap2 libllvm19 liblsof0 liblua5.4-0 libmagic1t64 libmpg123-0t64 libnettle8t64 libnfs14 libnghttp3-9
  libngtcp2-16 libngtcp2-crypto-gnutls8 libnozzle1t64 libnpth0t64 libnvme1t64 liborc-0.4-0t64 libparted2t64
  libpcap0.8t64 libpciaccess0 libpcre2-posix3 libperl5.40 libpng16-16t64 libprotobuf32t64 libpsl5t64
  libpython3.13-minimal libpython3.13-stdlib librdmacm1t64 libreadline8t64 libreiserfscore0t64 librrd8t64
  libsensors-config libsensors5 libsframe1 libsmbclient0 libssh2-1t64 libssl3t64 libstatgrab10t64 libsubid5
  libtevent0t64 libtirpc3t64 libtlsrpt0 libunistring5 liburcu8t64 libuv1t64 libwtmpdb0 libxcb-dri3-0 libxcb-present0
  libxcb-randr0 libxcb-sync1 libxcb-xfixes0 libxshmfence1 libyang3 libz3-4 libzfs7linux libzpool7linux
  linux-sysctl-defaults login.defs mesa-libgallium mokutil node-popper2 openssl-provider-legacy perl-modules-5.40
  proxmox-kernel-7.0 proxmox-kernel-7.0.14-12-pve-signed publicsuffix python3-dbus python3-gi
  python3-importlib-resources python3-legacy-cgi python3-pycriu python3-pytz python3-typeguard
  python3-typing-extensions python3-zipp python3.13 python3.13-minimal shim-helpers-amd64-signed shim-signed
  shim-signed-common shim-unsigned sqv systemd-boot-tools systemd-cryptsetup wireguard-tools xdg-user-dirs
The following packages will be upgraded:
  adduser apparmor apt apt-listchanges 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 cron-daemon-common cryptsetup-bin curl dash dbus dbus-bin dbus-daemon
  dbus-session-bus-common dbus-system-bus-common debconf debconf-i18n debian-archive-keyring debian-faq debianutils
  diffutils dirmngr distro-info-data dmeventd dmidecode dmsetup dosfstools dpkg dtach e2fsprogs ebtables efibootmgr
  eject ethtool faketime fdisk fdutils file findutils fio fontconfig fontconfig-config fonts-dejavu-core
  fonts-glyphicons-halflings fuse gcc-12-base 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 ifupdown2 inetutils-telnet
  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 libanyevent-perl libapparmor1 libappconfig-perl libapt-pkg-perl libargon2-1 libasound2-data libasyncns0
  libattr1 libaudit-common libaudit1 libauthen-pam-perl libavahi-client3 libavahi-common-data libavahi-common3
  libbabeltrace1 libbinutils libblas3 libblkid1 libbpf1 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-ssleay-perl libcrypt1 libcryptsetup12
  libctf-nobfd0 libctf0 libdatrie1 libdaxctl1 libdbus-1-3 libdebconfclient0 libdevmapper-event1.02.1
  libdevmapper1.02.1 libdigest-hmac-perl libdouble-conversion3 libdpkg-perl libdrm-common libdrm2 libedit2 libepoxy0
  libexpat1 libfaketime libfdisk1 libfdt1 libffi8 libfido2-1 libfile-chdir-perl libfile-fcntllock-perl
  libfile-find-rule-perl libfile-listing-perl libfilesys-df-perl libfontconfig1 libfreetype6 libfribidi0 libfstrm0
  libgbm1 libgcc-s1 libgcrypt20 libgfapi0 libgfchangelog0 libgfrpc0 libgfxdr0 libglusterfs0 libgmp10 libgpg-error0
  libgprofng0 libgraphite2-3 libgssapi-krb5-2 libgstreamer-plugins-base1.0-0 libgstreamer1.0-0 libharfbuzz0b
  libhtml-parser-perl libhtml-tagset-perl libhttp-cookies-perl libhttp-daemon-perl libhttp-date-perl
  libhttp-message-perl libibverbs1 libidn2-0 libinih1 libio-socket-ssl-perl libio-stringy-perl libip4tc2 libip6tc2
  libiperf0 libiscsi7 libjansson4 libjemalloc2 libjpeg62-turbo libjs-bootstrap libjs-extjs libjson-c5
  libjson-glib-1.0-0 libjson-glib-1.0-common libjson-xs-perl libk5crypto3 libkeyutils1 libklibc libkmod2 libkrb5-3
  libkrb5support0 libksba8 libldb2 liblinear4 liblinux-inotify2-perl liblmdb0 liblocale-gettext-perl liblockfile-bin
  liblockfile1 liblua5.3-0 liblvm2cmd2.03 liblwp-protocol-https-perl liblz4-1 liblzma5 liblzo2-2 libmagic-mgc
  libmaxminddb0 libmd0 libmnl0 libmount1 libmp3lame0 libnbd0 libncurses6 libncursesw6 libndctl6 libnet-dbus-perl
  libnet-dns-perl libnet-http-perl libnet-ip-perl libnet-ssleay-perl libnet1 libnetaddr-ip-perl
  libnetfilter-conntrack3 libnetfilter-log1 libnewt0.52 libnfnetlink0 libnfsidmap1 libnftables1 libnftnl11
  libnghttp2-14 libnl-3-200 libnl-route-3-200 libnsl2 libnspr4 libnss-systemd libnss3 libnuma1 libnvpair3linux
  libogg0 libopeniscsiusr libopus0 libp11-kit0 libpam-modules libpam-modules-bin libpam-runtime libpam-systemd
  libpam0g libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libpci3 libpcre2-16-0 libpcre2-8-0 libpipeline1
  libpixman-1-0 libpmem1 libpmemblk1 libpopt0 libposix-strptime-perl libproc2-0 libprotobuf-c1 libproxmox-acme-perl
  libproxmox-acme-plugins libproxmox-backup-qemu0 libproxmox-rs-perl libpulse0 libpve-access-control
  libpve-apiclient-perl libpve-cluster-api-perl libpve-cluster-perl libpve-common-perl libpve-http-server-perl
  libpve-network-api-perl libpve-network-perl libpve-notify-perl libpve-rs-perl libpve-u2f-server-perl
  libpython3-stdlib libqb-tools libqb100 libqrencode4 libquorum5 librabbitmq4 librados2-perl librdkafka1
  librrds-perl librtmp1 libsasl2-2 libsasl2-modules-db libsctp1 libseccomp2 libselinux1 libsemanage-common
  libsemanage2 libsepol2 libslang2 libslirp0 libsmartcols1 libsnappy1v5 libsndfile1 libsocket6-perl libspice-server1
  libsqlite3-0 libss2 libstdc++6 libsystemd-shared libsystemd0 libtalloc2 libtasn1-6 libtdb1 libtemplate-perl
  libterm-readline-gnu-perl libtext-charwidth-perl libtext-iconv-perl libthai-data libthai0 libtinfo6
  libtirpc-common libtpms0 libtry-tiny-perl libu2f-server0 libuchardet0 libudev1 libunbound8 libunwind8 liburi-perl
  liburing2 libusb-1.0-0 libuuid-perl libuuid1 libuutil3linux libva-drm2 libva2 libvirglrenderer1 libvorbis0a
  libvorbisenc2 libvotequorum8 libvulkan1 libwayland-server0 libwbclient0 libwrap0 libwww-perl libx11-6 libx11-data
  libx11-xcb1 libxau6 libxcb-render0 libxcb-shm0 libxcb1 libxdmcp6 libxext6 libxml-libxml-perl libxml-parser-perl
  libxml-sax-perl libxml-twig-perl libxml2 libxrender1 libxslt1.1 libxtables12 libxxhash0 libyaml-0-2
  libyaml-libyaml-perl libzstd1 linux-base locales login logrotate logsave lsof lua-lpeg lvm2 lxc-pve lxcfs mailcap
  man-db manpages mawk media-types memtest86+ mount nano ncurses-base ncurses-bin ncurses-term netbase
  netcat-traditional nfs-common nftables nmap nmap-common novnc-pve 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 proxmox-archive-keyring proxmox-backup-client proxmox-backup-file-restore
  proxmox-backup-restore-image proxmox-default-kernel proxmox-firewall proxmox-kernel-helper proxmox-mail-forward
  proxmox-mini-journalreader proxmox-termproxy proxmox-websocket-tunnel proxmox-widget-toolkit psmisc pve-cluster
  pve-docs pve-edk2-firmware pve-edk2-firmware-legacy pve-edk2-firmware-ovmf pve-esxi-import-tools pve-firewall
  pve-firmware pve-i18n pve-lxc-syscalld pve-nvidia-vgpu-helper pve-xtermjs python-apt-common python3 python3-apt
  python3-autocommand python3-bcrypt python3-bs4 python3-certifi python3-cffi-backend python3-chardet
  python3-charset-normalizer python3-cheroot python3-cherrypy3 python3-cryptography python3-dateutil python3-debconf
  python3-debian python3-debianbts python3-httplib2 python3-idna python3-inflect python3-jaraco.classes
  python3-jaraco.collections python3-jaraco.context python3-jaraco.functools python3-jaraco.text python3-jwt
  python3-logutils python3-mako python3-markupsafe python3-minimal python3-more-itertools python3-openssl
  python3-packaging python3-paste python3-pastedeploy python3-pastedeploy-tpl python3-pecan python3-pefile
  python3-pkg-resources python3-portend python3-prettytable python3-protobuf python3-pycurl python3-pyparsing
  python3-pyvmomi python3-reportbug python3-requests python3-setuptools python3-six python3-soupsieve
  python3-systemd python3-tempita python3-tempora python3-tz python3-urllib3 python3-virt-firmware python3-waitress
  python3-wcwidth python3-webob python3-webtest python3-werkzeug python3-yaml python3-zc.lockfile qrencode
  readline-common reportbug rpcbind rrdcached rsync runit-helper samba-common samba-libs sed sensible-utils
  sgml-base shared-mime-info smartmontools smbclient socat sqlite3 ssh ssl-cert strace sudo swtpm swtpm-libs
  swtpm-tools systemd systemd-boot systemd-boot-efi systemd-sysv sysvinit-utils tar tasksel tasksel-data tcpdump
  thin-provisioning-tools traceroute tzdata ucf udev uidmap usbutils usrmerge util-linux util-linux-extra
  uuid-runtime vim-common vim-tiny virtiofsd vncterm wamerican wget whiptail xfsprogs xkb-data xsltproc xz-utils
  zfs-initramfs zfs-zed zfsutils-linux zlib1g zstd
607 upgraded, 135 newly installed, 73 to remove and 0 not upgraded.
Need to get 181 MB/731 MB of archives.
After this operation, 921 MB of additional disk space will be used.
Do you want to continue? [Y/n] n
Abort.
 
It looks like you have repositories configured in both /etc/apt/sources.list and /etc/apt/sources.list.d. Having everything in the sources.list file is the "old way" while files in /etc/apt/sources.list.d is the "new way".

I suggest to temporarily rename /etc/apt/sources.list (the file) to something else like sources.list.bak and try again.
 
It might make sense to convert the .list files to .sources for uniformity with
Bash:
apt modernize-sources
and once apt update has no errors/warnings you can delete the temp/backup files if you like
Bash:
find /etc/apt/ -name "*.bak" -delete
By the way, there's no good reason to full quote a whole post that's directly above yours.
 
Last edited: