Problem after upgrade

AttempGame

New Member
Jul 30, 2021
13
0
1
22
After update from 6.4 to 7.2
Nothing working

apt-get update (not help)
apt-get dist-upgrade (not help)


root@uatel:~# pveversion -v
proxmox-ve: 7.0-2 (running kernel: 5.11.22-3-pve) pve-manager: 6.2-4 (running version: 6.2-4/9824574a) pve-kernel-5.11: 7.0-6 pve-kernel-helper: 7.0-6 pve-kernel-5.4: 6.4-5 pve-kernel-5.11.22-3-pve: 5.11.22-6 pve-kernel-5.4.128-1-pve: 5.4.128-1 pve-kernel-5.4.124-1-pve: 5.4.124-2 pve-kernel-5.4.34-1-pve: 5.4.34-2 ceph-fuse: 12.2.11+dfsg1-2.1+b1 corosync: 3.1.2-pve1 criu: 3.11-3 glusterfs-client: 5.5-3 ifupdown: 0.8.36 ksm-control-daemon: 1.4-1 libjs-extjs: 7.0.0-1 libknet1: 1.20-pve1 libproxmox-acme-perl: 1.2.0 libpve-access-control: 6.4-3 libpve-apiclient-perl: 3.2-1 libpve-common-perl: 6.1-2 libpve-guest-common-perl: 4.0-2 libpve-http-server-perl: 4.0-2 libpve-storage-perl: 6.1-7 libqb0: 1.0.5-1 libspice-server1: 0.14.3-2.1 lvm2: 2.03.11-2.1 lxc-pve: 4.0.6-2 lxcfs: 4.0.6-pve1 novnc-pve: 1.2.0-3 proxmox-mini-journalreader: 1.2-1 proxmox-widget-toolkit: 3.3-6 pve-cluster: 6.4-1 pve-container: 3.1-5 pve-docs: 7.0-5 pve-edk2-firmware: 3.20200531-1 pve-firewall: 4.2-2 pve-firmware: 3.2-4 pve-ha-manager: 3.3-1 pve-i18n: 2.4-1 pve-qemu-kvm: 5.2.0-6 pve-xtermjs: 4.7.0-3 qemu-server: 6.2-2 smartmontools: 7.2-pve2 spiceterm: 3.2-2 vncterm: 1.6-2 zfsutils-linux: 2.0.5-pve1
root@uatel:~#

Problem:
root@uatel:~# pveproxy start
no such standard option 'prune-backups' Compilation failed in require at /usr/share/perl5/PVE/VZDump/Plugin.pm line 11. BEGIN failed--compilation aborted at /usr/share/perl5/PVE/VZDump/Plugin.pm line 11. Compilation failed in require at /usr/share/perl5/PVE/API2/Qemu.pm line 34. BEGIN failed--compilation aborted at /usr/share/perl5/PVE/API2/Qemu.pm line 34. Compilation failed in require at /usr/share/perl5/PVE/HA/Resources/PVEVM.pm line 16. BEGIN failed--compilation aborted at /usr/share/perl5/PVE/HA/Resources/PVEVM.pm line 19. Compilation failed in require at /usr/share/perl5/PVE/HA/Env/PVE2.pm line 21. BEGIN failed--compilation aborted at /usr/share/perl5/PVE/HA/Env/PVE2.pm line 21. Compilation failed in require at /usr/share/perl5/PVE/API2/Cluster.pm line 14. BEGIN failed--compilation aborted at /usr/share/perl5/PVE/API2/Cluster.pm line 14. Compilation failed in require at /usr/share/perl5/PVE/API2.pm line 14. BEGIN failed--compilation aborted at /usr/share/perl5/PVE/API2.pm line 14. Compilation failed in require at /usr/share/perl5/PVE/Service/pveproxy.pm line 16. BEGIN failed--compilation aborted at /usr/share/perl5/PVE/Service/pveproxy.pm line 16. Compilation failed in require at /usr/bin/pveproxy line 11. BEGIN failed--compilation aborted at /usr/bin/pveproxy line 11. root@uatel:~#

root@uatel:~# apt-get dist-upgrade
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 proxmox-archive-keyring Use 'apt autoremove' to remove them. The following packages will be REMOVED: criu libldb1 libpve-access-control libpve-cluster-api-perl libpve-guest-common-perl libpve-storage-perl libpve-u2f-server-perl libpython-stdlib librados2-perl lxc-pve proxmox-ve pve-cluster pve-container pve-firewall pve-ha-manager pve-manager python python-cephfs python-certifi python-chardet python-configparser python-future python-idna python-ipaddr python-minimal python-prettytable python-protobuf python-rados python-rbd python-requests python-talloc python-urllib3 python3.7 qemu-server The following NEW packages will be installed: alsa-topology-conf alsa-ucm-conf bind9-dnsutils bind9-libs bsdextrautils distro-info-data gcc-10-base libapt-pkg6.0 libboost-context1.74.0 libboost-coroutine1.74.0 libboost-iostreams1.74.0 libboost-program-options1.74.0 libboost-thread1.74.0 libbpf0 libbrotli1 libc-devtools libcbor0 libcrypt-dev libcrypt1 libdeflate0 libdns-export1110 libdns1110 libevent-2.1-7 libffi7 libfido2-1 libgcc-s1 libgd3 libglusterd0 libhogweed6 libicu67 libinih1 libip4tc2 libip6tc2 libipset13 libisc-export1105 libisc1105 libjbig0 libjson-c5 libldb2 libleveldb1d liblinear4 libmaxminddb0 libmd0 libmpdec3 libnettle8 libnl-genl-3-200 libnsl-dev libnsl2 libnss-nis libnss-nisplus liboath0 libopeniscsiusr libperl5.32 libprocps8 libpython3.9 libpython3.9-minimal libpython3.9-stdlib librabbitmq4 libreadline8 libtiff5 libtirpc-dev libuv1 libwebp6 libxpm4 libxxhash0 libyaml-0-2 libyaml-libyaml-perl logsave lua-lpeg mailcap manpages-dev media-types ncal os-prober pci.ids perl-modules-5.32 python3-ceph-argparse python3-cephfs python3-ldb python3-rados python3-rbd python3-talloc python3.9 python3.9-minimal runit-helper systemd-timesyncd The following packages will be upgraded: apt apt-utils bc bind9-host bsdmainutils bsdutils btrfs-progs ceph-common ceph-fuse curl dirmngr dnsutils e2fsprogs gdisk glusterfs-client glusterfs-common gnupg gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpg-wks-server gpgconf gpgsm gpgv groff-base grub-common grub-efi-amd64-bin grub-efi-ia32-bin grub-pc grub-pc-bin grub2-common htop iperf iproute2 ipset iptables isc-dhcp-client libanyevent-perl libapt-pkg-perl libarchive13 libasound2 libasound2-data libauthen-pam-perl libbind9-161 libbsd0 libc-bin libc-dev-bin libc6 libc6-dev libcairo2 libcephfs2 libclone-perl libcommon-sense-perl libcrypt-openssl-bignum-perl libcrypt-openssl-random-perl libcrypt-openssl-rsa-perl libcrypt-ssleay-perl libcryptsetup12 libcups2 libcurl3-gnutls libcurl4 libext2fs2 libfilesys-df-perl libflac8 libfreetype6 libgfapi0 libgfchangelog0 libgfortran5 libgfrpc0 libgfxdr0 libglib2.0-0 libglusterfs-dev libglusterfs0 libgnutls-openssl27 libgnutls30 libgnutlsxx28 libgoogle-perftools4 libgstreamer-plugins-base1.0-0 libgstreamer1.0-0 libhtml-parser-perl libhttp-message-perl libiptc0 libirs161 libisccc161 libisccfg163 libjemalloc2 libjson-xs-perl libldap-2.4-2 liblinux-inotify2-perl liblocale-gettext-perl liblwres161 libnet-dbus-perl libnet-ssleay-perl libnspr4 libnss-systemd libopus0 libp11-kit0 libpam-modules libpam-modules-bin libpam-systemd libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libpci3 libpixman-1-0 libpng16-16 libpulse0 libpve-common-perl libpython2-stdlib libpython2.7 libpython2.7-minimal libpython2.7-stdlib libpython3-stdlib libquadmath0 librados2 libradosstriper1 librbd1 librrd8 librrds-perl librtmp1 libsdl1.2debian libslang2 libsmbclient libsndfile1 libsqlite3-0 libstdc++6 libsystemd0 libtcmalloc-minimal4 libtemplate-perl libterm-readline-gnu-perl libtext-charwidth-perl libtext-iconv-perl libu2f-server0 libuchardet0 libudev1 libuuid-perl libvorbis0a libvorbisenc2 libwbclient0 libwrap0 libxml-libxml-perl libxml-parser-perl libxml2 libxslt1.1 libxtables12 locales login lxcfs lynx man-db mawk mime-support nfs-common nmap nmap-common open-iscsi openssh-client openssh-server openssh-sftp-server passwd pciutils perl perl-base postfix procps python2 python2-minimal python2.7 python2.7-minimal python3 python3-apt python3-chardet python3-minimal python3-pycurl rsync rsyslog samba-common samba-libs smbclient sqlite3 ssh systemd thin-provisioning-tools udev util-linux wget xfsprogs zstd 190 upgraded, 86 newly installed, 34 to remove and 0 not upgraded. Need to get 0 B/186 MB of archives. After this operation, 164 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
root@uatel:~#
 
