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.
both are same
and if try to fix command: 'apt --fix-broken install'
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:~#