[SOLVED] GELÖST: Update auf Proxmox 8

um3n

Member
Dec 20, 2020
15
0
6
39
Germany
www.fu-solutions.de
Hallo zusammen,

nachdem ich nun mehrere Instanzen problemlos installieren konnte, stehe ich aktuell vor einer Herausforderung.
Meine Instanz bei Hetzner (Installiert über deren `installimage`-Tool) lässt sich nicht aktualisieren.

Ein paar Infos zur Installation:

Bash:
root@hostname ~ # uname -a
Linux darkstar 5.15.107-1-pve #1 SMP PVE 5.15.107-1 (2023-04-20T10:05Z) x86_64 GNU/Linux
root@hostname ~ # pveversion
pve-manager/7.4-15/a5d2a31e (running kernel: 5.15.107-1-pve)


Ich bekomme die allzu bekannte Meldung:

Bash:
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

Folgende Repos habe ich eingebunden:

Bash:
root@hostname~ # cat /etc/apt/sources.list
#deb http://mirror.hetzner.com/debian/packages bookworm main contrib non-free
#deb http://mirror.hetzner.com/debian/packages bookworm-updates main contrib non-free
#deb http://mirror.hetzner.com/debian/packages bookworm-backports main contrib non-free
#deb http://deb.debian.org/debian bookworm main contrib non-free
# deb-src http://deb.debian.org/debian bookworm main contrib non-free

#deb http://deb.debian.org/debian bookworm-updates main contrib non-free
# deb-src http://deb.debian.org/debian bookworm-updates main contrib non-free

# deb http://deb.debian.org/debian bookworm-backports main contrib non-free
# deb-src http://deb.debian.org/debian bookworm-backports main contrib non-free

#deb http://security.debian.org/debian-security bookworm-security main contrib non-free
# deb-src http://security.debian.org/debian-security bookworm-security main contrib non-free

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


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

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

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


# ---------------


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

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

root@darkstar ~ # cat /etc/apt/sources.list.d/*
#deb http://download.proxmox.com/debian/ceph-pacific bookworm main
#deb http://download.proxmox.com/debian/ceph-octopus bookworm main
#deb http://mirror.hetzner.com/debian/security bullseye-security main contrib non-free
#deb https://enterprise.proxmox.com/debian/pve bullseye pve-enterprise
 
Hier gerne noch der komplette Output vom `apt dist-upgrade` :