Please post the full output of:

> apt update
 
Please post the full output of:

> apt update
root@uatel:~# apt update
Get:1 http://ftp.debian.org/debian bullseye InRelease [150 kB] Hit:2 http://security.debian.org/debian-security bullseye-security InRelease Hit:3 http://download.proxmox.com/debian/pve stretch InRelease Hit:4 http://download.proxmox.com/debian/pve buster InRelease Get:5 http://ftp.debian.org/debian bullseye-updates InRelease [40.1 kB] Get:6 http://ftp.debian.org/debian bullseye/main amd64 Packages.diff/Index [63.6 kB] Get:7 http://ftp.debian.org/debian bullseye/main Translation-en.diff/Index [63.6 kB] Get:8 http://ftp.debian.org/debian bullseye/main amd64 Packages T-2021-07-30-0201.44-F-2021-07-30-0201.44.pdiff [3,136 B] Get:8 http://ftp.debian.org/debian bullseye/main amd64 Packages T-2021-07-30-0201.44-F-2021-07-30-0201.44.pdiff [3,136 B] Get:9 http://ftp.debian.org/debian bullseye/main Translation-en T-2021-07-30-0201.44-F-2021-07-30-0201.44.pdiff [59 B] Get:9 http://ftp.debian.org/debian bullseye/main Translation-en T-2021-07-30-0201.44-F-2021-07-30-0201.44.pdiff [59 B] Fetched 320 kB in 4s (80.0 kB/s) Reading package lists... Done Building dependency tree Reading state information... Done 194 packages can be upgraded. Run 'apt list --upgradable' to see them.
root@uatel:~#


