Open Theolodewijk opened 4 years ago
Hi there,
Was is exactly the problem here? I cannot see any text pve-no-subscription
and the error presented is also not related to it.
Best, Andreas
Your problem is not caused by this script. If apt wants to remove the proxmox package you don't have enable the no subscription repository.
root@node2:~# apt update Get:1 http://ftp.nl.debian.org/debian buster InRelease [121 kB] Get:2 http://security.debian.org buster/updates InRelease [65.4 kB] Get:3 http://ftp.nl.debian.org/debian buster-updates InRelease [51.9 kB] Get:4 http://ftp.nl.debian.org/debian buster/main amd64 Packages [7,905 kB] Get:5 http://security.debian.org buster/updates/main amd64 Packages [213 kB] Get:6 http://security.debian.org buster/updates/main Translation-en [115 kB] Hit:7 http://download.proxmox.com/debian/corosync-3 stretch InRelease Get:8 http://ftp.nl.debian.org/debian buster/main Translation-en [5,969 kB] Get:9 http://ftp.nl.debian.org/debian buster/contrib amd64 Packages [51.0 kB] Get:10 http://ftp.nl.debian.org/debian buster/contrib Translation-en [44.7 kB] Get:11 http://ftp.nl.debian.org/debian buster-updates/main amd64 Packages [7,868 B] Get:12 http://ftp.nl.debian.org/debian buster-updates/main Translation-en [5,672 B] Fetched 14.5 MB in 2s (7,030 kB/s) Reading package lists... Done Building dependency tree Reading state information... Done 489 packages can be upgraded. Run 'apt list --upgradable' to see them. root@node2:~# 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: libu2f-server0 proxmox-mini-journalreader Use 'apt autoremove' to remove them. The following packages will be REMOVED: libkdb5-8 libpve-access-control libpve-guest-common-perl libpve-storage-perl libpve-u2f-server-perl librados2-perl libtirpc1 proxmox-ve pve-cluster pve-container pve-firewall pve-ha-manager pve-manager qemu-server The following NEW packages will be installed: cpp-8 dirmngr e2fsprogs-l10n fdisk gcc-8-base gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpg-wks-server gpgconf gpgsm grub-efi-amd64-signed ibverbs-providers libargon2-1 libbind9-161 libboost-atomic1.67.0 libboost-iostreams1.67.0 libboost-program-options1.67.0 libboost-regex1.67.0 libboost-system1.67.0 libboost-thread1.67.0 libcephfs2 libcom-err2 libcryptsetup12 libdata-dump-perl libdigest-bubblebabble-perl libdns-export1104 libdns1104 libevent-2.1-6 libext2fs2 libfribidi0 libfstrm0 libgdbm-compat4 libgdbm6 libgfapi0 libgfchangelog0 libgfdb0 libgfortran5 libgfrpc0 libgfxdr0 libglusterfs-dev libglusterfs0 libgpg-error-l10n libicu63 libipset11 libirs161 libisc-export1100 libisc1100 libisccc161 libisccfg163 libisl19 libjansson4 libkdb5-9 liblmdb0 liblvm2cmd2.03 liblwres161 libmpfr6 libncurses6 libncursesw6 libnet-dns-sec-perl libnet-libidn-perl libnftables0 libnftnl11 libnss-systemd libpam-systemd libpcre2-8-0 libperl5.28 libprocps7 libprotobuf17 libpython2-stdlib libpython3.7 libpython3.7-minimal libpython3.7-stdlib libtinfo6 libtirpc-common libtirpc3 libtry-tiny-perl libuchardet0 libunistring2 liburcu6 mokutil nftables nmap-common os-prober perl-modules-5.28 pigz python-certifi python-idna python-prettytable python2 python2-minimal python3-asn1crypto python3-certifi python3-cffi-backend python3-cryptography python3-debconf python3-distutils python3-idna python3-jwt python3-lib2to3 python3-prettytable python3.7 python3.7-minimal shim-helpers-amd64-signed shim-signed shim-signed-common shim-unsigned usb.ids The following packages will be upgraded: adduser apparmor apt apt-listchanges apt-transport-https apt-utils attr base-files base-passwd bash bash-completion bc bind9-host bridge-utils bsd-mailx bsdmainutils bsdutils btrfs-progs busybox bzip2 ca-certificates ceph-common ceph-fuse cifs-utils console-setup console-setup-linux coreutils cpio cpp cron cstream dash dbus debconf debconf-i18n debian-archive-keyring debian-faq debianutils dh-python diffutils dmeventd dmidecode dmsetup dnsutils dosfstools dpkg dtach e2fslibs e2fsprogs ebtables efibootmgr faketime fdutils file findutils fontconfig fontconfig-config fonts-font-awesome fuse gdisk gettext-base glusterfs-client glusterfs-common gnupg gnupg-agent gnupg1 gpgv gpgv1 grep groff-base grub-common grub-efi-amd64-bin grub-efi-ia32-bin grub-pc grub-pc-bin grub2-common gzip hdparm hostname htop ifupdown init init-system-helpers initramfs-tools initramfs-tools-core insserv iproute2 ipset iptables iputils-ping isc-dhcp-client isc-dhcp-common kbd keyboard-configuration keyutils klibc-utils kmod krb5-locales 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 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 libc-bin libc-dev-bin libc-l10n libc6 libc6-dev libcaca0 libcairo2 libcap-ng0 libcap2 libcap2-bin libclass-isa-perl libclone-perl libcomerr2 libcommon-sense-perl 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 libdebconfclient0 libdevel-cycle-perl libdevmapper-event1.02.1 libdevmapper1.02.1 libdigest-hmac-perl libdw1 libedit2 libefiboot1 libefivar1 libelf1 libestr0 libev-perl libev4 libexpat1 libfaketime libfastjson4 libfcgi0ldbl libfdisk1 libfdt1 libffi6 libfile-readbackwards-perl libfile-sync-perl libfilesys-df-perl libflac8 libfontconfig1 libfreetype6 libfuse2 libgc1c2 libgcc1 libgcrypt20 libgeoip1 libglib2.0-0 libgmp10 libgnutls-openssl27 libgnutls30 libgnutlsxx28 libgoogle-perftools4 libgpg-error0 libgpm2 libgraphite2-3 libgssapi-krb5-2 libgssglue1 libgssrpc4 libharfbuzz0b libhogweed4 libhtml-parser-perl libhtml-tree-perl libhttp-cookies-perl libhttp-daemon-perl libhttp-message-perl libhttp-negotiate-perl libibverbs1 libidn11 libidn2-0 libio-socket-ssl-perl libio-stringy-perl libip4tc0 libip6tc0 libiptc0 libiscsi7 libisns0 libjpeg62-turbo libjson-c3 libjson-perl libjson-xs-perl libk5crypto3 libkadm5clnt-mit11 libkadm5srv-mit11 libkeyutils1 libklibc libkmod2 libkrad0 libkrb5-3 libkrb5support0 libldap-2.4-2 libldap-common libldb1 liblinear3 liblinux-inotify2-perl liblocale-gettext-perl liblockfile-bin liblockfile1 liblognorm5 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 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 libogg0 libopus0 libp11-kit0 libpam-modules libpam-modules-bin libpam-runtime libpam0g libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libpcap0.8 libpcre3 libpipeline1 libpixman-1-0 libpng16-16 libpopt0 libprotobuf-c1 libpsl5 libpulse0 libpython-stdlib libpython2.7 libpython2.7-minimal libpython2.7-stdlib libpython3-stdlib libqb0 libquadmath0 librados2 libradosstriper1 librbd1 librdmacm1 libreadline5 libreadline7 librgw2 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 libu2f-server0 libudev1 libunwind8 liburi-perl libusb-1.0-0 libusbredirparser1 libuuid-perl libuuid1 libverto-libev1 libverto1 libvorbis0a libvorbisenc2 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 libzstd1 linux-base linux-libc-dev locales login logrotate lsb-base lsof lvm2 lynx lynx-common man-db manpages mime-support mount multiarch-support nano ncurses-base ncurses-bin ncurses-term netbase netcat-traditional nfs-common nmap numactl open-iscsi openssh-client openssh-server openssh-sftp-server openssl passwd patch perl perl-base pinentry-curses postfix postfix-sqlite procmail procps psmisc python python-apt-common python-cephfs python-chardet python-ipaddr python-minimal python-pkg-resources python-protobuf python-rados python-rbd python-requests python-six python-talloc python-urllib3 python2.7 python2.7-minimal python3 python3-apt python3-chardet python3-debian python3-debianbts python3-httplib2 python3-minimal python3-pkg-resources python3-pycurl python3-pysimplesoap python3-reportbug python3-requests python3-six python3-urllib3 readline-common reportbug rpcbind rrdcached rsync rsyslog samba-common samba-libs sed sensible-utils smartmontools smbclient socat sqlite3 ssh strace systemd systemd-sysv sysvinit-utils tar tasksel tasksel-data tcpdump telnet thin-provisioning-tools tzdata ucf udev uidmap usbutils util-linux vim-common vim-tiny wamerican wget whiptail xfsprogs xkb-data xsltproc xxd xz-utils zlib1g 489 upgraded, 110 newly installed, 14 to remove and 0 not upgraded. Need to get 0 B/237 MB of archives. After this operation, 253 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