Trying to Upgrade from 5.4-15 to 6.2 and this keeps coming up Sub-process /usr/share/proxmox-ve/pve-apt-hook returned an error code (1)

Lonnon Jensen

Member
Mar 21, 2019
10
0
21
44
Code:
root@pve:~#  apt 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:
  aufs-dkms aufs-tools cgroupfs-mount containerd.io dkms docker-ce-cli libdbus-glib-1-2 libfdt1 libfile-copy-recursive-perl libltdl7 liblttng-ust-ctl2
  libpve-u2f-server-perl libu2f-server0 linux-compiler-gcc-6-x86 linux-compiler-gcc-8-x86 linux-headers-4.19.0-10-amd64 linux-headers-4.19.0-10-common
  linux-headers-4.9.0-11-amd64 linux-headers-4.9.0-11-common linux-headers-4.9.0-12-amd64 linux-headers-4.9.0-12-common linux-headers-4.9.0-13-amd64
  linux-headers-4.9.0-13-common linux-headers-4.9.0-8-amd64 linux-headers-4.9.0-8-common linux-headers-4.9.0-9-amd64 linux-headers-4.9.0-9-common linux-headers-amd64
  linux-kbuild-4.19 linux-kbuild-4.9 proxmox-archive-keyring proxmox-mini-journalreader python-pyasn1 sudo update-inetd
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
  libkdb5-8 libpve-access-control libpve-guest-common-perl libpve-storage-perl librados2-perl libtirpc1 proxmox-ve pve-cluster pve-container pve-firewall pve-ha-manager
  pve-libspice-server1 pve-manager qemu-server
The following NEW packages will be installed:
  binutils-common binutils-x86-64-linux-gnu build-essential cpp-8 dbus-user-session dconf-gsettings-backend dconf-service dirmngr dpkg-dev fdisk g++ g++-8 gcc-7-base
  gcc-8 gcc-8-base glib-networking glib-networking-common glib-networking-services gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpg-wks-server gpgconf gpgsm
  gsettings-desktop-schemas gstreamer1.0-libav gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-x i965-va-driver ibverbs-providers intel-media-va-driver
  libaa1 libaacs0 libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libaom0 libappstream4 libargon2-1 libasan5 libass9 libavc1394-0 libavcodec58
  libavfilter7 libavformat58 libavutil56 libbdplus0 libbind9-161 libbinutils libbluray2 libbs2b0 libcairo-gobject2 libcdparanoia0 libchromaprint1 libcodec2-0.8.1
  libcroco3 libcryptsetup12 libcrystalhd3 libdata-dump-perl libdconf1 libdigest-bubblebabble-perl libdns-export1104 libdns1104 libdpkg-perl libdrm-amdgpu1 libdrm-common
  libdrm-intel1 libdrm-nouveau2 libdrm-radeon1 libdrm2 libdv4 libevent-2.1-6 libfftw3-double3 libfile-fcntllock-perl libflite1 libfribidi0 libfstrm0 libfuse3-3
  libgcc-8-dev libgdbm-compat4 libgdbm6 libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-bin libgdk-pixbuf2.0-common libgfapi0 libgfchangelog0 libgfdb0 libgfortran5 libgfrpc0
  libgfxdr0 libgl1 libgl1-mesa-dri libglapi-mesa libglusterfs-dev libglusterfs0 libglvnd0 libglx-mesa0 libglx0 libgme0 libgpg-error-l10n libgsm1
  libgstreamer-plugins-base1.0-0 libgudev-1.0-0 libicu63 libiec61883-0 libigdgmm5 libipset11 libirs161 libisc-export1100 libisc1100 libisccc161 libisccfg163 libisl19
  libjack-jackd2-0 libjansson4 libjbig0 libjemalloc2 libkdb5-9 liblilv-0-0 libllvm7 liblmdb0 liblttng-ust-ctl4 liblvm2cmd2.03 liblwres161 libmp3lame0 libmpfr6
  libmpg123-0 libmysofa0 libncurses6 libncursesw6 libnet-dns-sec-perl libnet-libidn-perl libnftables0 libnftnl11 libnorm1 libnss-systemd libopenjp2-7 libopenmpt0
  liborc-0.4-0 libpciaccess0 libpcre2-8-0 libperl5.28 libpgm-5.2-0 libpostproc55 libprocps7 libprotobuf17 libproxmox-backup-qemu0 libproxy1v5 libpython2-stdlib
  libpython3.7 libpython3.7-minimal libpython3.7-stdlib libraw1394-11 librsvg2-2 librsvg2-common librubberband2 libsamplerate0 libsensors-config libsensors5 libserd-0-0
  libshine3 libshout3 libsodium23 libsord-0-0 libsoup2.4-1 libsoxr0 libspeex1 libspice-server1 libsratom-0-0 libssh-gcrypt-4 libstdc++-8-dev libstemmer0d libswresample3
  libswscale5 libtag1v5 libtag1v5-vanilla libtheora0 libtiff5 libtinfo6 libtirpc-common libtirpc3 libtry-tiny-perl libtwolame0 libubsan1 libuchardet0 libunbound8
  liburcu6 libv4l-0 libv4lconvert0 libva-drm2 libva-x11-2 libva2 libvdpau-va-gl1 libvdpau1 libvidstab1.1 libvisual-0.4-0 libvorbisfile3 libvpx5 libwavpack1 libwebp6
  libwebpmux3 libx264-155 libx265-165 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-sync1 libxcb-xfixes0 libxdamage1 libxfixes3 libxshmfence1 libxv1
  libxvidcore4 libxxf86vm1 libyaml-0-2 libzmq5 libzvbi-common libzvbi0 linux-compiler-gcc-8-x86 linux-headers-4.19.0-10-amd64 linux-headers-4.19.0-10-common
  linux-kbuild-4.19 mesa-va-drivers mesa-vdpau-drivers nftables nmap-common perl-modules-5.28 python-asn1crypto python-backports.functools-lru-cache python-certifi
  python-configparser python-future python-gpg python-simplejson python-soupsieve python2 python2-minimal python3-asn1crypto python3-certifi python3-cffi-backend
  python3-cryptography python3-debconf python3-distro-info python3-distutils python3-idna python3-jwt python3-lib2to3 python3-prettytable python3.7 python3.7-minimal
  shared-mime-info usb.ids va-driver-all vdpau-driver-all zfs-zed