root@uatel:~# apt list --upgradable
Listing... Done apt-utils/testing 2.2.4 amd64 [upgradable from: 1.8.2.3] apt/testing 2.2.4 amd64 [upgradable from: 1.8.2.3] bc/testing 1.07.1-2+b2 amd64 [upgradable from: 1.07.1-2+b1] bind9-host/testing 1:9.16.15-1 amd64 [upgradable from: 1:9.11.5.P4+dfsg-5.1+deb10u5] bsdmainutils/testing 12.1.7+nmu3 amd64 [upgradable from: 11.1.2+b1] bsdutils/testing 1:2.36.1-7 amd64 [upgradable from: 1:2.33.1-0.1] btrfs-progs/testing 5.10.1-2 amd64 [upgradable from: 4.20.1-2] ceph-common/testing 14.2.21-1 amd64 [upgradable from: 12.2.11+dfsg1-2.1+b1] ceph-fuse/testing 14.2.21-1 amd64 [upgradable from: 12.2.11+dfsg1-2.1+b1] curl/testing 7.74.0-1.3+b1 amd64 [upgradable from: 7.64.0-4+deb10u2] dirmngr/testing 2.2.27-2 amd64 [upgradable from: 2.2.12-1+deb10u1] dnsutils/testing 1:9.16.15-1 amd64 [upgradable from: 1:9.11.5.P4+dfsg-5.1+deb10u5] e2fsprogs/testing 1.46.2-2 amd64 [upgradable from: 1.44.5-1+deb10u3] gdisk/testing 1.0.6-1.1 amd64 [upgradable from: 1.0.3-1.1] glusterfs-client/testing 9.2-1 amd64 [upgradable from: 5.5-3] glusterfs-common/testing 9.2-1 amd64 [upgradable from: 5.5-3] gnupg-l10n/testing 2.2.27-2 all [upgradable from: 2.2.12-1+deb10u1] gnupg-utils/testing 2.2.27-2 amd64 [upgradable from: 2.2.12-1+deb10u1] gnupg/testing 2.2.27-2 all [upgradable from: 2.2.12-1+deb10u1] gpg-agent/testing 2.2.27-2 amd64 [upgradable from: 2.2.12-1+deb10u1] gpg-wks-client/testing 2.2.27-2 amd64 [upgradable from: 2.2.12-1+deb10u1] gpg-wks-server/testing 2.2.27-2 amd64 [upgradable from: 2.2.12-1+deb10u1] gpg/testing 2.2.27-2 amd64 [upgradable from: 2.2.12-1+deb10u1] gpgconf/testing 2.2.27-2 amd64 [upgradable from: 2.2.12-1+deb10u1] gpgsm/testing 2.2.27-2 amd64 [upgradable from: 2.2.12-1+deb10u1] gpgv/testing 2.2.27-2 amd64 [upgradable from: 2.2.12-1+deb10u1] groff-base/testing 1.22.4-6 amd64 [upgradable from: 1.22.4-3+deb10u1] grub-common/testing 2.04-20 amd64 [upgradable from: 2.02+dfsg1-18-pve1] grub-efi-amd64-bin/testing 2.04-20 amd64 [upgradable from: 2.02+dfsg1-18-pve1] grub-efi-ia32-bin/testing 2.04-20 amd64 [upgradable from: 2.02+dfsg1-18-pve1] grub-pc-bin/testing 2.04-20 amd64 [upgradable from: 2.02+dfsg1-18-pve1] grub-pc/testing 2.04-20 amd64 [upgradable from: 2.02+dfsg1-18-pve1] grub2-common/testing 2.04-20 amd64 [upgradable from: 2.02+dfsg1-18-pve1] htop/testing 3.0.5-7 amd64 [upgradable from: 2.2.0-1+b1] iperf/testing 2.0.14a+dfsg1-1 amd64 [upgradable from: 2.0.12+dfsg1-2] iproute2/testing 5.10.0-4 amd64 [upgradable from: 4.20.0-2+deb10u1] ipset/testing 7.10-1 amd64 [upgradable from: 6.38-1.2] iptables/testing 1.8.7-1 amd64 [upgradable from: 1.8.2-4] isc-dhcp-client/testing 4.4.1-2.3 amd64 [upgradable from: 4.4.1-2+deb10u1] libanyevent-perl/testing 7.170-2+b1 amd64 [upgradable from: 7.140-3] libapt-pkg-perl/testing 0.1.39 amd64 [upgradable from: 0.1.34+b1] libarchive13/testing 3.4.3-2+b1 amd64 [upgradable from: 3.3.3-4+deb10u1] libasound2-data/testing 1.2.4-1.1 all [upgradable from: 1.1.8-1] libasound2/testing 1.2.4-1.1 amd64 [upgradable from: 1.1.8-1] libauthen-pam-perl/testing 0.16-3+b8 amd64 [upgradable from: 0.16-3+b6] libbind9-161/testing 1:9.11.19+dfsg-2 amd64 [upgradable from: 1:9.11.5.P4+dfsg-5.1+deb10u5] libbsd0/testing 0.11.3-1 amd64 [upgradable from: 0.9.1-2+deb10u1] libc-bin/testing 2.31-13 amd64 [upgradable from: 2.28-10] libc-dev-bin/testing 2.31-13 amd64 [upgradable from: 2.28-10] libc6-dev/testing 2.31-13 amd64 [upgradable from: 2.28-10] libc6/testing 2.31-13 amd64 [upgradable from: 2.28-10] libcairo2/testing 1.16.0-5 amd64 [upgradable from: 1.16.0-4+deb10u1] libcephfs2/testing 14.2.21-1 amd64 [upgradable from: 12.2.11+dfsg1-2.1+b1] libclone-perl/testing 0.45-1+b1 amd64 [upgradable from: 0.41-1+b1] libcommon-sense-perl/testing 3.75-1+b4 amd64 [upgradable from: 3.74-2+b7] libcrypt-openssl-bignum-perl/testing 0.09-1+b3 amd64 [upgradable from: 0.09-1+b1] libcrypt-openssl-random-perl/testing 0.15-2+b1 amd64 [upgradable from: 0.15-1+b1] libcrypt-openssl-rsa-perl/testing 0.31-1+b3 amd64 [upgradable from: 0.31-1+b1] libcrypt-ssleay-perl/testing 0.73.06-1+b3 amd64 [upgradable from: 0.73.06-1+b1] libcryptsetup12/testing 2:2.3.5-1 amd64 [upgradable from: 2:2.1.0-5+deb10u2] libcups2/testing 2.3.3op2-3+deb11u1 amd64 [upgradable from: 2.2.10-6+deb10u4] libcurl3-gnutls/testing 7.74.0-1.3+b1 amd64 [upgradable from: 7.64.0-4+deb10u2] libcurl4/testing 7.74.0-1.3+b1 amd64 [upgradable from: 7.64.0-4+deb10u2] libext2fs2/testing 1.46.2-2 amd64 [upgradable from: 1.44.5-1+deb10u3] libfilesys-df-perl/testing 0.92-6+b6 amd64 [upgradable from: 0.92-6+b4] libflac8/testing 1.3.3-2 amd64 [upgradable from: 1.3.2-3] libfreetype6/testing 2.10.4+dfsg-1 amd64 [upgradable from: 2.9.1-3+deb10u2] libgfapi0/testing 9.2-1 amd64 [upgradable from: 5.5-3] libgfchangelog0/testing 9.2-1 amd64 [upgradable from: 5.5-3] libgfortran5/testing 10.2.1-6 amd64 [upgradable from: 8.3.0-6] libgfrpc0/testing 9.2-1 amd64 [upgradable from: 5.5-3] libgfxdr0/testing 9.2-1 amd64 [upgradable from: 5.5-3] libglib2.0-0/testing 2.66.8-1 amd64 [upgradable from: 2.58.3-2+deb10u3] libglusterfs-dev/testing 9.2-1 amd64 [upgradable from: 5.5-3] libglusterfs0/testing 9.2-1 amd64 [upgradable from: 5.5-3] libgnutls-openssl27/testing 3.7.1-5 amd64 [upgradable from: 3.6.7-4+deb10u7] libgnutls30/testing 3.7.1-5 amd64 [upgradable from: 3.6.7-4+deb10u7] libgnutlsxx28/testing 3.7.1-5 amd64 [upgradable from: 3.6.7-4+deb10u7] libgoogle-perftools4/testing 2.8.1-1 amd64 [upgradable from: 2.7-1] libgstreamer-plugins-base1.0-0/testing 1.18.4-2 amd64 [upgradable from: 1.14.4-2+deb10u1] libgstreamer1.0-0/testing 1.18.4-2 amd64 [upgradable from: 1.14.4-1] libhtml-parser-perl/testing 3.75-1+b1 amd64 [upgradable from: 3.72-3+b3] libhttp-message-perl/testing 6.28-1 all [upgradable from: 6.18-1] libiptc0/testing 1.8.7-1 amd64 [upgradable from: 1.8.2-4] libirs161/testing 1:9.11.19+dfsg-2 amd64 [upgradable from: 1:9.11.5.P4+dfsg-5.1+deb10u5] libisccc161/testing 1:9.11.19+dfsg-2 amd64 [upgradable from: 1:9.11.5.P4+dfsg-5.1+deb10u5] libisccfg163/testing 1:9.11.19+dfsg-2 amd64 [upgradable from: 1:9.11.5.P4+dfsg-5.1+deb10u5] libjemalloc2/testing 5.2.1-3 amd64 [upgradable from: 5.1.0-3] libjson-xs-perl/testing 4.030-1+b1 amd64 [upgradable from: 3.040-1+b1] libldap-2.4-2/testing 2.4.57+dfsg-3 amd64 [upgradable from: 2.4.47+dfsg-3+deb10u6] liblinux-inotify2-perl/testing 1:2.2-2+b1 amd64 [upgradable from: 1:2.1-1] liblocale-gettext-perl/testing 1.07-4+b1 amd64 [upgradable from: 1.07-3+b4] liblwres161/testing 1:9.11.19+dfsg-2 amd64 [upgradable from: 1:9.11.5.P4+dfsg-5.1+deb10u5] libnet-dbus-perl/testing 1.2.0-1+b1 amd64 [upgradable from: 1.1.0-5+b1] libnet-ssleay-perl/testing 1.88-3+b1 amd64 [upgradable from: 1.85-2+b1] libnspr4/testing 2:4.29-1 amd64 [upgradable from: 2:4.20-1] libnss-systemd/testing 247.3-6 amd64 [upgradable from: 241-7~deb10u7] libopus0/testing 1.3.1-0.1 amd64 [upgradable from: 1.3-1] libp11-kit0/testing 0.23.22-1 amd64 [upgradable from: 0.23.15-2+deb10u1] libpam-modules-bin/testing 1.4.0-9 amd64 [upgradable from: 1.3.1-5] libpam-modules/testing 1.4.0-9 amd64 [upgradable from: 1.3.1-5] libpam-systemd/testing 247.3-6 amd64 [upgradable from: 241-7~deb10u7] libpango-1.0-0/testing 1.46.2-3 amd64 [upgradable from: 1.42.4-8~deb10u1] libpangocairo-1.0-0/testing 1.46.2-3 amd64 [upgradable from: 1.42.4-8~deb10u1] libpangoft2-1.0-0/testing 1.46.2-3 amd64 [upgradable from: 1.42.4-8~deb10u1] libpci3/testing 1:3.7.0-5 amd64 [upgradable from: 1:3.5.2-1] libpixman-1-0/testing 0.40.0-1 amd64 [upgradable from: 0.36.0-1] libpng16-16/testing 1.6.37-3 amd64 [upgradable from: 1.6.36-6] libpulse0/testing 14.2-2 amd64 [upgradable from: 12.2-4+deb10u1] libpve-common-perl/stable 6.4-3 all [upgradable from: 6.1-2] libpve-storage-perl/stable 6.4-1 all [upgradable from: 6.1-7] libpython2-stdlib/testing 2.7.18-2 amd64 [upgradable from: 2.7.16-1] libpython2.7-minimal/testing 2.7.18-8 amd64 [upgradable from: 2.7.16-2+deb10u1] libpython2.7-stdlib/testing 2.7.18-8 amd64 [upgradable from: 2.7.16-2+deb10u1] libpython2.7/testing 2.7.18-8 amd64 [upgradable from: 2.7.16-2+deb10u1] libpython3-stdlib/testing 3.9.2-3 amd64 [upgradable from: 3.7.3-1] libquadmath0/testing 10.2.1-6 amd64 [upgradable from: 8.3.0-6] librados2/testing 14.2.21-1 amd64 [upgradable from: 12.2.11+dfsg1-2.1+b1] libradosstriper1/testing 14.2.21-1 amd64 [upgradable from: 12.2.11+dfsg1-2.1+b1] librbd1/testing 14.2.21-1 amd64 [upgradable from: 12.2.11+dfsg1-2.1+b1] librrd8/testing 1.7.2-3+b7 amd64 [upgradable from: 1.7.1-2] librrds-perl/testing 1.7.2-3+b7 amd64 [upgradable from: 1.7.1-2] librtmp1/testing 2.4+20151223.gitfa8646d.1-2+b2 amd64 [upgradable from: 2.4+20151223.gitfa8646d.1-2] libsdl1.2debian/testing 1.2.15+dfsg2-6 amd64 [upgradable from: 1.2.15+dfsg2-4] libslang2/testing 2.3.2-5 amd64 [upgradable from: 2.3.2-2] libsmbclient/testing 2:4.13.5+dfsg-2 amd64 [upgradable from: 2:4.9.5+dfsg-5+deb10u1] libsndfile1/testing 1.0.31-1 amd64 [upgradable from: 1.0.28-6] libsqlite3-0/testing 3.34.1-3 amd64 [upgradable from: 3.27.2-3+deb10u1] libstdc++6/testing 10.2.1-6 amd64 [upgradable from: 8.3.0-6] libsystemd0/testing 247.3-6 amd64 [upgradable from: 241-7~deb10u7] libtcmalloc-minimal4/testing 2.8.1-1 amd64 [upgradable from: 2.7-1] libtemplate-perl/testing 2.27-1+b3 amd64 [upgradable from: 2.27-1+b1] libterm-readline-gnu-perl/testing 1.37-1 amd64 [upgradable from: 1.36-1] libtext-charwidth-perl/testing 0.04-10+b1 amd64 [upgradable from: 0.04-7.1+b1] libtext-iconv-perl/testing 1.7-7+b1 amd64 [upgradable from: 1.7-5+b7] libu2f-server0/testing 1.1.0-4 amd64 [upgradable from: 1.1.0-2] libuchardet0/testing 0.0.7-1 amd64 [upgradable from: 0.0.6-3] libudev1/testing 247.3-6 amd64 [upgradable from: 241-7~deb10u7] libuuid-perl/testing 0.28-1+b2 amd64 [upgradable from: 0.28-1] libvorbis0a/testing 1.3.7-1 amd64 [upgradable from: 1.3.6-2] libvorbisenc2/testing 1.3.7-1 amd64 [upgradable from: 1.3.6-2] libwbclient0/testing 2:4.13.5+dfsg-2 amd64 [upgradable from: 2:4.9.5+dfsg-5+deb10u1] libwrap0/testing 7.6.q-31 amd64 [upgradable from: 7.6.q-28] libxml-libxml-perl/testing 2.0134+dfsg-2+b1 amd64 [upgradable from: 2.0134+dfsg-1] libxml-parser-perl/testing 2.46-2 amd64 [upgradable from: 2.44-4] libxml2/testing 2.9.10+dfsg-6.7 amd64 [upgradable from: 2.9.4+dfsg1-7+deb10u2] libxslt1.1/testing 1.1.34-4 amd64 [upgradable from: 1.1.32-2.2~deb10u1] libxtables12/testing 1.8.7-1 amd64 [upgradable from: 1.8.2-4] locales/testing 2.31-13 all [upgradable from: 2.28-10] login/testing 1:4.8.1-1 amd64 [upgradable from: 1:4.5-1.1] lxcfs/testing 4.0.7-1 amd64 [upgradable from: 4.0.6-pve1] lynx/testing 2.9.0dev.6-2 amd64 [upgradable from: 2.8.9rel.1-3] man-db/testing 2.9.4-2 amd64 [upgradable from: 2.8.5-2] mawk/testing 1.3.4.20200120-2 amd64 [upgradable from: 1.3.3-17+b3] mime-support/testing 3.66 all [upgradable from: 3.62] nfs-common/testing 1:1.3.4-6 amd64 [upgradable from: 1:1.3.4-2.5+deb10u1] nmap-common/testing 7.91+dfsg1+really7.80+dfsg1-2 all [upgradable from: 7.70+dfsg1-6+deb10u2] nmap/testing 7.91+dfsg1+really7.80+dfsg1-2 amd64 [upgradable from: 7.70+dfsg1-6+deb10u2] open-iscsi/testing 2.1.3-5 amd64 [upgradable from: 2.0.874-7.1] openssh-client/testing 1:8.4p1-5 amd64 [upgradable from: 1:7.9p1-10+deb10u2] openssh-server/testing 1:8.4p1-5 amd64 [upgradable from: 1:7.9p1-10+deb10u2] openssh-sftp-server/testing 1:8.4p1-5 amd64 [upgradable from: 1:7.9p1-10+deb10u2] passwd/testing 1:4.8.1-1 amd64 [upgradable from: 1:4.5-1.1] pciutils/testing 1:3.7.0-5 amd64 [upgradable from: 1:3.5.2-1] perl-base/testing 5.32.1-4 amd64 [upgradable from: 5.28.1-6+deb10u1] perl/testing 5.32.1-4 amd64 [upgradable from: 5.28.1-6+deb10u1] postfix/testing 3.5.6-1+b1 amd64 [upgradable from: 3.4.14-0+deb10u1] procps/testing 2:3.3.17-5 amd64 [upgradable from: 2:3.3.15-2] pve-container/stable 3.3-6 all [upgradable from: 3.1-5] pve-manager/stable 6.4-13 amd64 [upgradable from: 6.2-4] python2-minimal/testing 2.7.18-2 amd64 [upgradable from: 2.7.16-1] python2.7-minimal/testing 2.7.18-8 amd64 [upgradable from: 2.7.16-2+deb10u1] python2.7/testing 2.7.18-8 amd64 [upgradable from: 2.7.16-2+deb10u1] python2/testing 2.7.18-2 amd64 [upgradable from: 2.7.16-1] python3-apt/testing 2.2.1 amd64 [upgradable from: 1.8.4.3] python3-chardet/testing 4.0.0-1 all [upgradable from: 3.0.4-3] python3-minimal/testing 3.9.2-3 amd64 [upgradable from: 3.7.3-1] python3-pycurl/testing 7.43.0.6-5 amd64 [upgradable from: 7.43.0.2-0.1] python3/testing 3.9.2-3 amd64 [upgradable from: 3.7.3-1] qemu-server/stable 6.4-2 amd64 [upgradable from: 6.2-2] rsync/testing 3.2.3-4 amd64 [upgradable from: 3.1.3-6] rsyslog/testing 8.2102.0-2 amd64 [upgradable from: 8.1901.0-1] samba-common/testing 2:4.13.5+dfsg-2 all [upgradable from: 2:4.9.5+dfsg-5+deb10u1] samba-libs/testing 2:4.13.5+dfsg-2 amd64 [upgradable from: 2:4.9.5+dfsg-5+deb10u1] smbclient/testing 2:4.13.5+dfsg-2 amd64 [upgradable from: 2:4.9.5+dfsg-5+deb10u1] sqlite3/testing 3.34.1-3 amd64 [upgradable from: 3.27.2-3+deb10u1] ssh/testing 1:8.4p1-5 all [upgradable from: 1:7.9p1-10+deb10u2] systemd/testing 247.3-6 amd64 [upgradable from: 241-7~deb10u7] thin-provisioning-tools/testing 0.9.0-1 amd64 [upgradable from: 0.7.6-2.1] udev/testing 247.3-6 amd64 [upgradable from: 241-7~deb10u7] util-linux/testing 2.36.1-7 amd64 [upgradable from: 2.33.1-0.1] wget/testing 1.21-1+b1 amd64 [upgradable from: 1.20.1-1.1] xfsprogs/testing 5.10.0-4 amd64 [upgradable from: 4.20.0-1] zstd/testing 1.4.8+dfsg-2.1 amd64 [upgradable from: 1.3.8+dfsg-3+deb10u2]
root@uatel:~#
 
