[SOLVED] sudo apt update && apt dist-upgrade -yy wants to remove Proxmox

xl3laz3rx

Member
Feb 20, 2022
6
0
6
28
I've read several of the other 'unable to upgrade' posts and I'm not sure what I'm missing here in my quest to upgrade from 6.4 to 7.0.

here is the output of apt dist-upgrade

Code:
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 ceph-mgr-modules-core cryptsetup-bin libleveldb1d liboath0 librabbitmq4 librdkafka1 librgw2 python-pastedeploy-tpl python3-bcrypt python3-bs4 python3-ceph-argparse python3-ceph-common python3-cherrypy3 python3-dateutil
  python3-distutils python3-lib2to3 python3-logutils python3-mako python3-markupsafe python3-paste python3-pastedeploy python3-pecan python3-simplegeneric python3-singledispatch python3-soupsieve python3-tempita python3-waitress
  python3-webob python3-webtest python3-werkzeug python3-yaml sudo
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
  ceph ceph-base ceph-common ceph-mds ceph-mgr ceph-mon ceph-osd libldb1 libpve-guest-common-perl libpve-storage-perl libpython-stdlib proxmox-ve pve-container pve-ha-manager pve-manager pve-qemu-kvm 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-cephfs python3-rados python3-rbd
  python3-rgw qemu-server spiceterm
The following NEW packages will be installed:
  alsa-topology-conf alsa-ucm-conf bind9-dnsutils bind9-libs bsdextrautils distro-info-data gnutls-bin idn libapt-pkg6.0 libbpf0 libbrotli1 libctf-nobfd0 libctf0 libdns-export1110 libdns1110 libevent-2.1-7 libffi7 libgnutls-dane0
  libhogweed6 libicu67 libinih1 libip4tc2 libip6tc2 libipset13 libisc-export1105 libisc1105 libjson-c5 libldb2 liblinear4 libmaxminddb0 libmd0 libmpdec3 libnetaddr-ip-perl libnettle8 libnozzle1 libnsl2 libopeniscsiusr libopts25
  libperl5.32 libprocps8 libprotobuf23 libproxmox-acme-plugins libproxmox-rs-perl libpve-rs-perl libpython3.9 libpython3.9-minimal libpython3.9-stdlib libqb100 libreadline8 libsocket6-perl libunbound8 libuv1 libxxhash0 libzpool5linux
  logsave lua-lpeg mailcap media-types ncal pci.ids perl-modules-5.32 pve-kernel-5.4.203-1-pve python3-ldb python3-protobuf python3-talloc python3.9 python3.9-minimal systemd-timesyncd
The following packages will be upgraded:
  apt apt-utils bc bind9-host binutils binutils-common binutils-x86-64-linux-gnu bsdmainutils bsdutils corosync criu cryptsetup-bin curl dirmngr dnsutils e2fsprogs gnupg gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpg-wks-server
  gpgconf gpgsm gpgv iproute2 ipset iptables isc-dhcp-client libanyevent-perl libapt-pkg-perl libarchive13 libasound2 libasound2-data libauthen-pam-perl libbind9-161 libbinutils libbsd0 libcfg7 libclone-perl libcmap4 libcommon-sense-perl
  libcpg4 libcrypt-openssl-bignum-perl libcrypt-openssl-random-perl libcrypt-openssl-rsa-perl libcrypt-ssleay-perl libcryptsetup12 libcups2 libcurl3-gnutls libcurl4 libext2fs2 libfilesys-df-perl libfreetype6 libglib2.0-0 libgnutls30
  libgnutlsxx28 libgstreamer-plugins-base1.0-0 libgstreamer1.0-0 libhtml-parser-perl libhttp-message-perl libiptc0 libirs161 libisccc161 libisccfg163 libjson-xs-perl libldap-2.4-2 liblinux-inotify2-perl liblocale-gettext-perl liblwres161
  libnet-dbus-perl libnet-ssleay-perl libnss-systemd libp11-kit0 libpam-modules libpam-modules-bin libpam-systemd libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libparted2 libpci3 libpve-access-control libpve-common-perl
  libpve-http-server-perl libpve-u2f-server-perl libpython2-stdlib libpython2.7 libpython2.7-minimal libpython2.7-stdlib libpython3-stdlib libquorum5 librados2-perl librrds-perl librtmp1 libsmbclient libsqlite3-0 libsystemd0
  libtemplate-perl libterm-readline-gnu-perl libtext-charwidth-perl libtext-iconv-perl libu2f-server0 libuuid-perl libvotequorum8 libwbclient0 libwrap0 libxml-libxml-perl libxml-parser-perl libxml2 libxtables12 libyaml-libyaml-perl lynx
  mime-support nfs-common nmap nmap-common open-iscsi parted pciutils perl perl-base postfix procps pve-cluster pve-kernel-5.4 python-six python2 python2-minimal python2.7 python2.7-minimal python3 python3-apt python3-cffi-backend
  python3-chardet python3-distutils python3-lib2to3 python3-markupsafe python3-minimal python3-pycurl python3-six python3-yaml rsync rsyslog samba-common samba-libs smbclient sqlite3 systemd vncterm wget xfsprogs zfs-initramfs zfs-zed
  zfsutils-linux