The following packages have been kept back:
  curl libpve-common-perl libpve-http-server-perl
 
Last edited by a moderator:
Code:
The following packages will be upgraded:
  adduser apparmor apt apt-listchanges apt-transport-https apt-utils attr aufs-dkms aufs-tools base-files base-passwd bash bash-completion bc bind9-host binutils
  bridge-utils bsd-mailx bsdmainutils bsdutils btrfs-progs busybox bzip2 ca-certificates cgroupfs-mount cifs-utils console-setup console-setup-linux coreutils corosync
  cpio cpp criu cron cryptsetup-bin cstream dash dbus debconf debconf-i18n debian-archive-keyring debian-faq debianutils dh-python diffutils distro-info-data dkms
  dmeventd dmidecode dmsetup dnsutils dosfstools dpkg dtach ebtables efibootmgr fakeroot faketime fdutils file findutils fontconfig fontconfig-config fonts-font-awesome
  fuse gcc gdisk gettext-base gir1.2-glib-2.0 gir1.2-packagekitglib-1.0 git git-man glusterfs-client glusterfs-common gnupg gnupg-agent gnupg2 gpgv grep groff-base
  grub-common grub-efi-amd64-bin grub-efi-ia32-bin grub-pc grub-pc-bin grub2-common gzip hdparm hostname ifupdown init init-system-helpers initramfs-tools
  initramfs-tools-core iperf iproute2 ipset iptables iputils-ping isc-dhcp-client isc-dhcp-common iso-codes kbd keyboard-configuration keyutils klibc-utils kmod
  krb5-locales ksm-control-daemon less libacl1 libacl1-dev libaio1 libanyevent-http-perl libanyevent-perl libapparmor-perl libapparmor1 libappconfig-perl libapt-inst2.0
  libapt-pkg-perl libapt-pkg5.0 libarchive13 libasound2 libasound2-data libasprintf0v5 libassuan0 libatomic1 libattr1 libattr1-dev libaudit-common libaudit1
  libauthen-pam-perl libavahi-client3 libavahi-common-data libavahi-common3 libbabeltrace-ctf1 libbabeltrace1 libblas3 libblkid1 libbsd0 libbytes-random-secure-perl
  libbz2-1.0 libcaca0 libcairo2 libcap-ng0 libcap2 libcap2-bin libcc1-0 libcfg7 libcilkrts5 libclass-isa-perl libclone-perl libcmap4 libcommon-sense-perl
  libcorosync-common4 libcpg4 libcrypt-openssl-bignum-perl libcrypt-openssl-random-perl libcrypt-openssl-rsa-perl libcrypt-ssleay-perl libcups2 libcurl3-gnutls
  libdatrie1 libdb5.3 libdbi1 libdbus-1-3 libdbus-glib-1-2 libdebconfclient0 libdevel-cycle-perl libdevmapper-event1.02.1 libdevmapper1.02.1 libdigest-hmac-perl libdw1
  libedit2 libefiboot1 libefivar1 libelf1 liberror-perl libestr0 libev-perl libev4 libexpat1 libfakeroot libfaketime libfastjson4 libfcgi0ldbl libfdisk1 libfdt1 libffi6
  libfile-copy-recursive-perl libfile-readbackwards-perl libfile-sync-perl libfilesys-df-perl libflac8 libfontconfig1 libfreetype6 libfuse2 libgc1c2 libgcc1 libgcrypt20
  libgeoip1 libgirepository-1.0-1 libglib2.0-0 libglib2.0-bin libglib2.0-data libgmp10 libgnutls-openssl27 libgnutls30 libgnutlsxx28 libgomp1 libgoogle-perftools4
  libgpg-error0 libgpgme11 libgraphite2-3 libgssapi-krb5-2 libgssglue1 libgssrpc4 libgstreamer1.0-0 libharfbuzz0b libhogweed4 libhtml-parser-perl libhtml-tree-perl
  libhttp-cookies-perl libhttp-daemon-perl libhttp-message-perl libhttp-negotiate-perl libibverbs1 libidn11 libio-socket-ssl-perl libio-stringy-perl libip4tc0 libip6tc0
  libiptc0 libiscsi7 libisns0 libitm1 libjpeg62-turbo libjs-extjs libjs-jquery libjs-sphinxdoc libjs-underscore libjson-c3 libjson-perl libjson-xs-perl libk5crypto3
  libkadm5clnt-mit11 libkadm5srv-mit11 libkeyutils1 libklibc libkmod2 libknet1 libkrad0 libkrb5-3 libkrb5support0 libldap-2.4-2 libldap-common libldb1 liblinear3
  liblinux-inotify2-perl liblocale-gettext-perl liblockfile-bin liblockfile1 liblognorm5 liblsan0 libltdl7 liblttng-ust0 liblua5.3-0 liblwp-protocol-https-perl liblz4-1
  liblzma5 liblzo2-2 libmagic-mgc libmagic1 libmath-bigint-perl libmath-random-isaac-perl libmime-base32-perl libmount1 libmpc3 libmpdec2 libmpx2 libncurses5
  libncursesw5 libnet-dbus-perl libnet-dns-perl libnet-http-perl libnet-ip-perl libnet-ssleay-perl libnet1 libnetfilter-conntrack3 libnetfilter-log1 libnettle6
  libnewt0.52 libnfnetlink0 libnghttp2-14 libnl-3-200 libnl-route-3-200 libnpth0 libnspr4 libnss3 libnuma1 libnvpair1linux libogg0 libopus0 libp11-kit0
  libpackagekit-glib2-18 libpam-modules libpam-modules-bin libpam-runtime libpam-systemd libpam0g libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libparted2
  libpcap0.8 libpcre3 libpipeline1 libpixman-1-0 libpng16-16 libpolkit-agent-1-0 libpolkit-backend-1-0 libpolkit-gobject-1-0 libpopt0 libprotobuf-c1 libpsl5 libpulse0
  libpve-apiclient-perl libpve-u2f-server-perl libpython-stdlib libpython2.7 libpython2.7-minimal libpython2.7-stdlib libpython3-stdlib libqb0 libquadmath0 libquorum5
  librdmacm1 libreadline5 libreadline7 librrd8 librrds-perl librtmp1 libsasl2-2 libsasl2-modules-db libsdl1.2debian libseccomp2 libselinux1 libsemanage-common
  libsemanage1 libsepol1 libslang2 libsm6 libsmartcols1 libsmbclient libsnappy1v5 libsndfile1 libsocket6-perl libsqlite3-0 libss2 libssh2-1 libssl1.1 libstatgrab10
  libstdc++6 libstring-shellquote-perl libsystemd0 libtalloc2 libtasn1-6 libtcmalloc-minimal4 libtdb1 libtemplate-perl libterm-readline-gnu-perl libtevent0
  libtext-charwidth-perl libtext-iconv-perl libthai-data libthai0 libtimedate-perl libtinfo5 libtokyocabinet9 libtsan0 libu2f-server0 libubsan0 libudev1 libunwind8
  liburi-perl libusb-1.0-0 libusbredirparser1 libuuid-perl libuuid1 libuutil1linux libverto-libev1 libverto1 libvorbis0a libvorbisenc2 libvotequorum8 libwbclient0
  libwgdb0 libwrap0 libwww-perl libwww-robotrules-perl libx11-6 libx11-data libx11-xcb1 libxapian30 libxau6 libxcb-render0 libxcb-shm0 libxcb1 libxml-libxml-perl
  libxml-namespacesupport-perl libxml-parser-perl libxml-sax-base-perl libxml-sax-perl libxml-twig-perl libxml2 libxslt1.1 libxtables12 libzfs2linux libzpool2linux
  libzstd1 linux-base linux-headers-amd64 linux-libc-dev login logrotate lsb-base lsb-release lshw lsof lvm2 lxc-pve lxcfs lynx lynx-common make man-db manpages
  mime-support mount multiarch-support nano ncurses-base ncurses-bin ncurses-term net-tools netbase netcat-traditional nfs-common nfs-kernel-server nmap novnc-pve
  numactl omping open-iscsi openssh-client openssh-server openssh-sftp-server openssl openvswitch-common openvswitch-switch packagekit packagekit-tools parted passwd
  patch perl perl-base pigz pinentry-curses policykit-1 postfix postfix-sqlite procmail procps proxmox-mini-journalreader proxmox-widget-toolkit psmisc pve-docs
  pve-edk2-firmware pve-firmware pve-i18n pve-qemu-kvm pve-xtermjs python python-apt-common python-bs4 python-cffi-backend python-chardet python-cherrypy3 python-click
  python-crypto python-cryptography python-dnspython python-enum34 python-flask python-formencode python-idna python-ipaddr python-jinja2 python-ldb python-mako
  python-markupsafe python-minimal python-openssl python-paste python-pastedeploy python-pastedeploy-tpl python-pecan python-pkg-resources python-prettytable
  python-protobuf python-pyasn1 python-repoze.lru python-requests python-routes python-samba python-setuptools python-simplegeneric python-six python-talloc python-tdb
  python-urllib3 python-waitress python-webob python-webtest python-werkzeug python2.7 python2.7-minimal python3 python3-apt python3-chardet python3-dbus python3-debian
  python3-debianbts python3-gi python3-httplib2 python3-minimal python3-pkg-resources python3-pycurl python3-pysimplesoap python3-reportbug python3-requests python3-six
  python3-software-properties python3-urllib3 readline-common reportbug rpcbind rrdcached rsync rsyslog samba samba-common samba-common-bin samba-dsdb-modules
  samba-libs samba-vfs-modules sed sensible-utils smartmontools smbclient socat software-properties-common spiceterm spl sqlite3 ssh strace sudo systemd systemd-sysv
  sysvinit-utils tar tasksel tasksel-data tcpdump tdb-tools telnet thin-provisioning-tools tzdata ucf udev uidmap unattended-upgrades update-inetd usbutils util-linux
  uuid-runtime vim-common vim-tiny vncterm wamerican wget whiptail xfsprogs xkb-data xsltproc xxd xz-utils zfs-initramfs zfsutils-linux zlib1g
