[SOLVED] You are attempting to remove the meta-package 'proxmox-ve'!

sushantg

New Member
Apr 13, 2024
2
0
1
Hi. Today I ran into the dreaded "You are attempting to remove the meta-package 'proxmox-ve'!" error when trying to update a proxmox host from 7.0-11 to latest (7.2).

apt dist-upgrade and apt full-upgrade both fail because they're trying to remove the proxmox-ve package.

Code:
root@server4:~# apt 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:
 ceph-common : Depends: python3-ceph-argparse (= 17.2.5-pve1) but it is not installed
               Depends: python3-ceph-common (= 17.2.5-pve1) but it is not installed
               Depends: python3-rbd (= 17.2.5-pve1) but it is not installed
               Depends: python3-rgw (= 17.2.5-pve1) but it is not installed
               Depends: liboath0 (>= 1.10.0) but it is not installed
 python3-cephfs : Depends: python3-ceph-argparse (= 17.2.5-pve1) but it is not installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

both are same

Code:
root@server4:~# apt full-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:
 ceph-common : Depends: python3-ceph-argparse (= 17.2.5-pve1) but it is not installed
               Depends: python3-ceph-common (= 17.2.5-pve1) but it is not installed
               Depends: python3-rbd (= 17.2.5-pve1) but it is not installed
               Depends: python3-rgw (= 17.2.5-pve1) but it is not installed
               Depends: liboath0 (>= 1.10.0) but it is not installed
 python3-cephfs : Depends: python3-ceph-argparse (= 17.2.5-pve1) but it is not installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
root@server4:~#



and if try to fix command: 'apt --fix-broken install'

Code:
root@server4:~# apt --fix-broken install -Y
E: Command line option 'Y' [from -Y] is not understood in combination with the other options.
root@server4:~# apt --fix-broken install -y
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:
  bsdmainutils dconf-gsettings-backend dconf-service fdisk fonts-glyphicons-halflings glib-networking glib-networking-common glib-networking-services
  gsettings-desktop-schemas gstreamer1.0-libav gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-x i965-va-driver idn intel-media-va-driver libaa1
  libaacs0 libaom0 libass9 libavc1394-0 libavcodec58 libavfilter7 libavformat58 libavutil56 libbdplus0 libbluray2 libbs2b0 libcairo-gobject2 libcdparanoia0 libcephfs2
  libchromaprint1 libcodec2-0.8.1 libcroco3 libcrystalhd3 libdconf1 libdrm-amdgpu1 libdrm-common libdrm-intel1 libdrm-nouveau2 libdrm-radeon1 libdrm2 libdv4
  libfftw3-double3 libflite1 libfuse3-3 libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-bin libgdk-pixbuf2.0-common libgfortran5 libgl1 libgl1-mesa-dri libglapi-mesa libglvnd0
  libglx-mesa0 libglx0 libgme0 libgomp1 libgsm1 libgstreamer-plugins-base1.0-0 libgstreamer1.0-0 libgudev-1.0-0 libiec61883-0 libigdgmm5 libjack-jackd2-0 libjbig0
  libjemalloc2 libjs-bootstrap libleveldb1d liblilv-0-0 libllvm7 libmp3lame0 libmpg123-0 libmysofa0 libnorm1 libopenjp2-7 libopenmpt0 liborc-0.4-0 libpciaccess0
  libperl5.28 libpgm-5.2-0 libpostproc55 libproxmox-acme-plugins libproxmox-backup-qemu0 libproxy1v5 libqrencode4 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 libswresample3 libswscale5 libtag1v5 libtag1v5-vanilla libtheora0 libtiff5 libtry-tiny-perl libtwolame0 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
  libyaml-libyaml-perl libzmq5 libzvbi-common libzvbi0 mesa-va-drivers mesa-vdpau-drivers perl-modules-5.28 proxmox-archive-keyring proxmox-backup-client
  proxmox-backup-file-restore proxmox-backup-restore-image proxmox-mini-journalreader pve-kernel-5.4 pve-lxc-syscalld python3-asn1crypto python3-rados python3.7-minimal
  qrencode usb.ids va-driver-all vdpau-driver-all zstd
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
  binutils binutils-common binutils-x86-64-linux-gnu libanyevent-perl libapt-pkg-perl libauthen-pam-perl libbinutils libc-bin libc-dev-bin libc-l10n libc6 libc6-dev
  libclone-perl libcommon-sense-perl libcrypt-openssl-random-perl libctf-nobfd0 libctf0 libfilesys-df-perl libgdbm6 libgprofng0 libhtml-parser-perl libidn12 libjansson4
  libjson-xs-perl liblinux-inotify2-perl liblocale-gettext-perl libmath-bigint-perl libnet-dns-sec-perl libnet-libidn-perl libperl5.36 libpve-u2f-server-perl
  libreadline8 librrds-perl libsocket6-perl libssl3 libtemplate-perl libterm-readline-gnu-perl libtext-charwidth-perl libtext-iconv-perl libuuid-perl libxml-libxml-perl
  libyaml-0-2 libyaml-libyaml-perl libzstd1 locales perl perl-base perl-modules-5.36 rpcsvc-proto
