Trying to upgrade to PVE 6 wants to remove proxmox-ve package

lylo

New Member
Jul 23, 2020
4
1
3
54
Hi all.

Already looked round the forum, others had similar problems.
Checked and tried some solutions from the discussions
but cannot find where my problem lies ...


Latest Updates for Proxmox 5 installed, fresh rebooted

pve5to6 had no warnings

sources.list like in the docs:

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

# PVE pve-no-subscription repository provided by proxmox.com,
# NOT recommended for production use
deb http://download.proxmox.com/debian/pve buster pve-no-subscription

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


see the "apt dist-upgrade --dry-run" output as attachment


Can you figure out, why the proxmox-ve metapackage is going to be removed during the upgrade?


Thanks in advance
 

Attachments

sources.list like in the docs:
any other sources.list files in sources.list.d?:
Code:
grep '' /etc/apt/sources.list.d/*.list

please post the output of pveversion -v
(could be related to the version of ceph-packages you have installed on that node)
 
Hi Stoiko.

Thought about it first, so moved the whole sources.list.d folder away.
Actually only the sources.list file ist active.


sources.list.d was

root:/etc/apt# ls _sources.list.d/
corosync3.list pve-enterprise.list zabbix.list

root:/etc/apt# cat _sources.list.d/*
deb http://download.proxmox.com/debian/corosync-3/ stretch main
#deb https://enterprise.proxmox.com/debian/pve buster pve-enterprise
deb http://repo.zabbix.com/zabbix/4.0/debian stretch main
deb-src http://repo.zabbix.com/zabbix/4.0/debian stretch main


Ceph - well there are packets but we do not use it (yet) - I think the packets came with/from PVE

root:/etc/apt# dpkg -l|grep -i ceph
ii ceph-common 12.2.13-pve1~bpo9 amd64 common utilities to mount and interact with a ceph storage cluster
ii ceph-fuse 12.2.13-pve1~bpo9 amd64 FUSE-based client for the Ceph distributed file system
ii libcephfs2 12.2.13-pve1~bpo9 amd64 Ceph distributed file system client library
ii python-cephfs 12.2.13-pve1~bpo9 amd64 Python 2 libraries for the Ceph libcephfs library
ii python-rados 12.2.13-pve1~bpo9 amd64 Python 2 libraries for the Ceph librados library
ii python-rbd 12.2.13-pve1~bpo9 amd64 Python 2 libraries for the Ceph librbd library
ii python-rgw 12.2.13-pve1~bpo9 amd64 Python 2 libraries for the Ceph librgw library


root:/etc/apt# pveversion -v
proxmox-ve: 5.4-2 (running kernel: 4.15.18-30-pve)
pve-manager: 5.4-15 (running version: 5.4-15/d0ec33c6)
pve-kernel-4.15: 5.4-19
pve-kernel-4.15.18-30-pve: 4.15.18-58
pve-kernel-4.15.18-29-pve: 4.15.18-57
corosync: 3.0.4-pve1~bpo9
criu: 2.11.1-1~bpo90
glusterfs-client: 3.8.8-1
ksm-control-daemon: 1.2-2
libjs-extjs: 6.0.1-2
libpve-access-control: 5.1-12
libpve-apiclient-perl: 2.0-5
libpve-common-perl: 5.0-56
libpve-guest-common-perl: 2.0-20
libpve-http-server-perl: 2.0-14
libpve-storage-perl: 5.0-44
libqb0: 1.0.5-1~bpo9+2
lvm2: 2.02.168-pve6
lxc-pve: 3.1.0-7
lxcfs: 3.0.3-pve1
novnc-pve: 1.0.0-3
proxmox-widget-toolkit: 1.0-28
pve-cluster: 5.0-38
pve-container: 2.0-42
pve-docs: 5.4-2
pve-edk2-firmware: 1.20190312-1
pve-firewall: 3.0-22
pve-firmware: 2.0-7
pve-ha-manager: 2.0-9
pve-i18n: 1.1-4
pve-libspice-server1: 0.14.1-2
pve-qemu-kvm: 3.0.1-4
pve-xtermjs: 3.12.0-1
qemu-server: 5.0-56
smartmontools: 6.5+svn4324-1
spiceterm: 3.0-5
vncterm: 1.5-3
zfsutils-linux: 0.7.13-pve1~bpo2
 
Thought about it first, so moved the whole sources.list.d folder away.
Actually only the sources.list file ist active.
guess that's the issue - this won't work since if you don't have more current sources - you'll get breaking dependencies (for the ceph-packages you have installed we know that you need to add the luminous repo for buster while upgrading)

-> add your sources.list.d folder back - and change all sources to buster ones and try again

I hope this helps!
 
I had the sources.list.d included and all on buster.
promxmox-ve would be removed then, so decided to move the sources.list.d away.

Now tried again with your suggestion, still the system is trying to remove the proxmox-ve package.

Beside the corosync3 PVE repo an the Zabbix repo there is was no other.

Even changed in the corosync3.list to buster, of course getting an error then.
But even with not using corosync3.list and having zabbix.list active proxmov-ve would be removed


Now tried your suggestion on ceph lumioius, even we do not use it, and I
do not really know why the packages are on the system.


Added a ceph.list file in sources.list.d with

deb http://download.proxmox.com/debian/ceph-luminous buster main

in it


It seems that it will work now.

Will come back later with the results.
 
(Forgot to send the last post - so here are the results already



OK - after adding a ceph.list file the upgrade went well.


Perhaps the should be a hint on

https://pve.proxmox.com/wiki/Upgrade_from_5.x_to_6.0#Continuously_use_the_pve5to6_checklist_script

in this section


"""
(Ceph only) Replace ceph.com repositories with proxmox.com ceph repositories

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

like

"""
Check with dkpg -l|grep ceph if there are ceph packages installed.

Even if not using ceph you the need the ceph.list file with the above entry,
when there are ceph packages installed on the system.


Thanks for your fast help to get my work done ;)
 
  • Like
Reactions: Stoiko Ivanov
Glad you managed to solve your issue!
 

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!