602 upgraded, 259 newly installed, 14 to remove and 3 not upgraded.
Need to get 0 B/439 MB of archives.
After this operation, 1,064 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
W: (pve-apt-hook) !! WARNING !!
W: (pve-apt-hook) You are attempting to remove the meta-package 'proxmox-ve'!
W: (pve-apt-hook)
W: (pve-apt-hook) If you really want to permanently remove 'proxmox-ve' from your system, run the following command
W: (pve-apt-hook)       touch '/please-remove-proxmox-ve'
W: (pve-apt-hook) run apt purge proxmox-ve to remove the meta-package
W: (pve-apt-hook) and repeat your apt invocation.
W: (pve-apt-hook)
W: (pve-apt-hook) If you are unsure why 'proxmox-ve' would be removed, please verify
W: (pve-apt-hook)       - your APT repository settings
W: (pve-apt-hook)       - that you are using 'apt full-upgrade' to upgrade your system
E: Sub-process /usr/share/proxmox-ve/pve-apt-hook returned an error code (1)
E: Failure running script /usr/share/proxmox-ve/pve-apt-hook
 
Last edited by a moderator:
cat /etc/apt/sources.list
deb http://ftp.debian.org/debian buster main contrib
deb http://ftp.debian.org/debian buster-updates main contrib

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

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

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