Bash:
root@darkstar ~ # apt dist-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:
  bridge-utils ceph-fuse cifs-utils corosync criu cstream dtach ebtables faketime fontconfig fontconfig-config fonts-dejavu-core
  fonts-font-awesome fonts-glyphicons-halflings genisoimage glusterfs-client glusterfs-common hdparm ifupdown2 ipset libanyevent-http-perl
  libanyevent-perl libappconfig-perl libapt-pkg-perl libarchive13 libasound2 libasound2-data libasyncns0 libauthen-pam-perl libavahi-client3
  libavahi-common-data libavahi-common3 libbabeltrace1 libcairo2 libcbor0 libcephfs2 libcfg7 libcmap4 libcorosync-common4 libcpg4
  libcrypt-openssl-bignum-perl libcrypt-openssl-random-perl libcrypt-openssl-rsa-perl libcups2 libdatrie1 libdbi1 libdevel-cycle-perl
  libdrm-common libdrm2 libdw1 libepoxy0 libfaketime libfdt1 libfile-chdir-perl libfile-readbackwards-perl libfilesys-df-perl libfl2 libflac12
  libflac8 libfontconfig1 libfuse3-3 libgbm1 libgfapi0 libgfchangelog0 libgfrpc0 libgfxdr0 libglib2.0-0 libglusterd0 libglusterfs0 libgnutlsxx30
  libgoogle-perftools4 libgraphite2-3 libgstreamer-plugins-base1.0-0 libgstreamer1.0-0 libharfbuzz0b libibverbs1 libicu67 libio-multiplex-perl
  libio-stringy-perl libipset13 libiscsi7 libjaeger libjpeg62-turbo libjs-bootstrap libjs-extjs libjs-jquery libjs-qrcodejs libjs-sencha-touch
  libjson-glib-1.0-0 libjson-glib-1.0-common libknet1 libldap-2.4-2 libldb2 libleveldb1d liblinux-inotify2-perl liblttng-ust-ctl4 liblttng-ust0
  liblua5.3-0 libmime-base32-perl libmp3lame0 libmpdec3 libmpg123-0 libnet-dbus-perl libnet-dns-perl libnet-ip-perl libnet1 libnetaddr-ip-perl
  libnetfilter-log1 libnl-route-3-200 libnozzle1 libnspr4 libnss3 libnuma1 liboath0 libogg0 libopts25 libopus0 liborc-0.4-0 libpango-1.0-0
  libpangocairo-1.0-0 libpangoft2-1.0-0 libperl5.32 libpixman-1-0 libposix-strptime-perl libprotobuf23 libprotobuf32 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-rs-perl libpve-u2f-server-perl libpython3.11
  libpython3.9 libpython3.9-minimal libpython3.9-stdlib libqb100 libquorum5 librabbitmq4 librados2 librados2-perl libradosstriper1 librbd1
  librdkafka1 librdmacm1 librgw2 librrd8 librrds-perl libslirp0 libsmbclient libsnappy1v5 libsndfile1 libspice-server1 libstatgrab10
  libstring-shellquote-perl libsubid4 libtalloc2 libtcmalloc-minimal4 libtdb1 libtemplate-perl libtevent0 libthai-data libthai0 libtpms0
  libu2f-server0 libunwind8 liburcu6 liburing1 libusb-0.1-4 libusbredirparser1 libuuid-perl libva-drm2 libva2 libvirglrenderer1 libvorbis0a
  libvorbisenc2 libvotequorum8 libvulkan1 libwayland-server0 libwbclient0 libx11-6 libx11-data libx11-xcb1 libxau6 libxcb-render0 libxcb-shm0
  libxcb1 libxdmcp6 libxext6 libxml-libxml-perl libxml-twig-perl libxrender1 libxslt1.1 libyaml-0-2 libyaml-libyaml-perl lxc-pve lxcfs lzop
  novnc-pve numactl perl-modules-5.32 proxmox-archive-keyring proxmox-backup-client proxmox-backup-file-restore proxmox-kernel-helper
  proxmox-mail-forward proxmox-mini-journalreader proxmox-websocket-tunnel proxmox-widget-toolkit pve-cluster pve-docs pve-edk2-firmware
  pve-firewall pve-i18n pve-lxc-syscalld pve-xtermjs python3-ceph-argparse python3-ceph-common python3-jwt python3-ldb python3-prettytable
  python3-protobuf python3-talloc python3-wcwidth python3-yaml python3.9 python3.9-minimal qrencode rrdcached samba-common samba-libs sgml-base
  smartmontools smbclient socat swtpm swtpm-libs swtpm-tools uidmap vncterm xsltproc
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
  ceph-common libgnutlsxx28 libnfsidmap2 libpve-guest-common-perl libpve-storage-perl libsemanage1 proxmox-ve pve-container pve-ha-manager
  pve-manager pve-qemu-kvm python3-cephfs python3-rados python3-rbd python3-rgw qemu-server spiceterm
The following NEW packages will be installed:
  cron-daemon-common dbus-bin dbus-daemon dbus-session-bus-common dbus-system-bus-common gcc-12-base libbpf1 libcbor0.8 libevent-core-2.1-7
  libffi8 libfile-find-rule-perl libflac12 libgnutlsxx30 libgprofng0 libicu72 libjemalloc2 libldap-2.5-0 libmp3lame0 libmpg123-0 libnfsidmap1
  libnumber-compare-perl libperl5.36 libproc2-0 libprotobuf32 libpython3.11 libpython3.11-minimal libpython3.11-stdlib libregexp-ipv6-perl
  libsemanage2 libsepol2 libsodium23 libssl3 libsubid4 libsystemd-shared libtext-glob-perl liburcu8 libva-drm2 libva2 libvulkan1 libx11-xcb1
  perl-modules-5.36 python3-charset-normalizer python3-distutils python3-lib2to3 python3-pyparsing python3-setuptools python3-systemd
  python3-wcwidth python3.11 python3.11-minimal sgml-base usrmerge util-linux-extra