Last edited:
вы все еще настроили репозитории stretch и buster, но ни одного для 'bullseye'

пожалуйста, прочтите инструкции по обновлению с самого начала (и используйте инструмент pve6to7)

https://pve.proxmox.com/wiki/Upgrade_from_6.x_to_7.0

root@uatel:~# pve6to7
-bash: pve6to7: command not found
root@uatel:~#
 
With all those mixed repos you had setup the system got into some bad state, add some correct repos, buster and stretch is just wrong for Proxmox VE 7.0 then retry apt update and apt dist-upgrade, if you're lucky that is all what's needed to get it into an OK state again.

https://pve.proxmox.com/wiki/Package_Repositories
 
nano /etc/apt/source.list
deb http://ftp.debian.org/debian bullseye main contrib deb http://ftp.debian.org/debian bullseye-updates main contrib # PVE pve-no-subscription repository provided by proxmox.com, # NOT recommended for production use deb http://download.proxmox.com/debian/pve bullseye pve-no-subscription # security updates deb http://security.debian.org/debian-security bullseye-security main contrib

nano /etc/apt/sources.list.d/pve-no-subscription.list
deb http://download.proxmox.com/debian buster pve-no-subscription


root@uatel:~# apt-get dist-upgrade and update
https://pastebin.com/KZ5qHPmG (over 15000 syntax)
 
nano /etc/apt/sources.list.d/pve-no-subscription.list
deb http://download.proxmox.com/debian buster pve-no-subscription
Still not fully correct, as said multiple times in this thread, buster and stretch is wrong to have enabled. Please comment that out or delete it...
root@uatel:~# apt-get dist-upgrade and update
https://pastebin.com/KZ5qHPmG (over 15000 syntax)
looks better now, but the bad package state still messes a bit with the upgrade.

1. Comment/delete out the buster repo mentioned above
2. apt update again
3. try to explicitly upgrade ceph-common first: apt install ceph-common, as its old version causes a conflict
4. repeat apt dist-upgrade
 
Still not fully correct, as said multiple times in this thread, buster and stretch is wrong to have enabled. Please comment that out or delete it...

looks better now, but the bad package state still messes a bit with the upgrade.

1. Comment/delete out the buster repo mentioned above
2. apt update again
3. try to explicitly upgrade ceph-common first: apt install ceph-common, as its old version causes a conflict
4. repeat apt dist-upgrade
nano /etc/apt/source.list
deb http://ftp.debian.org/debian bullseye main contrib deb http://ftp.debian.org/debian bullseye-updates main contrib # PVE pve-no-subscription repository provided by proxmox.com, # NOT recommended for production use deb http://download.proxmox.com/debian/pve bullseye pve-no-subscription # security updates deb http://security.debian.org/debian-security bullseye-security main contrib

nano /etc/apt/sources.list.d/pve-no-subscription.list
#deb http://download.proxmox.com/debian buster pve-no-subscription