pveversion -v
proxmox-ve: 6.2-2 (running kernel: 5.4.60-1-pve)
pve-manager: 5.4-15 (running version: 5.4-15/d0ec33c6)
pve-kernel-5.4: 6.2-6
pve-kernel-helper: 6.2-6
pve-kernel-5.4.60-1-pve: 5.4.60-2
pve-kernel-4.15: 5.4-19
pve-kernel-4.15.18-30-pve: 4.15.18-58
pve-kernel-4.15.18-29-pve: 4.15.18-57
pve-kernel-4.15.18-28-pve: 4.15.18-56
pve-kernel-4.15.18-27-pve: 4.15.18-55
pve-kernel-4.15.18-26-pve: 4.15.18-54
pve-kernel-4.15.18-25-pve: 4.15.18-53
pve-kernel-4.15.18-24-pve: 4.15.18-52
pve-kernel-4.15.18-21-pve: 4.15.18-48
pve-kernel-4.15.18-20-pve: 4.15.18-46
pve-kernel-4.15.18-18-pve: 4.15.18-44
pve-kernel-4.15.18-16-pve: 4.15.18-41
pve-kernel-4.15.18-15-pve: 4.15.18-40
pve-kernel-4.15.18-12-pve: 4.15.18-36
pve-kernel-4.15.18-11-pve: 4.15.18-34
pve-kernel-4.15.18-10-pve: 4.15.18-32
pve-kernel-4.15.18-9-pve: 4.15.18-30
pve-kernel-4.15.18-7-pve: 4.15.18-27
pve-kernel-4.15.18-5-pve: 4.15.18-24
pve-kernel-4.15.17-1-pve: 4.15.17-9
ceph: 12.2.13-pve1~bpo9
corosync: 3.0.4-pve1~bpo9
criu: 2.11.1-1~bpo90
glusterfs-client: 3.8.8-1
ksm-control-daemon: 1.2-2
libjs-extjs: 6.0.1-2
libpve-access-control: 5.1-12
libpve-apiclient-perl: 2.0-5
libpve-common-perl: 5.0-56
libpve-guest-common-perl: 2.0-20
libpve-http-server-perl: 2.0-14
libpve-storage-perl: 5.0-44
libqb0: 1.0.5-1~bpo9+2
lvm2: 2.02.168-pve6
lxc-pve: 3.1.0-7
lxcfs: 3.0.3-pve1
novnc-pve: 1.0.0-3
openvswitch-switch: 2.7.0-3
proxmox-widget-toolkit: 1.0-28
pve-cluster: 5.0-38
pve-container: 2.0-42
pve-docs: 5.4-2
pve-edk2-firmware: 1.20190312-1
pve-firewall: 3.0-22
pve-firmware: 2.0-7
pve-ha-manager: 2.0-9
pve-i18n: 1.1-4
pve-libspice-server1: 0.14.1-2
pve-qemu-kvm: 3.0.1-4
pve-xtermjs: 3.12.0-1
qemu-server: 5.0-56
smartmontools: 6.5+svn4324-1
spiceterm: 3.0-5
vncterm: 1.5-3
zfsutils-linux: 0.7.13-pve1~bpo2
 
