[SOLVED] After migration 6 -> 7 : You are attempting to remove the meta-package 'proxmox-ve'!

demon_mono

Member
Nov 24, 2020
24
1
23
39
I have a Proxmox Server .
I updated it from 6 to 7 this summer without problem.

But since , I can not do a dist-upgrade :
Bash:
root@server:/etc/apt/sources.list.d# apt dist-upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  libfdt1 libfuse3-3 libleveldb1d liboath0 libproxmox-backup-qemu0 libqrencode4 librabbitmq4 librdkafka1 librgw2 proxmox-archive-keyring proxmox-backup-client
  proxmox-backup-file-restore proxmox-backup-restore-image pve-lxc-syscalld python-ceph-argparse qrencode zstd
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
  ceph-common libpve-guest-common-perl libpve-storage-perl libpython-stdlib proxmox-ve pve-container pve-ha-manager pve-manager pve-qemu-kvm python python-asn1crypto
  python-cephfs python-certifi python-cffi-backend python-configparser python-cryptography python-enum34 python-future python-idna python-ipaddr python-ipaddress
  python-minimal python-openssl python-prettytable python-rados python-rbd python-rgw python-urllib3 qemu-server spiceterm
The following packages will be upgraded:
  libpython2-stdlib libpython2.7-minimal libpython2.7-stdlib python-six python2 python2-minimal python2.7 python2.7-minimal python3-six
9 upgraded, 0 newly installed, 30 to remove and 0 not upgraded.
Need to get 0 B/4,009 kB of archives.
After this operation, 366 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
root@server:/etc/apt/sources.list.d#

Here is apt sources list :

Bash:
root@server:/etc/apt/sources.list.d#  grep '' /etc/apt/sources.list.d/*.list
/etc/apt/sources.list.d/pve-enterprise.list:#deb https://enterprise.proxmox.com/debian/pve bullseye pve-enterprise
/etc/apt/sources.list.d/pve-install-repo.list:deb http://download.proxmox.com/debian/pve bullseye pve-no-subscription

Bash:
root@server:/etc/apt/sources.list.d# apt list --upgradable
Listing... Done
libpython2-stdlib/stable 2.7.18-3 amd64 [upgradable from: 2.7.16-1]
libpython2.7-minimal/stable 2.7.18-8 amd64 [upgradable from: 2.7.16-2+deb10u1]
libpython2.7-stdlib/stable 2.7.18-8 amd64 [upgradable from: 2.7.16-2+deb10u1]
python-six/stable 1.16.0-2 all [upgradable from: 1.12.0-1]
python2-minimal/stable 2.7.18-3 amd64 [upgradable from: 2.7.16-1]
python2.7-minimal/stable 2.7.18-8 amd64 [upgradable from: 2.7.16-2+deb10u1]
python2.7/stable 2.7.18-8 amd64 [upgradable from: 2.7.16-2+deb10u1]
python2/stable 2.7.18-3 amd64 [upgradable from: 2.7.16-1]
python3-six/stable 1.16.0-2 all [upgradable from: 1.12.0-1]
 
please post the output of dpkg -l ceph and apt-cache policy ceph.
 
Hy ,

root@server:~# dpkg -l ceph
Bash:
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version      Architecture Description
+++-==============-============-============-=================================
un  ceph           <none>       <none>       (no description available)

root@server:~# apt-cache policy ceph
Bash:
ceph:
  Installed: (none)
  Candidate: 14.2.21-1
  Version table:
     14.2.21-1 500
        500 http://ftp.fr.debian.org/debian bullseye/main amd64 Packages
root@server:~#

Thanks :)
 
sorry - could you repeat with 'ceph-common' instead of 'ceph'? thanks!
 
  • Like
Reactions: flames
Hy,
root@server:~# apt-cache policy ceph-common

Code:
ceph-common:
  Installed: 14.2.22-pve1
  Candidate: 14.2.22-pve1
  Version table:
 *** 14.2.22-pve1 100
        100 /var/lib/dpkg/status
     14.2.21-1 500
        500 http://ftp.fr.debian.org/debian bullseye/main amd64 Packages

root@server:~# dpkg -l ceph-common
Code:
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version      Architecture Description
+++-==============-============-============-==================================================================
ii  ceph-common    14.2.22-pve1 amd64        common utilities to mount and interact with a ceph storage cluster
root@server:~#
 
you need to enable a proxmox ceph repository:

echo "deb http://download.proxmox.com/debian/ceph-octopus bullseye main" > /etc/apt/sources.list.d/ceph.list

otherwise upgrading the ceph packages is not possible (PVE 6.x ceph repositories have a newer version than stock Debian bullseye)
 
  • Like
Reactions: flames