Upgrade give me error WARNING !! You are attempting to remove the meta-package 'proxmox-ve'!

Dindio

New Member
Feb 18, 2022
6
0
1
33
Hello everyone! Upgrade give me this error and I don't know what to do.
Code:
# apt full-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following package was automatically installed and is no longer required:
  proxmox-archive-keyring
Use 'apt autoremove' to remove it.
The following packages will be REMOVED:
  proxmox-ve pve-container pve-ha-manager pve-kernel-helper pve-manager
  qemu-server zfs-initramfs
The following packages have been kept back:
  libext2fs2 libpve-access-control libpve-common-perl libpve-guest-common-perl
  libpve-http-server-perl libpve-storage-perl pve-firewall python-cephfs
  python-rados python-rbd zfs-zed zfsutils-linux
0 upgraded, 0 newly installed, 7 to remove and 12 not upgraded.
After this operation, 11.7 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

here is my source.list
Code:
# cat /etc/apt/sources.list /etc/apt/sources.list.d/*
deb http://deb.debian.org/debian buster main contrib

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

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


deb http://download.proxmox.com/debian/ceph-quincy bookworm no-subscription
deb https://linux.dell.com/repo/community/openmanage/950/focal/ focal main
deb [arch=amd64] http://download.proxmox.com/debian/pve bullseye pve-no-subscription

here is pveversion -v output
Code:
#pveversion -v
Use of uninitialized value $PVE::JSONSchema::PVE_TAG_RE in concatenation (.) or string at /usr/share/perl5/PVE/DataCenterConfig.pm line 169.
Use of uninitialized value $PVE::JSONSchema::PVE_TAG_RE in concatenation (.) or string at /usr/share/perl5/PVE/DataCenterConfig.pm line 204.
Use of uninitialized value $PVE::JSONSchema::PVE_TAG_RE in concatenation (.) or string at /usr/share/perl5/PVE/DataCenterConfig.pm line 204.
Use of uninitialized value $PVE::JSONSchema::PVE_TAG_RE in concatenation (.) or string at /usr/share/perl5/PVE/DataCenterConfig.pm line 230.
Use of uninitialized value $PVE::JSONSchema::PVE_TAG_RE in concatenation (.) or string at /usr/share/perl5/PVE/DataCenterConfig.pm line 230.
proxmox-ve: 7.3-1 (running kernel: 5.15.126-1-pve)
pve-manager: 6.2-4 (running version: 6.2-4/9824574a)
pve-kernel-5.15: 7.4-7
pve-kernel-helper: 7.3-3
pve-kernel-5.4: 6.4-20
pve-kernel-5.15.126-1-pve: 5.15.126-1
pve-kernel-5.15.85-1-pve: 5.15.85-1
pve-kernel-5.15.53-1-pve: 5.15.53-1
pve-kernel-5.4.203-1-pve: 5.4.203-1
pve-kernel-5.4.34-1-pve: 5.4.34-2
ceph-fuse: 12.2.11+dfsg1-2.1+b1
corosync: 3.0.3-pve1
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.15-pve1
libproxmox-acme-perl: 1.4.4
libpve-access-control: 6.1-1
libpve-apiclient-perl: 3.2-1
libpve-common-perl: 6.1-2
libpve-guest-common-perl: 3.0-10
libpve-http-server-perl: 3.0-5
libpve-storage-perl: 6.1-7
libqb0: 1.0.5-1
libspice-server1: 0.14.2-4~pve6+1
lvm2: 2.03.02-pve4
lxc-pve: 4.0.2-1
lxcfs: 4.0.3-pve2
novnc-pve: 1.4.0-1
proxmox-mini-journalreader: 1.3-1
proxmox-widget-toolkit: 3.7.3
pve-cluster: 6.1-8
pve-container: 3.1-5
pve-docs: 7.4-2
pve-edk2-firmware: 3.20230228-4~bpo11+1
pve-firewall: 4.2-7
pve-firmware: 3.6-6
pve-ha-manager: 3.0-9
pve-i18n: 2.12-1
pve-qemu-kvm: 5.0.0-2
pve-xtermjs: 4.3.0-1
qemu-server: 6.2-2
smartmontools: 7.2-pve2
spiceterm: 3.2-2
vncterm: 1.6-1
zfsutils-linux: 0.8.3-pve1

Code:
#apt update

Hit:1 http://deb.debian.org/debian buster InRelease
Hit:2 http://deb.debian.org/debian buster-updates InRelease
Hit:3 http://security.debian.org buster/updates InRelease
Hit:4 http://download.proxmox.com/debian/ceph-quincy bookworm InRelease
Hit:5 http://download.proxmox.com/debian/pve bullseye InRelease
Hit:6 https://linux.dell.com/repo/community/openmanage/950/focal focal InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
52 packages can be upgraded. Run 'apt list --upgradable' to see them.