This may help as well
pve5to6
= CHECKING VERSION INFORMATION FOR PVE PACKAGES =

Checking for package updates..
WARN: updates for the following packages are available:
libpam0g, libmpc3, libmpfr6, debconf, proxmox-widget-toolkit, libusbredirparser1, cryptsetup-bin, libcryptsetup12, corosync, manpages, perl-base, init, libpolkit-gobject-1-0, python-six, libmpx2, gcc-8-base, libcrypt-ssleay-perl, libgnutlsxx28, libhttp-daemon-perl, libio-socket-ip-perl, libbytes-random-secure-perl, init-system-helpers, libdevmapper1.02.1, iso-codes, libssh2-1, libusb-1.0-0, libldb1, liblmdb0, libefivar1, libhttp-message-perl, python-tdb, dmsetup, libnl-route-3-200, fuse, libkrb5-3, dosfstools, libgssapi-krb5-2, libsnappy1v5, glusterfs-client, liblttng-ust0, liburcu6, liblttng-ust-ctl4, libpangoft2-1.0-0, libcmap4, postfix, libicu63, libwww-robotrules-perl, libnghttp2-14, libseccomp2, libpackagekit-glib2-18, librrds-perl, libpve-access-control, libpve-cluster-perl, diffutils, fonts-font-awesome, proxmox-mini-journalreader, libaudit-common, libpopt0, libcups2, libdbus-1-3, libsemanage1, uuid-runtime, python-openssl, sysvinit-utils, libfdisk1, iptables, libnftnl11, liblockfile-bin, bc, libncurses6, libtinfo6, python-samba, libterm-readline-gnu-perl, libtinfo6, libsasl2-modules-db, libnet-ssleay-perl, linux-libc-dev, ifupdown, libxml-sax-base-perl, vim-common, gnupg-agent, gpg-agent, libapt-inst2.0, libldap-2.4-2, libpve-storage-perl, libpve-cluster-perl, proxmox-backup-client, libxapian30, python3-software-properties, python-pastedeploy, libpam-modules, python-click, openssl, strace, libdw1, aufs-tools, libgirepository-1.0-1, python-markupsafe, tasksel-data, libacl1-dev, libibverbs1, libfakeroot, libgnutls-openssl27, libev4, libwbclient0, aufs-dkms, git-man, libjson-perl, libsystemd0, libxml-sax-perl, python-dnspython, base-passwd, libfile-sync-perl, dash, libhttp-negotiate-perl, grub-common, python-requests, python-certifi, pve-firmware, apt, libacl1, libparted2, lynx-common, ipset, libipset11, liblinear3, efibootmgr, dbus, libkmod2, libpsl5, debconf-i18n, libpixman-1-0, libasound2-data, python2.7-minimal, bridge-utils, libmount1, tcpdump, samba, libquorum5, libcrypt-openssl-random-perl, libsqlite3-0, samba-dsdb-modules, postfix-sqlite, ksm-control-daemon, libbz2-1.0, pve-qemu-kvm, libjemalloc2, libspice-server1, libproxmox-backup-qemu0, libelf1, python3-urllib3, binutils, binutils-common, libbinutils, binutils-x86-64-linux-gnu, cpp, cpp-8, libmime-base32-perl, libgpgme11, bsdmainutils, libtinfo6, libogg0, libasprintf0v5, libgpg-error0, libbsd0, bind9-host, libbind9-161, libdns1104, libisc1100, libisccfg163, liblwres161, libfstrm0, liblmdb0, dtach, libclass-isa-perl, libdevmapper-event1.02.1, libarchive13, zlib1g, libitm1, gcc-8-base, debian-faq, lshw, libwrap0, libanyevent-http-perl, libavahi-common-data, lsof, open-iscsi, dnsutils, libbind9-161, libdns1104, libisc1100, libisccfg163, liblwres161, libfstrm0, libirs161, liblmdb0, libgmp10, libefiboot1, libavahi-common3, sudo, python3-pysimplesoap, liblognorm5, libpython2.7, nfs-kernel-server, libtirpc3, libfilesys-df-perl, libncurses5, python2.7, python-pecan, libbabeltrace1, console-setup-linux, nano, libncursesw6, libtinfo6, linux-base, pve-docs, netbase, util-linux, fdisk, libnuma1, libdbi1, libnet-dns-perl, libuuid-perl, pve-ha-manager, libpve-cluster-perl, libjs-jquery, python-apt-common, gcc, gcc-8, dmeventd, liblvm2cmd2.03, coreutils, libjs-underscore, zfs-initramfs, liblocale-gettext-perl, git, libpcre2-8-0, openssh-sftp-server, libthai-data, python3, python3.7, libaio1, cgroupfs-mount, lvm2, libsepol1, libpolkit-agent-1-0, libk5crypto3, grub2-common, pve-firewall, libpve-cluster-perl, libjs-extjs, ebtables, tdb-tools, libip6tc0, udev, libcilkrts5, gcc-7-base, console-setup, mime-support, python-chardet, libxcb-shm0, libfastjson4, passwd, rrdcached, procps, libncurses6, libncursesw6, libprocps7, libtinfo6, python3-six, pve-container, libpve-cluster-perl, pve-lxc-syscalld, libsasl2-2, readline-common, libxcb-render0, librdmacm1, libquadmath0, gcc-8-base, libklibc, libpam-runtime, libwww-perl, libtry-tiny-perl, libpipeline1, isc-dhcp-common, libmagic1, xkb-data, libassuan0, libapt-pkg5.0, lynx, libncursesw6, libtinfo6, packagekit-tools, libstring-shellquote-perl, python, python2, libmpdec2, kbd, dkms, dpkg-dev, grub-pc, libncursesw5, fontconfig-config, libnet-http-perl, libqb0, libx11-6, libopus0, libanyevent-perl, python3-requests, python3-certifi, python3-idna, pve-cluster, python-flask, debianutils, python-repoze.lru, libexpat1, python-enum34, python3-httplib2, kmod, libudev1, rsyslog, librados2-perl, net-tools, vncterm, libapparmor1, libjson-xs-perl, fdutils, spiceterm, libspice-server1, libmath-bigint-perl, cifs-utils, libtalloc2, libio-socket-ssl-perl, libfaketime, adduser, libltdl7, libapt-pkg-perl, python-talloc, python-waitress, krb5-locales, libgcc1, gcc-8-base, python-prettytable, libsm6, attr, libss2, python3-pycurl, zfsutils-linux, libkrad0, mount, libmath-random-isaac-perl, libsemanage-common, python-cryptography, python-asn1crypto, samba-libs, libjansson4, grub-pc-bin, python-crypto, sqlite3, libpython-stdlib, libpython2-stdlib, libattr1, libiptc0, libwgdb0, gdisk, libncursesw6, libtinfo6, libtcmalloc-minimal4, pve-i18n, libnet1, pve-xtermjs, libpve-u2f-server-perl, libnfnetlink0, libblkid1, libisns0, dpkg, fontconfig, libkadm5srv-mit11, libkdb5-9, groff-base, libuchardet0, libstatgrab10, glusterfs-common, libgfapi0, libgfchangelog0, libgfdb0, libgfrpc0, libgfxdr0, libglusterfs0, libncurses6, libpython3.7, libtinfo6, libtirpc3, liburcu6, libglusterfs-dev, python3-prettytable, python3-jwt, libev-perl, python-cffi-backend, python3-minimal, libxau6, libtsan0, gcc-8-base, libclone-perl, libapparmor-perl, librtmp1, grub-efi-amd64-bin, man-db, libgdbm6, libmagic-mgc, libubsan0, gcc-7-base, libpangocairo-1.0-0, libpulse0, libgeoip1, pve-manager, libproxmox-acme-perl, libpve-cluster-api-perl, libpve-cluster-perl, zstd, psmisc, libtinfo6, gir1.2-glib-2.0, nmap, nmap-common, xfsprogs, libicu63, libtinfo5, libcaca0, libncursesw6, libtinfo6, libxcb1, python-jinja2, liblwp-protocol-https-perl, reportbug, libkrb5support0, libpcre3, sed, whiptail, libvotequorum8, libvorbisenc2, libnewt0.52, libnet-dbus-perl, libcap2, libpython3-stdlib, libpython3.7-stdlib, libfuse2, spl, ssh, make, libzfs2linux, dmidecode, libpve-guest-common-perl, libpve-cluster-perl, libgssrpc4, samba-common, tar, systemd-sysv, fakeroot, libcap2-bin, libuuid1, libverto1, libhtml-tree-perl, libnl-3-200, libldap-common, novnc-pve, libio-stringy-perl, libgcrypt20, librrd8, cstream, libxml-twig-perl, ucf, libglib2.0-bin, python-mako, python-pkg-resources, libkeyutils1, libpve-common-perl, libproxmox-acme-perl, libprotobuf-c1, libnetfilter-conntrack3, libselinux1, liblz4-1, gpgv, libpam-systemd, python-ipaddr, distro-info-data, lxc-pve, libsndfile1, python-urllib3, xz-utils, parted, libtinfo6, ncurses-term, python-webob, python-simplejson, samba-vfs-modules, libgoogle-perftools4, linux-headers-amd64, linux-headers-4.19.0-10-amd64, python3-pkg-resources, python-bs4, python-soupsieve, libcrypt-openssl-rsa-perl, packagekit, libappstream4, liblsan0, gcc-8-base, openvswitch-switch, systemd, libcryptsetup12, qemu-server, libpve-cluster-perl, libgomp1, gcc-8-base, libsdl1.2debian, libdbus-glib-1-2, libsmartcols1, libcrypt-openssl-bignum-perl, dh-python, grep, libcfg7, libtemplate-perl, login, python3-reportbug, libgssglue1, liblua5.3-0, libhttp-cookies-perl, libauthen-pam-perl, xxd, libthai0, libpolkit-backend-1-0, python-pyasn1, libxml-
 