root@uatel:~# apt-get update
Get:1 http://security.debian.org/debian-security bullseye-security InRelease [44.1 kB] Get:2 http://ftp.debian.org/debian bullseye InRelease [150 kB] Get:3 http://download.proxmox.com/debian/pve bullseye InRelease [3,053 B] Hit:4 http://download.proxmox.com/debian/ceph-octopus bullseye InRelease Hit:5 http://download.proxmox.com/debian/pve stretch InRelease Get:6 http://ftp.debian.org/debian bullseye-updates InRelease [40.1 kB] Get:7 http://ftp.debian.org/debian bullseye/main amd64 Packages.diff/Index [63.6 kB] Get:8 http://ftp.debian.org/debian bullseye/main amd64 Packages T-2021-07-31-0201.37-F-2021-07-31-0201.37.pdiff [10.7 kB] Get:8 http://ftp.debian.org/debian bullseye/main amd64 Packages T-2021-07-31-0201.37-F-2021-07-31-0201.37.pdiff [10.7 kB] Fetched 311 kB in 4s (88.2 kB/s)
Reading package lists... Done

root@uatel:~# apt install ceph-common
Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt --fix-broken install' to correct these. The following packages have unmet dependencies: bsdmainutils : Depends: ncal but it is not going to be installed ceph-common : Depends: librbd1 (= 15.2.13-pve1) but 12.2.11+dfsg1-2.1+b1 is to be installed Depends: python3-ceph-argparse (= 15.2.13-pve1) but it is not going to be installed Depends: python3-ceph-common (= 15.2.13-pve1) but it is not going to be installed Depends: python3-rbd (= 15.2.13-pve1) but it is not going to be installed Depends: python3-rgw (= 15.2.13-pve1) but it is not going to be installed Depends: libleveldb1d but it is not going to be installed Depends: liboath0 (>= 1.10.0) but it is not going to be installed Depends: librabbitmq4 (>= 0.6.0) but it is not going to be installed Depends: librdkafka1 (>= 0.9.2) but it is not going to be installed libanyevent-perl : Depends: perlapi-5.32.0 Recommends: libasync-interrupt-perl but it is not going to be installed Recommends: libev-perl but it is not going to be installed or libevent-perl but it is not going to be installed Recommends: libguard-perl but it is not going to be installed libauthen-pam-perl : Depends: perl (>= 5.32.0-4) but 5.28.1-6+deb10u1 is to be installed Depends: perlapi-5.32.0 libclone-perl : Depends: perl (>= 5.32.0-4) but 5.28.1-6+deb10u1 is to be installed Depends: perlapi-5.32.0 libcommon-sense-perl : Depends: perl (>= 5.32.1~) but 5.28.1-6+deb10u1 is to be installed Depends: perlapi-5.32.1 libcrypt-openssl-bignum-perl : Depends: perl (>= 5.32.0-4) but 5.28.1-6+deb10u1 is to be installed Depends: perlapi-5.32.0 libcrypt-openssl-random-perl : Depends: perl (>= 5.32.0-4) but 5.28.1-6+deb10u1 is to be installed Depends: perlapi-5.32.0 libcrypt-openssl-rsa-perl : Depends: perl (>= 5.32.0-4) but 5.28.1-6+deb10u1 is to be installed Depends: perlapi-5.32.0 libfilesys-df-perl : Depends: perl (>= 5.32.0-4) but 5.28.1-6+deb10u1 is to be installed Depends: perlapi-5.32.0 libhttp-message-perl : Depends: libencode-perl (>= 3.01) libjson-xs-perl : Depends: perl (>= 5.32.0-4) but 5.28.1-6+deb10u1 is to be installed Depends: perlapi-5.32.0 liblinux-inotify2-perl : Depends: perl (>= 5.32.0-4) but 5.28.1-6+deb10u1 is to be installed Depends: perlapi-5.32.0 libnet-dbus-perl : Depends: perl (>= 5.32.0-4) but 5.28.1-6+deb10u1 is to be installed Depends: perlapi-5.32.0 libnet-ssleay-perl : Depends: perl (>= 5.32.0-4) but 5.28.1-6+deb10u1 is to be installed Depends: perlapi-5.32.0 libnetaddr-ip-perl : Depends: perl (>= 5.32.0-4) but 5.28.1-6+deb10u1 is to be installed Depends: perlapi-5.32.0 Recommends: libsocket6-perl but it is not going to be installed libpve-rs-perl : Depends: perlapi-5.32.1 libpve-u2f-server-perl : Depends: perlapi-5.32.0 libradosstriper1 : Depends: librados2 (= 15.2.13-pve1) but 12.2.11+dfsg1-2.1+b1 is to be installed librrds-perl : Depends: perlapi-5.32.0 libsmbclient : Depends: libwbclient0 (= 2:4.13.5+dfsg-2) but 2:4.9.5+dfsg-5+deb10u1 is to be installed libterm-readline-gnu-perl : Depends: perlapi-5.32.0 libuuid-perl : Depends: perl-base (>= 5.32.0-4) but 5.28.1-6+deb10u1 is to be installed Depends: perlapi-5.32.0 libxml-libxml-perl : Depends: perl (>= 5.32.0-4) but 5.28.1-6+deb10u1 is to be installed Depends: perlapi-5.32.0 libxml-parser-perl : Depends: perl (>= 5.32.0-5) but 5.28.1-6+deb10u1 is to be installed Depends: perlapi-5.32.0 libyaml-libyaml-perl : Depends: perl (>= 5.32.0-4) but 5.28.1-6+deb10u1 is to be installed Depends: perlapi-5.32.0 pve-cluster : Depends: perlapi-5.32.1 python3-cephfs : Depends: python3-ceph-argparse (= 15.2.13-pve1) but it is not going to be installed samba-libs : Depends: libldb2 (>= 2:2.2.0~) but it is not going to be installed Depends: libpython3.9 (>= 3.9.1) but it is not going to be installed Depends: libwbclient0 (= 2:4.13.5+dfsg-2) but 2:4.9.5+dfsg-5+deb10u1 is to be installed Depends: python3-ldb (>= 2:2.1.0) but it is not going to be installed Depends: python3-talloc (>= 2.3.1~) but it is not going to be installed smbclient : Depends: samba-common (= 2:4.13.5+dfsg-2) but 2:4.9.5+dfsg-5+deb10u1 is to be installed Depends: libwbclient0 (= 2:4.13.5+dfsg-2) but 2:4.9.5+dfsg-5+deb10u1 is to be installed E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