Any help pls?
 
here is my source.list
Code:
# cat /etc/apt/sources.list /etc/apt/sources.list.d/*
deb http://deb.debian.org/debian buster main contrib

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

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


deb http://download.proxmox.com/debian/ceph-quincy bookworm no-subscription
deb https://linux.dell.com/repo/community/openmanage/950/focal/ focal main
deb [arch=amd64] http://download.proxmox.com/debian/pve bullseye pve-no-subscription
You're combining three versions of Proxmox: PVE 6 based on Debian 10 buster, PVE 7 based on Debian 11 bullseye and PVE 8 based on Debian 12 bookworm.
This also shows in the pveversion where the kernel is from PVE 7.3 and the web GUI is from PVE 6.2.
This is a mess. Maybe reinstalling a clean version of Proxmox VE 8 and restore your VMs/CTs from backup is the easiest solution?
 
I managed to solve almost all errors. I still have a problem. python-cephfs is stuck on ver 12.2.11 and I cannot upgrade it

here is the output
Code:
#apt list --upgradable
Listing... Done
python-cephfs/stable 14.2.22-pve1 amd64 [upgradable from: 12.2.11+dfsg1-2.1+deb10u1]
N: There are 20 additional versions. Please use the '-a' switch to see them.
when I try to update it I got this error
Code:
apt upgrade python-cephfs
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 python-cephfs : Depends: libcephfs2 (= 14.2.22-pve1) but 15.2.17-pve1~bpo10 is to be installed
E: Broken packages

the problem is that libcephfs can't be downgraded to 14.2.22-pve1, when I try I got this warnings:
Code:
# apt install libcephfs2=14.2.22-pve1
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libleveldb1d liboath0 libqrencode4 librabbitmq4 librdkafka1 librgw2 proxmox-archive-keyring proxmox-backup-client proxmox-backup-file-restore proxmox-backup-restore-image python3-ceph-argparse python3-ceph-common python3-rados
  python3-rbd python3-rgw python3-yaml qrencode
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
  python-cephfs
The following packages will be REMOVED:
  ceph-common libpve-guest-common-perl libpve-storage-perl proxmox-ve pve-container pve-ha-manager pve-manager pve-qemu-kvm python3-cephfs qemu-server spiceterm
The following packages will be upgraded:
  python-cephfs
The following packages will be DOWNGRADED:
  libcephfs2
1 upgraded, 0 newly installed, 1 downgraded, 11 to remove and 0 not upgraded.
Need to get 588 kB of archives.
After this operation, 365 MB disk space will be freed.
Do you want to continue? [Y/n] n
Abort.
any suggestions?

just for completion here is pveversion -v
Code:
Use of uninitialized value $PVE::JSONSchema::PVE_TAG_RE in concatenation (.) or string at /usr/share/perl5/PVE/DataCenterConfig.pm line 169.
Use of uninitialized value $PVE::JSONSchema::PVE_TAG_RE in concatenation (.) or string at /usr/share/perl5/PVE/DataCenterConfig.pm line 204.
Use of uninitialized value $PVE::JSONSchema::PVE_TAG_RE in concatenation (.) or string at /usr/share/perl5/PVE/DataCenterConfig.pm line 204.
Use of uninitialized value $PVE::JSONSchema::PVE_TAG_RE in concatenation (.) or string at /usr/share/perl5/PVE/DataCenterConfig.pm line 230.
Use of uninitialized value $PVE::JSONSchema::PVE_TAG_RE in concatenation (.) or string at /usr/share/perl5/PVE/DataCenterConfig.pm line 230.
proxmox-ve: 7.3-1 (running kernel: 5.15.126-1-pve)
pve-manager: 6.4-15 (running version: 6.4-15/af7986e6)
pve-kernel-5.15: 7.4-7
pve-kernel-helper: 7.3-3
pve-kernel-5.15.126-1-pve: 5.15.126-1
ceph-fuse: 15.2.17-pve1~bpo10
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.22-pve2~bpo10+1
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.2-4~pve6+1
lvm2: 2.03.02-pve4
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.7.3
pve-cluster: 6.4-1
pve-container: 3.3-6
pve-docs: 7.4-2
pve-edk2-firmware: 3.20230228-4~bpo11+1
pve-firewall: 4.2-7
pve-firmware: 3.6-6
pve-ha-manager: 3.1-1
pve-i18n: 2.12-1
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

thanks
 
Last edited:
I managed to install it from GUI. Maybe was a repository problem like leesteken said. Thanks!
 

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!