namespacesupport-perl, libhogweed4, ncurses-bin, libcommon-sense-perl, libestr0, libfontconfig1, python-setuptools, libpam-modules-bin, openssh-server, apt-utils, libx11-data, iproute2, libfile-copy-recursive-perl, libxml-libxml-perl, libreadline5, libtinfo6, libreadline7, libtinfo6, python-pastedeploy-tpl, libknet1, libsmbclient, smartmontools, smbclient, openssh-client, libdb5.3, samba-common-bin, libncurses6, libtinfo6, iputils-ping, libtdb1, bzip2, keyboard-configuration, bsdutils, python3-dbus, libasound2, python3-debianbts, usbutils, usb.ids, libunwind8, libgraphite2-3, libglib2.0-data, libnettle6, ncurses-base, libxtables12, gnupg2, libsocket6-perl, libzpool2linux, bash, policykit-1, lsb-release, tasksel, libtimedate-perl, busybox, findutils, libcap-ng0, libxml2, libicu63, file, libfdt1, python3-gi, libdigest-hmac-perl, logrotate, gir1.2-packagekitglib-1.0, libflac8, libidn11, libiscsi7, libpython2.7-minimal, multiarch-support, cpio, libbabeltrace-ctf1, libgnutls30, unattended-upgrades, python3-distro-info, libnss3, libedit2, libtinfo6, python-webtest, grub-efi-ia32-bin, libpcap0.8, python-paste, libfreetype6, ca-certificates, pve-edk2-firmware, perl, perl-modules-5.28, libperl5.28, rsync, libffi6, vim-tiny, libtinfo6, apparmor, libu2f-server0, libpve-http-server-perl, libjs-bootstrap, libp11-kit0, libzstd1, lsb-base, apt-listchanges, python3-debconf, python-werkzeug, python-formencode, netcat-traditional, wget, libpcre2-8-0, libgc1c2, telnet, apt-transport-https, criu, python-future, python-idna, cron, libxml-parser-perl, liblockfile1, liblinux-inotify2-perl, libatomic1, gcc-8-base, libvorbis0a, libkadm5clnt-mit11, libssl1.1, gzip, numactl, libnvpair1linux, libfcgi0ldbl, libharfbuzz0b, libtasn1-6, gnupg, dirmngr, dirmngr, gnupg-l10n, gnupg-utils, gnupg-utils, gpg, gpg, gpg-agent, gpg-agent, gpg-wks-client, gpg-wks-client, gpg-wks-server, gpg-wks-server, gpgsm, gpgsm, libcc1-0, gcc-8-base, python-ldb, libblas3, libgfortran5, xsltproc, omping, libuutil1linux, libjson-c3, keyutils, gettext-base, faketime, libcairo2, libpython2.7-stdlib, libncursesw6, libtinfo6, pinentry-curses, libncursesw6, libtinfo6, pigz, libtext-iconv-perl, python3-debian, python-cherrypy3, libcpg4, liblzma5, thin-provisioning-tools, libstdc++6, gcc-8-base, libnpth0, libavahi-client3, libfile-readbackwards-perl, curl, libcurl4, libpango-1.0-0, libfribidi0, iperf, libjs-sphinxdoc, isc-dhcp-client, libdns-export1104, libisc-export1100, libip4tc0, libdevel-cycle-perl, libtevent0, openvswitch-common, libunbound8, rpcbind, libtirpc3, klibc-utils, libpve-apiclient-perl, patch, libhtml-parser-perl, python3-chardet, libgstreamer1.0-0, liburi-perl, python-minimal, python2-minimal, libglib2.0-0, libattr1-dev, libjpeg62-turbo, libverto-libev1, debian-archive-keyring, python-routes, libnet-ip-perl, procmail, uidmap, libnspr4, libaudit1, nfs-common, libevent-2.1-6, libtirpc3, libcurl3-gnutls, initramfs-tools-core, sensible-utils, initramfs-tools, socat, less, libtinfo6, wamerican, hostname, libx11-xcb1, libappconfig-perl, libdebconfclient0, update-inetd, python3-apt, libcorosync-common4, hdparm, libtokyocabinet9, python-simplegeneric, libxslt1.1, bsd-mailx, base-files, libnetfilter-log1, libtext-charwidth-perl, bash-completion, libdatrie1, tzdata, lxcfs, liblzo2-2, btrfs-progs, python-protobuf, libprotobuf17, libslang2, software-properties-common, liberror-perl, libpng16-16