root@uatel:~# apt --fix-broken install
Reading package lists... Done Building dependency tree Reading state information... Done Correcting dependencies... Done The following packages were automatically installed and are no longer required: proxmox-archive-keyring python3-ceph-argparse python3-cephfs python3-rados Use 'apt autoremove' to remove them. The following additional packages will be installed: libapt-pkg-perl libcrypt-ssleay-perl libhtml-parser-perl libldb2 liblocale-gettext-perl libperl5.32 libpython3.9 librados2 librados2-perl librbd1 libtemplate-perl libtext-charwidth-perl libtext-iconv-perl libwbclient0 ncal perl perl-base perl-modules-5.32 python3-ceph-argparse python3-ldb python3-talloc samba-common Suggested packages: libdata-dump-perl libtemplate-plugin-gd-perl libtemplate-plugin-xml-perl perl-doc make libtap-harness-archive-perl Recommended packages: samba-common-bin The following packages will be REMOVED: ceph-common libldb1 libpve-guest-common-perl libpve-storage-perl proxmox-ve pve-container pve-ha-manager pve-manager pve-qemu-kvm python-cephfs qemu-server spiceterm The following NEW packages will be installed: libldb2 libperl5.32 libpython3.9 ncal perl-modules-5.32 python3-ceph-argparse python3-ldb python3-talloc The following packages will be upgraded: libapt-pkg-perl libcrypt-ssleay-perl libhtml-parser-perl liblocale-gettext-perl librados2 librados2-perl librbd1 libtemplate-perl libtext-charwidth-perl libtext-iconv-perl libwbclient0 perl perl-base samba-common 14 upgraded, 8 newly installed, 12 to remove and 108 not upgraded. 112 not fully installed or removed. Need to get 0 B/16.9 MB of archives. After this operation, 269 MB disk space will be freed. Do you want to continue? [Y/n] y W: (pve-apt-hook) !! WARNING !! W: (pve-apt-hook) You are attempting to remove the meta-package 'proxmox-ve'! W: (pve-apt-hook) W: (pve-apt-hook) If you really want to permanently remove 'proxmox-ve' from your system, run the following command W: (pve-apt-hook) touch '/please-remove-proxmox-ve' W: (pve-apt-hook) run apt purge proxmox-ve to remove the meta-package W: (pve-apt-hook) and repeat your apt invocation. W: (pve-apt-hook) W: (pve-apt-hook) If you are unsure why 'proxmox-ve' would be removed, please verify W: (pve-apt-hook) - your APT repository settings W: (pve-apt-hook) - that you are using 'apt full-upgrade' to upgrade your system E: Sub-process /usr/share/proxmox-ve/pve-apt-hook returned an error code (1) E: Failure running script /usr/share/proxmox-ve/pve-apt-hook root@uatel:~# apt-get dist-upgrade Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt --fix-broken install' to correct these. The following packages have unmet dependencies: bsdmainutils : Depends: ncal but it is not installed libanyevent-perl : Depends: perlapi-5.32.0 Recommends: libasync-interrupt-perl but it is not installed Recommends: libev-perl but it is not installed or libevent-perl but it is not installed Recommends: libguard-perl but it is not installed libauthen-pam-perl : Depends: perl (>= 5.32.0-4) but 5.28.1-6+deb10u1 is installed Depends: perlapi-5.32.0 libclone-perl : Depends: perl (>= 5.32.0-4) but 5.28.1-6+deb10u1 is installed Depends: perlapi-5.32.0 libcommon-sense-perl : Depends: perl (>= 5.32.1~) but 5.28.1-6+deb10u1 is installed Depends: perlapi-5.32.1 libcrypt-openssl-bignum-perl : Depends: perl (>= 5.32.0-4) but 5.28.1-6+deb10u1 is installed Depends: perlapi-5.32.0 libcrypt-openssl-random-perl : Depends: perl (>= 5.32.0-4) but 5.28.1-6+deb10u1 is installed Depends: perlapi-5.32.0 libcrypt-openssl-rsa-perl : Depends: perl (>= 5.32.0-4) but 5.28.1-6+deb10u1 is installed Depends: perlapi-5.32.0 libfilesys-df-perl : Depends: perl (>= 5.32.0-4) but 5.28.1-6+deb10u1 is installed Depends: perlapi-5.32.0 libhttp-message-perl : Depends: libencode-perl (>= 3.01) libjson-xs-perl : Depends: perl (>= 5.32.0-4) but 5.28.1-6+deb10u1 is installed Depends: perlapi-5.32.0 liblinux-inotify2-perl : Depends: perl (>= 5.32.0-4) but 5.28.1-6+deb10u1 is installed Depends: perlapi-5.32.0 libnet-dbus-perl : Depends: perl (>= 5.32.0-4) but 5.28.1-6+deb10u1 is installed Depends: perlapi-5.32.0 libnet-ssleay-perl : Depends: perl (>= 5.32.0-4) but 5.28.1-6+deb10u1 is installed Depends: perlapi-5.32.0 libnetaddr-ip-perl : Depends: perl (>= 5.32.0-4) but 5.28.1-6+deb10u1 is installed Depends: perlapi-5.32.0 Recommends: libsocket6-perl but it is not installed libpve-rs-perl : Depends: perlapi-5.32.1 libpve-u2f-server-perl : Depends: perlapi-5.32.0 libradosstriper1 : Depends: librados2 (= 15.2.13-pve1) but 12.2.11+dfsg1-2.1+b1 is installed librrds-perl : Depends: perlapi-5.32.0 libsmbclient : Depends: libwbclient0 (= 2:4.13.5+dfsg-2) but 2:4.9.5+dfsg-5+deb10u1 is installed libterm-readline-gnu-perl : Depends: perlapi-5.32.0 libuuid-perl : Depends: perl-base (>= 5.32.0-4) but 5.28.1-6+deb10u1 is installed Depends: perlapi-5.32.0 libxml-libxml-perl : Depends: perl (>= 5.32.0-4) but 5.28.1-6+deb10u1 is installed Depends: perlapi-5.32.0 libxml-parser-perl : Depends: perl (>= 5.32.0-5) but 5.28.1-6+deb10u1 is installed Depends: perlapi-5.32.0 libyaml-libyaml-perl : Depends: perl (>= 5.32.0-4) but 5.28.1-6+deb10u1 is installed Depends: perlapi-5.32.0 pve-cluster : Depends: perlapi-5.32.1 python3-cephfs : Depends: python3-ceph-argparse (= 15.2.13-pve1) but it is not installed samba-libs : Depends: libldb2 (>= 2:2.2.0~) but it is not installed Depends: libpython3.9 (>= 3.9.1) but it is not installed Depends: libwbclient0 (= 2:4.13.5+dfsg-2) but 2:4.9.5+dfsg-5+deb10u1 is installed Depends: python3-ldb (>= 2:2.1.0) but it is not installed Depends: python3-talloc (>= 2.3.1~) but it is not installed smbclient : Depends: samba-common (= 2:4.13.5+dfsg-2) but 2:4.9.5+dfsg-5+deb10u1 is installed Depends: libwbclient0 (= 2:4.13.5+dfsg-2) but 2:4.9.5+dfsg-5+deb10u1 is installed E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution). root@uatel:~#
 
nano /etc/apt/source.list
deb http://ftp.debian.org/debian bullseye main contrib deb http://ftp.debian.org/debian bullseye-updates main contrib # PVE pve-no-subscription repository provided by proxmox.com, # NOT recommended for production use deb http://download.proxmox.com/debian/pve bullseye pve-no-subscription # security updates deb http://security.debian.org/debian-security bullseye-security main contrib

nano /etc/apt/sources.list.d/pve-no-subscription.list
#deb http://download.proxmox.com/debian buster pve-no-subscription


root@uatel:~# apt-get update
Get:1 http://security.debian.org/debian-security bullseye-security InRelease [44.1 kB] Get:2 http://ftp.debian.org/debian bullseye InRelease [150 kB] Get:3 http://download.proxmox.com/debian/pve bullseye InRelease [3,053 B] Hit:4 http://download.proxmox.com/debian/ceph-octopus bullseye InRelease Hit:5 http://download.proxmox.com/debian/pve stretch InRelease Get:6 http://ftp.debian.org/debian bullseye-updates InRelease [40.1 kB] Get:7 http://ftp.debian.org/debian bullseye/main amd64 Packages.diff/Index [63.6 kB] Get:8 http://ftp.debian.org/debian bullseye/main amd64 Packages T-2021-07-31-0201.37-F-2021-07-31-0201.37.pdiff [10.7 kB] Get:8 http://ftp.debian.org/debian bullseye/main amd64 Packages T-2021-07-31-0201.37-F-2021-07-31-0201.37.pdiff [10.7 kB] Fetched 311 kB in 4s (88.2 kB/s)
Reading package lists... Done