156 upgraded, 68 newly installed, 38 to remove and 0 not upgraded.
Need to get 0 B/172 MB of archives.
After this operation, 102 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

packages
Code:
root@pve01:~# pveversion -v
Use of uninitialized value $PVE::JSONSchema::PVE_TAG_RE in concatenation (.) or string at /usr/share/perl5/PVE/DataCenterConfig.pm line 147.
Use of uninitialized value $PVE::JSONSchema::PVE_TAG_RE in concatenation (.) or string at /usr/share/perl5/PVE/DataCenterConfig.pm line 182.
Use of uninitialized value $PVE::JSONSchema::PVE_TAG_RE in concatenation (.) or string at /usr/share/perl5/PVE/DataCenterConfig.pm line 182.
Use of uninitialized value $PVE::JSONSchema::PVE_TAG_RE in concatenation (.) or string at /usr/share/perl5/PVE/DataCenterConfig.pm line 208.
Use of uninitialized value $PVE::JSONSchema::PVE_TAG_RE in concatenation (.) or string at /usr/share/perl5/PVE/DataCenterConfig.pm line 208.
proxmox-ve: 6.3-1 (running kernel: 5.4.106-1-pve)
pve-manager: 6.4-4 (running version: 6.4-4/337d6701)
pve-kernel-helper: 7.2-14
pve-kernel-5.4: 6.4-1
pve-kernel-5.4.106-1-pve: 5.4.106-1
ceph: 15.2.17-pve1~bpo10
ceph-fuse: 15.2.17-pve1~bpo10
corosync: 3.1.2-pve1
criu: 3.11-3
glusterfs-client: 9.2-1
ifupdown: 0.8.36+pve2
ksm-control-daemon: 1.4-1
libjs-extjs: 7.0.0-1
libknet1: 1.24-pve2
libproxmox-acme-perl: 1.4.2
libproxmox-backup-qemu0: 1.3.1-1
libpve-access-control: 6.4-1
libpve-apiclient-perl: 3.2-1
libpve-common-perl: 6.4-2
libpve-guest-common-perl: 3.1-5
libpve-http-server-perl: 3.2-1
libpve-storage-perl: 6.4-1
libqb0: 1.0.5-1
libspice-server1: 0.14.3-2.1
lvm2: 2.03.11-2.1
lxc-pve: 5.0.0-3
lxcfs: 4.0.12-pve1
novnc-pve: 1.3.0-3
proxmox-backup-client: 2.2.7-1
proxmox-mini-journalreader: 1.3-1
proxmox-widget-toolkit: 3.5.3
pve-cluster: 6.4-1
pve-container: 3.3-5
pve-docs: 7.3-1
pve-edk2-firmware: 3.20220526-1
pve-firewall: 4.2-7
pve-firmware: 3.5-6
pve-ha-manager: 3.1-1
pve-i18n: 2.8-1
pve-qemu-kvm: 5.2.0-6
pve-xtermjs: 4.16.0-1
qemu-server: 6.4-1
smartmontools: 7.2-pve3
spiceterm: 3.2-2
vncterm: 1.6-2
zfsutils-linux: 2.0.4-pve1
 
Last edited:
Please show your apt repos, i.e. cat /etc/apt/sources.list and cat /etc/apt/sources.list.d/*
Did you follow the instructions from our wiki? https://pve.proxmox.com/wiki/Upgrade_from_6.x_to_7.0
Especially the line that starts with "If you have installed Proxmox VE on top of Debian Buster [....]"
 
Last edited:
Please show your apt repos, i.e. cat /etc/apt/sources.list and cat /etc/apt/sources.list.d/*
Did you follow the instructions from our wiki? https://pve.proxmox.com/wiki/Upgrade_from_6.x_to_7.0
Especially the line that starts with "If you have installed Proxmox VE on top of Debian Buster [....]"
i think it's working now! i forgot to copy the last letter for the ceph repositories
I will edit this post i de upgrade has finished.

yes, i'm stupid :D

Topic can be closed.
 
Last edited: