[SOLVED] Update from 6 to 7 gone wrong - ceph dependency

Aug 28, 2017
67
12
48
45
Hi there,

i tried to update from Version 6 to 7 on a fresh install (Direct install of 7 did not work -> https://forum.proxmox.com/threads/installation-aborted.96431/#post-425292 )

The Packages however are now in state that prevent me from updating to 7:

Code:
Fetched 151 MB in 2s (71.0 MB/s)   
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

It looks like an error to me that there is a ceph-fuse and ceph-common package installed (from Debian, not proxmox (!)) - as i did not yet set up proxmox to use ceph, just wanted to go straight to pve7 and configure all else like ceph later ...)

Trying to remove the package results in an error, as they are needed for several packages:

Code:
root@kvm02-bt01-b:/var/log/apt# dpkg --purge ceph-common ceph-fuse
dpkg: dependency problems prevent removal of ceph-common:
 python-cephfs depends on ceph-common.
 pve-qemu-kvm depends on ceph-common (>= 0.48).
 libpve-storage-perl depends on ceph-common (>= 12.2~).


dpkg: error processing package ceph-common (--purge):
 dependency problems - not removing
dpkg: dependency problems prevent removal of ceph-fuse:
 libpve-storage-perl depends on ceph-fuse.


dpkg: error processing package ceph-fuse (--purge):
 dependency problems - not removing
Errors were encountered while processing:
 ceph-common
 ceph-fuse


Code:
root@kvm02-bt01-b:/etc/apt/sources.list.d# pveversion -v
proxmox-ve: 7.0-2 (running kernel: 5.11.22-5-pve)
pve-manager: 6.4-13 (running version: 6.4-13/9f411e79)
pve-kernel-helper: 7.1-2
pve-kernel-5.11: 7.0-8
pve-kernel-5.4: 6.4-6
pve-kernel-5.11.22-5-pve: 5.11.22-10
pve-kernel-5.4.140-1-pve: 5.4.140-1
pve-kernel-5.4.106-1-pve: 5.4.106-1
ceph-fuse: 12.2.11+dfsg1-2.1+b1
corosync: 3.1.5-pve1
criu: 3.11-3
glusterfs-client: 9.2-1
ifupdown: residual config
ifupdown2: 3.1.0-1+pmx3
ksm-control-daemon: 1.4-1
libjs-extjs: 7.0.0-1
libknet1: 1.22-pve1
libproxmox-acme-perl: 1.4.0
libproxmox-backup-qemu0: 1.2.0-1
libpve-access-control: 6.4-3
libpve-apiclient-perl: 3.2-1
libpve-common-perl: 7.0-10
libpve-guest-common-perl: 4.0-2
libpve-http-server-perl: 4.0-3
libpve-storage-perl: 7.0-12
libqb0: 1.0.5-1
libspice-server1: 0.14.3-2.1
lvm2: 2.03.11-2.1
lxc-pve: 4.0.9-4
lxcfs: 4.0.8-pve2
novnc-pve: 1.2.0-3
proxmox-backup-client: 2.0.11-1
proxmox-mini-journalreader: 1.2-1
proxmox-widget-toolkit: 3.3-6
pve-cluster: 6.4-1
pve-container: 4.1-1
pve-docs: 7.0-5
pve-edk2-firmware: 3.20200531-1
pve-firewall: 4.2-4
pve-firmware: 3.3-2
pve-ha-manager: 3.3-1
pve-i18n: 2.5-1
pve-qemu-kvm: 5.2.0-6
pve-xtermjs: 4.12.0-1
qemu-server: 7.0-14
smartmontools: 7.2-pve2
spiceterm: 3.2-2
vncterm: 1.7-1
zfsutils-linux: 2.0.5-pve1
 
OK, i found the issue - i've used ansible to update my system and messed up the repo file:

Code:
deb https://enterprise.proxmox.com/debian/pve buster pve-enterprise
deb https://enterprise.proxmox.com/debian/pve bullseye pve-enterprise

Removed the line with "buster" and it worked as expected ;)
 

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!