Checking proxmox-ve package version..
PASS: already upgraded to Proxmox VE 6

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

Checking for installed stock Debian Kernel..
PASS: Stock Debian kernel package not installed.

= CHECKING CLUSTER HEALTH/SETTINGS =

PASS: systemd unit 'pve-cluster.service' is in state 'active'
PASS: systemd unit 'corosync.service' is in state 'active'
PASS: Cluster Filesystem is quorate.

Analzying quorum settings and state..
INFO: configured votes - nodes: 2
INFO: configured votes - qdevice: 0
INFO: current expected votes: 2
INFO: current total votes: 2
WARN: cluster consists of less than three nodes!

Checking nodelist entries..
PASS: pve: ring0_addr is configured to use IP address '10.10.10.2'
PASS: pveb: ring0_addr is configured to use IP address '10.10.10.4'

Checking totem settings..
PASS: Corosync transport set to implicit default.
PASS: Corosync encryption and authentication enabled.

INFO: run 'pvecm status' to get detailed cluster status..

= CHECKING INSTALLED COROSYNC VERSION =

PASS: corosync 3.x installed.

= CHECKING HYPER-CONVERGED CEPH STATUS =

SKIP: no hyper-converged ceph setup detected!

= CHECKING CONFIGURED STORAGES =

PASS: storage 'pvebssd' enabled and active.
PASS: storage 'nfsPDDpool' enabled and active.
PASS: storage 'local' enabled and active.
PASS: storage 'NFSB' enabled and active.
PASS: storage 'local-lvm' enabled and active.
PASS: storage 'VMSSD' enabled and active.
SKIP: storage 'PDDpoolTest' disabled.
PASS: storage 'PDDpool' enabled and active.
SKIP: storage 'SSD' disabled.