root@uatel:~# apt install ceph-common
Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt --fix-broken install' to correct these. The following packages have unmet dependencies: bsdmainutils : Depends: ncal but it is not going to be installed ceph-common : Depends: librbd1 (= 15.2.13-pve1) but 12.2.11+dfsg1-2.1+b1 is to be installed Depends: python3-ceph-argparse (= 15.2.13-pve1) but it is not going to be installed Depends: python3-ceph-common (= 15.2.13-pve1) but it is not going to be installed Depends: python3-rbd (= 15.2.13-pve1) but it is not going to be installed Depends: python3-rgw (= 15.2.13-pve1) but it is not going to be installed Depends: libleveldb1d but it is not going to be installed Depends: liboath0 (>= 1.10.0) but it is not going to be installed Depends: librabbitmq4 (>= 0.6.0) but it is not going to be installed Depends: librdkafka1 (>= 0.9.2) but it is not going to be installed libanyevent-perl : Depends: perlapi-5.32.0 Recommends: libasync-interrupt-perl but it is not going to be installed Recommends: libev-perl but it is not going to be installed or libevent-perl but it is not going to be installed Recommends: libguard-perl but it is not going to be installed libauthen-pam-perl : Depends: perl (>= 5.32.0-4) but 5.28.1-6+deb10u1 is to be installed Depends: perlapi-5.32.0 libclone-perl : Depends: perl (>= 5.32.0-4) but 5.28.1-6+deb10u1 is to be installed Depends: perlapi-5.32.0 libcommon-sense-perl : Depends: perl (>= 5.32.1~) but 5.28.1-6+deb10u1 is to be installed Depends: perlapi-5.32.1 libcrypt-openssl-bignum-perl : Depends: perl (>= 5.32.0-4) but 5.28.1-6+deb10u1 is to be installed Depends: perlapi-5.32.0 libcrypt-openssl-random-perl : Depends: perl (>= 5.32.0-4) but 5.28.1-6+deb10u1 is to be installed Depends: perlapi-5.32.0 libcrypt-openssl-rsa-perl : Depends: perl (>= 5.32.0-4) but 5.28.1-6+deb10u1 is to be installed Depends: perlapi-5.32.0 libfilesys-df-perl : Depends: perl (>= 5.32.0-4) but 5.28.1-6+deb10u1 is to be installed Depends: perlapi-5.32.0 libhttp-message-perl : Depends: libencode-perl (>= 3.01) libjson-xs-perl : Depends: perl (>= 5.32.0-4) but 5.28.1-6+deb10u1 is to be installed Depends: perlapi-5.32.0 liblinux-inotify2-perl : Depends: perl (>= 5.32.0-4) but 5.28.1-6+deb10u1 is to be installed Depends: perlapi-5.32.0 libnet-dbus-perl : Depends: perl (>= 5.32.0-4) but 5.28.1-6+deb10u1 is to be installed Depends: perlapi-5.32.0 libnet-ssleay-perl : Depends: perl (>= 5.32.0-4) but 5.28.1-6+deb10u1 is to be installed Depends: perlapi-5.32.0 libnetaddr-ip-perl : Depends: perl (>= 5.32.0-4) but 5.28.1-6+deb10u1 is to be installed Depends: perlapi-5.32.0 Recommends: libsocket6-perl but it is not going to be installed libpve-rs-perl : Depends: perlapi-5.32.1 libpve-u2f-server-perl : Depends: perlapi-5.32.0 libradosstriper1 : Depends: librados2 (= 15.2.13-pve1) but 12.2.11+dfsg1-2.1+b1 is to be installed librrds-perl : Depends: perlapi-5.32.0 libsmbclient : Depends: libwbclient0 (= 2:4.13.5+dfsg-2) but 2:4.9.5+dfsg-5+deb10u1 is to be installed libterm-readline-gnu-perl : Depends: perlapi-5.32.0 libuuid-perl : Depends: perl-base (>= 5.32.0-4) but 5.28.1-6+deb10u1 is to be installed Depends: perlapi-5.32.0 libxml-libxml-perl : Depends: perl (>= 5.32.0-4) but 5.28.1-6+deb10u1 is to be installed Depends: perlapi-5.32.0 libxml-parser-perl : Depends: perl (>= 5.32.0-5) but 5.28.1-6+deb10u1 is to be installed Depends: perlapi-5.32.0 libyaml-libyaml-perl : Depends: perl (>= 5.32.0-4) but 5.28.1-6+deb10u1 is to be installed Depends: perlapi-5.32.0 pve-cluster : Depends: perlapi-5.32.1 python3-cephfs : Depends: python3-ceph-argparse (= 15.2.13-pve1) but it is not going to be installed samba-libs : Depends: libldb2 (>= 2:2.2.0~) but it is not going to be installed Depends: libpython3.9 (>= 3.9.1) but it is not going to be installed Depends: libwbclient0 (= 2:4.13.5+dfsg-2) but 2:4.9.5+dfsg-5+deb10u1 is to be installed Depends: python3-ldb (>= 2:2.1.0) but it is not going to be installed Depends: python3-talloc (>= 2.3.1~) but it is not going to be installed smbclient : Depends: samba-common (= 2:4.13.5+dfsg-2) but 2:4.9.5+dfsg-5+deb10u1 is to be installed Depends: libwbclient0 (= 2:4.13.5+dfsg-2) but 2:4.9.5+dfsg-5+deb10u1 is to be installed E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

root@uatel:~# apt --fix-broken install
Reading package lists... Done Building dependency tree Reading state information... Done Correcting dependencies... Done The following packages were automatically installed and are no longer required: proxmox-archive-keyring python3-ceph-argparse python3-cephfs python3-rados Use 'apt autoremove' to remove them. The following additional packages will be installed: libapt-pkg-perl libcrypt-ssleay-perl libhtml-parser-perl libldb2 liblocale-gettext-perl libperl5.32 libpython3.9 librados2 librados2-perl librbd1 libtemplate-perl libtext-charwidth-perl libtext-iconv-perl libwbclient0 ncal perl perl-base perl-modules-5.32 python3-ceph-argparse python3-ldb python3-talloc samba-common Suggested packages: libdata-dump-perl libtemplate-plugin-gd-perl libtemplate-plugin-xml-perl perl-doc make libtap-harness-archive-perl Recommended packages: samba-common-bin The following packages will be REMOVED: ceph-common libldb1 libpve-guest-common-perl libpve-storage-perl proxmox-ve pve-container pve-ha-manager pve-manager pve-qemu-kvm python-cephfs qemu-server spiceterm The following NEW packages will be installed: libldb2 libperl5.32 libpython3.9 ncal perl-modules-5.32 python3-ceph-argparse python3-ldb python3-talloc The following packages will be upgraded: libapt-pkg-perl libcrypt-ssleay-perl libhtml-parser-perl liblocale-gettext-perl librados2 librados2-perl librbd1 libtemplate-perl libtext-charwidth-perl libtext-iconv-perl libwbclient0 perl perl-base samba-common 14 upgraded, 8 newly installed, 12 to remove and 108 not upgraded. 112 not fully installed or removed. Need to get 0 B/16.9 MB of archives. After this operation, 269 MB disk space will be freed. Do you want to continue? [Y/n] y W: (pve-apt-hook) !! WARNING !! W: (pve-apt-hook) You are attempting to remove the meta-package 'proxmox-ve'! W: (pve-apt-hook) W: (pve-apt-hook) If you really want to permanently remove 'proxmox-ve' from your system, run the following command W: (pve-apt-hook) touch '/please-remove-proxmox-ve' W: (pve-apt-hook) run apt purge proxmox-ve to remove the meta-package W: (pve-apt-hook) and repeat your apt invocation. W: (pve-apt-hook) W: (pve-apt-hook) If you are unsure why 'proxmox-ve' would be removed, please verify W: (pve-apt-hook) - your APT repository settings W: (pve-apt-hook) - that you are using 'apt full-upgrade' to upgrade your system E: Sub-process /usr/share/proxmox-ve/pve-apt-hook returned an error code (1) E: Failure running script /usr/share/proxmox-ve/pve-apt-hook root@uatel:~# apt-get dist-upgrade Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt --fix-broken install' to correct these. The following packages have unmet dependencies: bsdmainutils : Depends: ncal but it is not installed libanyevent-perl : Depends: perlapi-5.32.0 Recommends: libasync-interrupt-perl but it is not installed Recommends: libev-perl but it is not installed or libevent-perl but it is not installed Recommends: libguard-perl but it is not installed libauthen-pam-perl : Depends: perl (>= 5.32.0-4) but 5.28.1-6+deb10u1 is installed Depends: perlapi-5.32.0 libclone-perl : Depends: perl (>= 5.32.0-4) but 5.28.1-6+deb10u1 is installed Depends: perlapi-5.32.0 libcommon-sense-perl : Depends: perl (>= 5.32.1~) but 5.28.1-6+deb10u1 is installed Depends: perlapi-5.32.1 libcrypt-openssl-bignum-perl : Depends: perl (>= 5.32.0-4) but 5.28.1-6+deb10u1 is installed Depends: perlapi-5.32.0 libcrypt-openssl-random-perl : Depends: perl (>= 5.32.0-4) but 5.28.1-6+deb10u1 is installed Depends: perlapi-5.32.0 libcrypt-openssl-rsa-perl : Depends: perl (>= 5.32.0-4) but 5.28.1-6+deb10u1 is installed Depends: perlapi-5.32.0 libfilesys-df-perl : Depends: perl (>= 5.32.0-4) but 5.28.1-6+deb10u1 is installed Depends: perlapi-5.32.0 libhttp-message-perl : Depends: libencode-perl (>= 3.01) libjson-xs-perl : Depends: perl (>= 5.32.0-4) but 5.28.1-6+deb10u1 is installed Depends: perlapi-5.32.0 liblinux-inotify2-perl : Depends: perl (>= 5.32.0-4) but 5.28.1-6+deb10u1 is installed Depends: perlapi-5.32.0 libnet-dbus-perl : Depends: perl (>= 5.32.0-4) but 5.28.1-6+deb10u1 is installed Depends: perlapi-5.32.0 libnet-ssleay-perl : Depends: perl (>= 5.32.0-4) but 5.28.1-6+deb10u1 is installed Depends: perlapi-5.32.0 libnetaddr-ip-perl : Depends: perl (>= 5.32.0-4) but 5.28.1-6+deb10u1 is installed Depends: perlapi-5.32.0 Recommends: libsocket6-perl but it is not installed libpve-rs-perl : Depends: perlapi-5.32.1 libpve-u2f-server-perl : Depends: perlapi-5.32.0 libradosstriper1 : Depends: librados2 (= 15.2.13-pve1) but 12.2.11+dfsg1-2.1+b1 is installed librrds-perl : Depends: perlapi-5.32.0 libsmbclient : Depends: libwbclient0 (= 2:4.13.5+dfsg-2) but 2:4.9.5+dfsg-5+deb10u1 is installed libterm-readline-gnu-perl : Depends: perlapi-5.32.0 libuuid-perl : Depends: perl-base (>= 5.32.0-4) but 5.28.1-6+deb10u1 is installed Depends: perlapi-5.32.0 libxml-libxml-perl : Depends: perl (>= 5.32.0-4) but 5.28.1-6+deb10u1 is installed Depends: perlapi-5.32.0 libxml-parser-perl : Depends: perl (>= 5.32.0-5) but 5.28.1-6+deb10u1 is installed Depends: perlapi-5.32.0 libyaml-libyaml-perl : Depends: perl (>= 5.32.0-4) but 5.28.1-6+deb10u1 is installed Depends: perlapi-5.32.0 pve-cluster : Depends: perlapi-5.32.1 python3-cephfs : Depends: python3-ceph-argparse (= 15.2.13-pve1) but it is not installed samba-libs : Depends: libldb2 (>= 2:2.2.0~) but it is not installed Depends: libpython3.9 (>= 3.9.1) but it is not installed Depends: libwbclient0 (= 2:4.13.5+dfsg-2) but 2:4.9.5+dfsg-5+deb10u1 is installed Depends: python3-ldb (>= 2:2.1.0) but it is not installed Depends: python3-talloc (>= 2.3.1~) but it is not installed smbclient : Depends: samba-common (= 2:4.13.5+dfsg-2) but 2:4.9.5+dfsg-5+deb10u1 is installed Depends: libwbclient0 (= 2:4.13.5+dfsg-2) but 2:4.9.5+dfsg-5+deb10u1 is installed E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution). root@uatel:~#
root@uatel:~# qm
Can't locate Net/SSLeay.pm in @INC (you may need to install the Net::SSLeay module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.28.1 /usr/local/share/perl/5.28.1 /usr/lib/x86_64-linux-gnu/perl5/5.28 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.28 /usr/share/perl/5.28 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /usr/share/perl5/PVE/Cluster.pm line 10.
BEGIN failed--compilation aborted at /usr/share/perl5/PVE/Cluster.pm line 10.
Compilation failed in require at /usr/share/perl5/PVE/CLI/qm.pm line 18.
BEGIN failed--compilation aborted at /usr/share/perl5/PVE/CLI/qm.pm line 18.
Compilation failed in require at /usr/sbin/qm line 6.
BEGIN failed--compilation aborted at /usr/sbin/qm line 6.
root@uatel:~#
 