Suggested packages:
  binutils-doc libev-perl libevent-perl libio-async-perl libnet-ssleay-perl libpoe-perl libtask-weaken-perl glibc-doc libnss-nis libnss-nisplus manpages-dev gdbm-l10n
  iwatch libtemplate-plugin-gd-perl libtemplate-plugin-xml-perl perl-doc make libtap-harness-archive-perl
Recommended packages:
  libasync-interrupt-perl libev-perl | libevent-perl libguard-perl manpages-dev libc-devtools
The following packages will be REMOVED:
  ceph-common libapparmor-perl libcrypt-openssl-bignum-perl libcrypt-openssl-rsa-perl libcrypt-ssleay-perl libio-socket-ssl-perl liblwp-protocol-https-perl
  libnet-dbus-perl libnet-ssleay-perl libperl5.24 libproxmox-acme-perl libpve-access-control libpve-apiclient-perl libpve-cluster-api-perl libpve-cluster-perl
  libpve-common-perl libpve-guest-common-perl libpve-http-server-perl libpve-storage-perl librados2-perl libwww-perl libxml-parser-perl libxml-twig-perl
  perl-modules-5.24 proxmox-ve pve-cluster pve-container pve-firewall pve-ha-manager pve-kernel-helper pve-manager pve-qemu-kvm python3-cephfs qemu-server spiceterm
The following NEW packages will be installed:
  binutils binutils-common binutils-x86-64-linux-gnu libbinutils libctf-nobfd0 libctf0 libgprofng0 libidn12 libperl5.36 libssl3 perl-modules-5.36 rpcsvc-proto
The following packages will be upgraded:
  libanyevent-perl libapt-pkg-perl libauthen-pam-perl libc-bin libc-dev-bin libc-l10n libc6 libc6-dev libclone-perl libcommon-sense-perl libcrypt-openssl-random-perl
  libfilesys-df-perl libgdbm6 libhtml-parser-perl libjansson4 libjson-xs-perl liblinux-inotify2-perl liblocale-gettext-perl libmath-bigint-perl libnet-dns-sec-perl
  libnet-libidn-perl libpve-u2f-server-perl libreadline8 librrds-perl libsocket6-perl libtemplate-perl libterm-readline-gnu-perl libtext-charwidth-perl
  libtext-iconv-perl libuuid-perl libxml-libxml-perl libyaml-0-2 libyaml-libyaml-perl libzstd1 locales perl perl-base
37 upgraded, 12 newly installed, 35 to remove and 644 not upgraded.
3 not fully installed or removed.
Need to get 0 B/30.2 MB of archives.
After this operation, 366 MB disk space will be freed.
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@server4:~#
 
Here's more output that might be helpful in figuring out what is wrong:


Code:
pveversion -v

Use of uninitialized value $PVE::JSONSchema::PVE_TAG_RE in concatenation (.) or string at /usr/share/perl5/PVE/DataCenterConfig.pm line 161.

Use of uninitialized value $PVE::JSONSchema::PVE_TAG_RE in concatenation (.) or string at /usr/share/perl5/PVE/DataCenterConfig.pm line 196.

Use of uninitialized value $PVE::JSONSchema::PVE_TAG_RE in concatenation (.) or string at /usr/share/perl5/PVE/DataCenterConfig.pm line 196.

Use of uninitialized value $PVE::JSONSchema::PVE_TAG_RE in concatenation (.) or string at /usr/share/perl5/PVE/DataCenterConfig.pm line 222.

Use of uninitialized value $PVE::JSONSchema::PVE_TAG_RE in concatenation (.) or string at /usr/share/perl5/PVE/DataCenterConfig.pm line 222.

proxmox-ve: 6.4-1 (running kernel: 5.4.203-1-pve)

pve-manager: 6.4-15 (running version: 6.4-15/af7986e6)

pve-kernel-helper: 7.3-8

pve-kernel-5.4: 6.4-20

pve-kernel-5.4.203-1-pve: 5.4.203-1

pve-kernel-4.15: 5.4-19

pve-kernel-4.15.18-30-pve: 4.15.18-58

pve-kernel-4.15.18-12-pve: 4.15.18-36

ceph-fuse: 12.2.13-pve1

corosync: 3.1.5-pve2~bpo10+1

criu: 3.11-3

glusterfs-client: 5.5-3

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.4

libproxmox-backup-qemu0: 1.1.0-1

libpve-access-control: 6.4-3

libpve-apiclient-perl: 3.2-1

libpve-common-perl: 6.4-5

libpve-guest-common-perl: 3.1-5

libpve-http-server-perl: 3.2-5

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: 4.0.6-2

lxcfs: 4.0.6-pve1

novnc-pve: 1.4.0-1

proxmox-backup-client: 1.1.14-1

proxmox-mini-journalreader: 1.3-1

proxmox-widget-toolkit: 3.5.5

pve-cluster: 6.4-1

pve-container: 3.3-6

pve-docs: 7.3-1

pve-edk2-firmware: 3.20221111-1

pve-firewall: 4.2-7

pve-firmware: 3.6-4

pve-ha-manager: 3.1-1

pve-i18n: 2.8-3

pve-qemu-kvm: 5.2.0-8

pve-xtermjs: 4.7.0-3

qemu-server: 6.4-2

smartmontools: 7.2-pve2

spiceterm: 3.2-2

vncterm: 1.6-2

zfsutils-linux: 2.0.7-pve1

root@server4:~#
 

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!