[SOLVED] Upgrading 6.x to 7.x

sg90

Renowned Member
Sep 21, 2018
304
45
68
35
I have updated a few 6.x nodes to 7.x fine.

I have one node that had the PVE Test repo added to test a newer kernel previously.

When trying to update this node I get the message:
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)

I have tried with and without adding the new PVE Test repo "deb http://download.proxmox.com/debian/pve bullseye pvetest"

But both still try and remove proxmox-ve

apt update Hit:1 http://security.debian.org/debian-security bullseye-security InRelease Hit:2 http://deb.debian.org/debian bullseye InRelease Hit:3 http://deb.debian.org/debian bullseye-updates InRelease Hit:4 http://download.proxmox.com/debian/ceph-octopus bullseye InRelease Hit:5 http://mirror.hetzner.de/debian/packages bullseye InRelease Hit:6 http://download.proxmox.com/debian/pve bullseye InRelease Hit:7 http://mirror.hetzner.de/debian/security bullseye-security InRelease Hit:8 http://mirror.hetzner.de/debian/packages bullseye-updates InRelease Reading package lists... Done Building dependency tree Reading state information... Done 739 packages can be upgraded. Run 'apt list --upgradable' to see them.
 
please post the full output of pveversion -v and apt full-upgrade --simulate
 
pveversion -v proxmox-ve: 6.4-1 (running kernel: 5.4.78-2-pve) pve-manager: 6.4-13 (running version: 6.4-13/9f411e79) pve-kernel-5.4: 6.4-5 pve-kernel-helper: 6.4-5 pve-kernel-5.4.128-1-pve: 5.4.128-1 pve-kernel-5.4.106-1-pve: 5.4.106-1 pve-kernel-5.4.78-2-pve: 5.4.78-2 ceph: 15.2.14-1~bpo10+1 ceph-fuse: 15.2.14-1~bpo10+1 corosync: 3.1.2-pve1 criu: 3.11-3 glusterfs-client: 5.5-3 ifupdown: 0.8.35+pve1 ksmtuned: 4.20150325+b1 libjs-extjs: 6.0.1-10 libknet1: 1.20-pve1 libproxmox-acme-perl: 1.1.0 libproxmox-backup-qemu0: 1.1.0-1 libpve-access-control: 6.4-3 libpve-apiclient-perl: 3.1-3 libpve-common-perl: 6.4-3 libpve-guest-common-perl: 3.1-5 libpve-http-server-perl: 3.2-3 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.1.0-1 proxmox-backup-client: 1.1.13-2 proxmox-mini-journalreader: 1.1-1 proxmox-widget-toolkit: 2.6-1 pve-cluster: 6.4-1 pve-container: 3.3-6 pve-docs: 6.4-2 pve-edk2-firmware: 2.20200531-1 pve-firewall: 4.1-4 pve-firmware: 3.2-4 pve-ha-manager: 3.1-1 pve-i18n: 2.3-1 pve-qemu-kvm: 5.2.0-6 pve-xtermjs: 4.7.0-3 qemu-server: 6.4-2 smartmontools: 7.2-pve2 spiceterm: 3.1-1 vncterm: 1.6-2

apt full-upgrade --simulate in the attached file
 

Attachments

you have (had) some unsupported ceph repository - neither ours nor Debian's repo ever shipped a 15.2.14 package. are you using Ceph on your system?
 
Yes, I run a separate ceph cluster to Proxmox, some nodes I have installed some of the basic CEPH CLI packages via the Offical Ceph repo, I have removed them ceph packages and is now working as expected.

Thanks
 
So I thought it was fixed, but just went to run the upgrade and is the same message.

If I try and remove the ceph-common package it also tries to remove the proxmox-ve package, how can I clean up the old CEPH packages without removing the proxmox-ve package?
 
Okie fixed for real this time with

apt reinstall librados2=15.2.13-pve1~bpo10 libradosstriper1=15.2.13-pve1~bpo10 ceph-common=15.2.13-pve1~bpo10 librbd1=15.2.13-pve1~bpo10 python3-cephfs=15.2.13-pve1~bpo10 python3-ceph-argparse=15.2.13-pve1~bpo10 python3-ceph-common=15.2.13-pve1~bpo10 python3-rados=15.2.13-pve1~bpo10 python3-rbd=15.2.13-pve1~bpo10 python3-rgw=15.2.13-pve1~bpo10 libcephfs2=15.2.13-pve1~bpo10 librgw2=15.2.13-pve1~bpo10
 
  • Like
Reactions: fabian