The following packages will be upgraded:
  acl acpid adduser apparmor apt apt-utils aptitude aptitude-common at attr base-files base-passwd bash bash-completion bind9-dnsutils bind9-host
  bind9-libs binutils binutils-common binutils-x86-64-linux-gnu bridge-utils bsdextrautils bsdutils btrfs-progs busybox bzip2 ca-certificates
  chrony cifs-utils console-setup console-setup-linux coreutils corosync cpio criu cron cryptsetup cryptsetup-bin cryptsetup-initramfs cstream
  curl dash dbus debconf debconf-i18n debian-archive-keyring debianutils diffutils discover discover-data distro-info-data dmeventd dmidecode
  dmsetup dpkg e2fsprogs ebtables efibootmgr ethtool fail2ban faketime fdisk file findutils fontconfig fontconfig-config fonts-dejavu-core
  fonts-glyphicons-halflings fuse gdisk genisoimage gettext-base glusterfs-client glusterfs-common gnutls-bin gpgv grep groff-base grub-common
  grub-efi-amd64 grub-efi-amd64-bin grub-pc-bin grub2-common gzip hdparm hostname htop ifupdown2 init init-system-helpers initramfs-tools
  initramfs-tools-core iproute2 ipset iptables iputils-ping isc-dhcp-client isc-dhcp-common iso-codes iucode-tool kbd keyboard-configuration
  keyutils klibc-utils kmod less libacl1 libaio1 libanyevent-http-perl libanyevent-perl libapparmor1 libappconfig-perl libapt-pkg-perl
  libapt-pkg6.0 libarchive13 libargon2-1 libasound2 libasound2-data libasyncns0 libattr1 libaudit-common libaudit1 libauthen-pam-perl
  libavahi-client3 libavahi-common-data libavahi-common3 libbabeltrace1 libbinutils libblkid1 libboost-iostreams1.74.0 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-random-seed-perl libcrypt-ssleay-perl libcrypt1 libcryptsetup12 libctf-nobfd0 libctf0 libcups2
  libcurl3-gnutls libcurl4 libcwidget4 libdatrie1 libdb5.3 libdbus-1-3 libdebconfclient0 libdevel-cycle-perl libdevmapper-event1.02.1
  libdevmapper1.02.1 libdigest-hmac-perl libdiscover2 libdrm-common libdrm2 libdw1 libedit2 libelf1 libencode-locale-perl libepoxy0 libestr0
  libevent-2.1-7 libexpat1 libext2fs2 libfaketime libfastjson4 libfdisk1 libfdt1 libfido2-1 libfile-listing-perl libfile-readbackwards-perl
  libfilesys-df-perl libfl2 libfontconfig1 libfreetype6 libfribidi0 libfstrm0 libfuse2 libfuse3-3 libgbm1 libgcc-s1 libgcrypt20 libgdbm-compat4
  libgdbm6 libgfapi0 libgfchangelog0 libgfrpc0 libgfxdr0 libglib2.0-0 libglusterd0 libglusterfs0 libgmp10 libgnutls-dane0 libgnutls30
  libgoogle-perftools4 libgpg-error0 libgpm2 libgssapi-krb5-2 libgstreamer-plugins-base1.0-0 libgstreamer1.0-0 libharfbuzz0b libhogweed6
  libhtml-parser-perl libhtml-tagset-perl libhtml-tree-perl libhttp-daemon-perl libhttp-date-perl libhttp-message-perl libhttp-negotiate-perl
  libibverbs1 libidn2-0 libinih1 libio-html-perl libio-multiplex-perl libio-socket-ssl-perl libip4tc2 libip6tc2 libipset13 libisns0 libjansson4
  libjpeg62-turbo libjs-bootstrap libjs-extjs libjs-jquery libjs-qrcodejs libjson-c5 libjson-glib-1.0-0 libjson-glib-1.0-common libjson-perl
  libjson-xs-perl libk5crypto3 libkeyutils1 libklibc libkmod2 libknet1 libkrb5-3 libkrb5support0 libldap-common libldb2 libleveldb1d
  liblinux-inotify2-perl liblocale-gettext-perl liblognorm5 liblua5.3-0 liblvm2cmd2.03 liblwp-mediatypes-perl liblz4-1 liblzma5 libmagic-mgc
  libmagic1 libmath-random-isaac-perl libmaxminddb0 libmd0 libmime-base32-perl libmount1 libncurses6 libncursesw6 libnet-dbus-perl
  libnet-dns-perl libnet-http-perl libnet-ip-perl libnet-ssleay-perl libnet1 libnetaddr-ip-perl libnetfilter-conntrack3 libnetfilter-log1
  libnettle8 libnewt0.52 libnfnetlink0 libnftables1 libnftnl11 libnghttp2-14 libnl-3-200 libnl-genl-3-200 libnl-route-3-200 libnozzle1 libnspr4
  libnss-systemd libnss3 libnuma1 liboath0 libogg0 libopeniscsiusr libopts25 libopus0 liborc-0.4-0 libp11-kit0 libpam-modules libpam-modules-bin
  libpam-runtime libpam-systemd libpam0g libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libpcap0.8 libpci3 libpcre2-8-0 libpcre3
  libpipeline1 libpixman-1-0 libpng16-16 libpopt0 libposix-strptime-perl libprotobuf-c1 libproxmox-acme-perl libproxmox-acme-plugins
  libproxmox-backup-qemu0 libproxmox-rs-perl libpsl5 libpulse0 libpve-access-control libpve-apiclient-perl libpve-cluster-api-perl
  libpve-cluster-perl libpve-common-perl libpve-http-server-perl libpve-rs-perl libpve-u2f-server-perl libpython3-stdlib libqb100 libquorum5
  librabbitmq4 librados2-perl librdkafka1 librdmacm1 libreadline8 librrd8 librrds-perl libsasl2-2 libsasl2-modules libsasl2-modules-db
  libseccomp2 libselinux1 libsemanage-common libsigc++-2.0-0v5 libslang2 libslirp0 libsmartcols1 libsmbclient libsnappy1v5 libsndfile1
  libspice-server1 libsqlite3-0 libss2 libssh2-1 libstatgrab10 libstdc++6 libstring-shellquote-perl libsystemd0 libtalloc2 libtasn1-6
  libtcmalloc-minimal4 libtdb1 libtemplate-perl libterm-readline-gnu-perl libtevent0 libtext-charwidth-perl libtext-iconv-perl
  libtext-wrapi18n-perl libthai-data libthai0 libtinfo6 libtirpc-common libtirpc3 libtpms0 libtry-tiny-perl libu2f-server0 libudev1 libunbound8
  libunistring2 libunwind8 liburi-perl libusb-1.0-0 libusbredirparser1 libuuid-perl libuuid1 libuv1 libvirglrenderer1 libvotequorum8
  libwayland-server0 libwbclient0 libwrap0 libwww-perl libx11-6 libx11-data libxapian30 libxcb-render0 libxcb-shm0 libxcb1 libxext6
  libxml-libxml-perl libxml-namespacesupport-perl libxml-parser-perl libxml-sax-base-perl libxml-sax-perl libxml-twig-perl libxml2 libxrender1
  libxslt1.1 libxtables12 libxxhash0 libyaml-0-2 libyaml-libyaml-perl libzstd1 linux-base locales login logrotate logsave lsb-base lsb-release
  lsof lvm2 lxc-pve lxcfs mailcap man-db manpages mawk mdadm media-types mokutil mount mtr-tiny nano ncurses-base ncurses-bin ncurses-term
  net-tools netbase netcat-traditional nfs-common nftables novnc-pve numactl open-iscsi openssh-client openssh-server openssh-sftp-server openssl
  passwd pci.ids pciutils perl perl-base perl-openssl-defaults postfix procps proxmox-archive-keyring proxmox-backup-client
  proxmox-backup-file-restore proxmox-kernel-helper proxmox-mail-forward proxmox-mini-journalreader proxmox-websocket-tunnel
  proxmox-widget-toolkit psmisc publicsuffix pve-cluster pve-docs pve-edk2-firmware pve-firewall pve-firmware pve-i18n pve-lxc-syscalld
  pve-xtermjs python-apt-common python3 python3-apt python3-certifi python3-chardet python3-debian python3-debianbts python3-httplib2
  python3-idna python3-jwt python3-ldb python3-minimal python3-pkg-resources python3-prettytable python3-protobuf python3-pycurl
  python3-pysimplesoap python3-reportbug python3-requests python3-six python3-talloc python3-urllib3 python3-yaml readline-common reportbug
  rpcbind rrdcached rsync rsyslog runit-helper samba-common samba-libs sed sensible-utils shim-helpers-amd64-signed shim-signed
  shim-signed-common shim-unsigned smartmontools smbclient socat sqlite3 ssl-cert sudo swtpm swtpm-libs swtpm-tools systemd systemd-sysv
  sysvinit-utils tar task-english task-ssh-server tasksel tasksel-data tcpdump thin-provisioning-tools traceroute tzdata ucf udev uidmap
  util-linux util-linux-locales vim vim-common vim-runtime vim-tiny vncterm wget whiptail xfsprogs xkb-data xsltproc xxd xz-utils zlib1g zstd
563 upgraded, 53 newly installed, 17 to remove and 0 not upgraded.
Need to get 0 B/341 MB of archives.
After this operation, 263 MB disk space will be freed.
Do you want to continue? [Y/n]
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@darkstar ~ #
 

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!