After the update, I completely lost the entire proxmox shell, I did not make backup copies of virtual machines, is there at least some chance to save data from these virtual machines? the file system remains the same
 
Hit:5 http://download.proxmox.com/debian/pve stretch InRelease

you still have the stretch repository reference somewhere !

don't play with systems without doing backups first
don't start command you don't fully understand too

as long as you see the apt update referencing bad repositories don't do upgrade

your vm definitions are in :
/etc/pve/lxc
/etc/pve/qemu-server
but your vm and lxc data are in the repositories you used to provision your vms/lxc (local dir, zfs, nfs, ceph ... ?)
 
Hit:5 http://download.proxmox.com/debian/pve stretch InRelease

you still have the stretch repository reference somewhere !

don't play with systems without doing backups first
don't start command you don't fully understand too

as long as you see the apt update referencing bad repositories don't do upgrade

your vm definitions are in :
/etc/pve/lxc
/etc/pve/qemu-server
but your vm and lxc data are in the repositories you used to provision your vms/lxc (local dir, zfs, nfs, ceph ... ?)
root@uatel:~# apt update
Hit:1 http://ftp.debian.org/debian bullseye InRelease Hit:2 http://security.debian.org/debian-security bullseye-security InRelease Hit:3 http://ftp.debian.org/debian bullseye-updates InRelease Hit:4 http://download.proxmox.com/debian/pve bullseye InRelease Hit:5 http://download.proxmox.com/debian/ceph-octopus bullseye InRelease Reading package lists... Done Building dependency tree Reading state information... Done 135 packages can be upgraded. Run 'apt list --upgradable' to see them.
root@uatel:~#

root@uatel:~# apt-get dist-upgrade
Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt --fix-broken install' to correct these. The following packages have unmet dependencies: bsdmainutils : Depends: ncal but it is not installed libanyevent-perl : Depends: perlapi-5.32.0 Recommends: libasync-interrupt-perl but it is not installed Recommends: libev-perl but it is not installed or libevent-perl but it is not installed Recommends: libguard-perl but it is not installed libauthen-pam-perl : Depends: perl (>= 5.32.0-4) but 5.28.1-6+deb10u1 is installed Depends: perlapi-5.32.0 libclone-perl : Depends: perl (>= 5.32.0-4) but 5.28.1-6+deb10u1 is installed Depends: perlapi-5.32.0 libcommon-sense-perl : Depends: perl (>= 5.32.1~) but 5.28.1-6+deb10u1 is installed Depends: perlapi-5.32.1 libcrypt-openssl-bignum-perl : Depends: perl (>= 5.32.0-4) but 5.28.1-6+deb10u1 is installed Depends: perlapi-5.32.0 libcrypt-openssl-random-perl : Depends: perl (>= 5.32.0-4) but 5.28.1-6+deb10u1 is installed Depends: perlapi-5.32.0 libcrypt-openssl-rsa-perl : Depends: perl (>= 5.32.0-4) but 5.28.1-6+deb10u1 is installed Depends: perlapi-5.32.0 libfilesys-df-perl : Depends: perl (>= 5.32.0-4) but 5.28.1-6+deb10u1 is installed Depends: perlapi-5.32.0 libhttp-message-perl : Depends: libencode-perl (>= 3.01) libjson-xs-perl : Depends: perl (>= 5.32.0-4) but 5.28.1-6+deb10u1 is installed Depends: perlapi-5.32.0 liblinux-inotify2-perl : Depends: perl (>= 5.32.0-4) but 5.28.1-6+deb10u1 is installed Depends: perlapi-5.32.0 libnet-dbus-perl : Depends: perl (>= 5.32.0-4) but 5.28.1-6+deb10u1 is installed Depends: perlapi-5.32.0 libnet-ssleay-perl : Depends: perl (>= 5.32.0-4) but 5.28.1-6+deb10u1 is installed Depends: perlapi-5.32.0 libnetaddr-ip-perl : Depends: perl (>= 5.32.0-4) but 5.28.1-6+deb10u1 is installed Depends: perlapi-5.32.0 Recommends: libsocket6-perl but it is not installed libpve-rs-perl : Depends: perlapi-5.32.1 libpve-u2f-server-perl : Depends: perlapi-5.32.0 libradosstriper1 : Depends: librados2 (= 15.2.13-pve1) but 12.2.11+dfsg1-2.1+b1 is installed librrds-perl : Depends: perlapi-5.32.0 libsmbclient : Depends: libwbclient0 (= 2:4.13.5+dfsg-2) but 2:4.9.5+dfsg-5+deb10u1 is installed libterm-readline-gnu-perl : Depends: perlapi-5.32.0 libuuid-perl : Depends: perl-base (>= 5.32.0-4) but 5.28.1-6+deb10u1 is installed Depends: perlapi-5.32.0 libxml-libxml-perl : Depends: perl (>= 5.32.0-4) but 5.28.1-6+deb10u1 is installed Depends: perlapi-5.32.0 libxml-parser-perl : Depends: perl (>= 5.32.0-5) but 5.28.1-6+deb10u1 is installed Depends: perlapi-5.32.0 libyaml-libyaml-perl : Depends: perl (>= 5.32.0-4) but 5.28.1-6+deb10u1 is installed Depends: perlapi-5.32.0 pve-cluster : Depends: perlapi-5.32.1 python3-cephfs : Depends: python3-ceph-argparse (= 15.2.13-pve1) but it is not installed samba-libs : Depends: libldb2 (>= 2:2.2.0~) but it is not installed Depends: libpython3.9 (>= 3.9.1) but it is not installed Depends: libwbclient0 (= 2:4.13.5+dfsg-2) but 2:4.9.5+dfsg-5+deb10u1 is installed Depends: python3-ldb (>= 2:2.1.0) but it is not installed Depends: python3-talloc (>= 2.3.1~) but it is not installed smbclient : Depends: samba-common (= 2:4.13.5+dfsg-2) but 2:4.9.5+dfsg-5+deb10u1 is installed Depends: libwbclient0 (= 2:4.13.5+dfsg-2) but 2:4.9.5+dfsg-5+deb10u1 is installed E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
root@uatel:~#
 

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!