= MISCELLANEOUS CHECKS =

INFO: Checking common daemon services..
PASS: systemd unit 'pveproxy.service' is in state 'active'
PASS: systemd unit 'pvedaemon.service' is in state 'active'
PASS: systemd unit 'pvestatd.service' is in state 'active'
INFO: Checking for running guests..
WARN: 5 running guest(s) detected - consider migrating or stopping them.
INFO: Checking if the local node's hostname 'pve' is resolvable..
INFO: Checking if resolved IP is configured on local node..
PASS: Resolved node IP '10.10.10.2' configured and active on single interface.
INFO: Check node certificate's RSA key size
PASS: Certificate 'pve-root-ca.pem' passed Debian Busters security level for TLS connections (4096 >= 2048)
PASS: Certificate 'pve-ssl.pem' passed Debian Busters security level for TLS connections (2048 >= 2048)
INFO: Checking KVM nesting support, which breaks live migration for VMs using it..
WARN: KVM nested enabled. It will not be possible to live migrate the following running VMs to PVE 6:
VMID(s) with cputype 'host' or 'max': 101,103,1006,1009

INFO: Checking VMs with OVMF enabled and bad efidisk sizes...
PASS: No VMs with OVMF and problematic efidisk found.

= SUMMARY =

TOTAL: 32
PASSED: 25
SKIPPED: 3
WARNINGS: 4
FAILURES: 0

ATTENTION: Please check the output for detailed information!
 
I was trying to follow this thread https://forum.proxmox.com/threads/e...hare-proxmox-ve-pve-apt-hook-not-found.45436/ and in post number 2 someone told him to do:

apt install proxmox-ve

so since i was having the same error i did the same thing and that is why that is updated

Below is what you asked for.

apt update
Hit:1 http://security.debian.org/debian-security buster/updates InRelease
Hit:2 http://ftp.debian.org/debian buster InRelease
Hit:3 http://ftp.debian.org/debian buster-updates InRelease
Hit:4 http://download.proxmox.com/debian/corosync-3 stretch InRelease
Hit:5 http://download.proxmox.com/debian/pve buster InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
615 packages can be upgraded. Run 'apt list --upgradable' to see them.
 
The following packages have been kept back: curl libpve-common-perl libpve-http-server-perl

Only saw that now, I guess that's a cause of the issue with removing the other packages..

Can you see why they are held back, please post:
Bash:
apt install libpve-common-perl
apt install libpve-http-server-perl
apt install curl

(install of existing packages does an upgrade, if available)

containerd.io dkms docker-ce-cli

There's quite a bit of other stuff installed, all from Debian or our repos or external ones?
 
root@pve:~# apt install libpve-common-perl
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
libpve-access-control : Breaks: pve-manager (<= 6.0-9) but 5.4-15 is to be installed
libpve-common-perl : Depends: libproxmox-acme-perl but it is not going to be installed
libpve-guest-common-perl : Breaks: pve-manager (< 6.0-10) but 5.4-15 is to be installed
Breaks: qemu-server (< 6.1-19) but 5.0-56 is to be installed
libpve-http-server-perl : Breaks: pve-manager (< 6.1-6) but 5.4-15 is to be installed
libpve-storage-perl : Breaks: qemu-server (< 6.1-14) but 5.0-56 is to be installed
pve-cluster : Breaks: pve-manager (<= 6.0-12) but 5.4-15 is to be installed
Breaks: qemu-server (<= 6.0-13) but 5.0-56 is to be installed
pve-ha-manager : Depends: qemu-server (>= 6.0-15) but 5.0-56 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

root@pve:~# apt install libpve-http-server-perl
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
libpve-http-server-perl : Depends: libpve-common-perl (>= 6.0-13) but 5.0-56 is to be installed
E: Unable to correct problems, you have held broken packages.

root@pve:~# apt install curl
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
curl : Depends: libcurl4 (= 7.64.0-4+deb10u1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

When i first installed proxmox i was following a guide not on this forum Which is why containerd.io dkms docker-ce-cli are installed, I use docker but it is in a VM so they can be removed if i need to do that.
 
Have seen this issue - it seems that you (at some point) installed the ceph packages from the PVE ceph repository:
ceph: 12.2.13-pve1~bpo9

In that case please also add the buster repository for luminous to your sources.list.d before upgrading
(the ceph packages from stretch depend on a curl version not available in buster - the ones from buster depend on the correct version)

see https://pve.proxmox.com/wiki/Upgrade_from_5.x_to_6.0 for all repository urls

I hope this helps!
 

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!