Project

General

Profile

Bug #58571

Debian package broken

Added by Reinhard Eilmsteiner 2 months ago. Updated about 2 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
1 - critical
Reviewed:
Affected Versions:
ceph-qa-suite:
upgrade/pacific-x
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

I just updated my debian bullseye (11.6) via cron-apt and ceph has ceased working immediately as there are broken dependencies:
For instance package ceph-common (16.2.11-1) depends on python3-rados 16.2.11-1, however, python3-rados is only available in version 16.2.10-1. python3-rados-dbg is already on 16.2.11-1

Help, PLEASE!

History

#1 Updated by Reinhard Eilmsteiner 2 months ago

I'm using this line in my apt-list:
deb https://download.ceph.com/debian-pacific/ bullseye main

#2 Updated by Tim Small 2 months ago

At the moment, Pacific is not installable on Debian 11, and some automated upgrade processes (such as that used by the reporter) will remove packages without any way to reinstall them (i.e. taking down clusters). It is possible to install Quincy on Debian 11, so users could upgrade, but this is obviously not an ideal workaround.

Possible future mitigations:

  • Keep the previous point release available in the download.ceph.com Debian repository (so that both a.b.c an a.b.c-1 are available).
  • Keep a history of previous ceph.com Debian packages available on a separate archive server (so that the mirrors don't have to host the additional packages) - analogous to snapshot.debian.org.
  • Carry out an installation test on a Debian 11 VM to a staging server as part of the release process.

#3 Updated by Christina Meno 2 months ago

I'm confused, it appears to me that python3-rados is in the Packages list and the correct version.
What am I missing here?

christinameno@Christinas-iMac ~ % curl https://download.ceph.com/debian-pacific/dists/bullseye/main/binary-amd64/Packages | grep "Package: python3-rados" A 10
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 79170 100 79170 0 0 137k 0 -
:--:-- --:--:-- --:--:-- 138k
Package: python3-rados
Source: ceph
Version: 16.2.11-1~bpo11+1
Architecture: amd64
Maintainer: Ceph Maintainers <ceph-maintainers@lists.ceph.com>
Installed-Size: 1106
Depends: librados2, python3 (<< 3.10), python3 (>= 3.9~), libc6 (>= 2.14)
Homepage: http://ceph.com/
Priority: optional
Section: python
Filename: pool/main/c/ceph/python3-rados_16.2.11-1~bpo11+1_amd64.deb
--
Package: python3-rados-dbg
Source: ceph
Version: 16.2.11-1~bpo11+1
Architecture: amd64
Maintainer: Ceph Maintainers <ceph-maintainers@lists.ceph.com>
Installed-Size: 1732
Depends: python3-rados (= 16.2.11-1~bpo11+1), python3-dbg
Homepage: http://ceph.com/
Priority: extra
Section: debug
Filename: pool/main/c/ceph/python3-rados-dbg_16.2.11-1~bpo11+1_amd64.deb
christinameno@Christinas-iMac ~ % curl https://download.ceph.com/debian-pacific/pool/main/c/ceph/ | grep "python3-rados_16.2.11"
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 62795 0 62795 0 0 107k 0 --:--:-- --:--:-- --:--:-- 107k
<a href="python3-rados_16.2.11-1bionic_amd64.deb">python3-rados_16.2.11-1bionic_amd64.deb</a> 24-Jan-2023 22:43 341424
<a href="python3-rados_16.2.11-1bionic_arm64.deb">python3-rados_16.2.11-1bionic_arm64.deb</a> 24-Jan-2023 22:36 259072
<a href="python3-rados_16.2.11-1focal_amd64.deb">python3-rados_16.2.11-1focal_amd64.deb</a> 24-Jan-2023 22:55 411560
<a href="python3-rados_16.2.11-1focal_arm64.deb">python3-rados_16.2.11-1focal_arm64.deb</a> 25-Jan-2023 00:17 325468
<a href="python3-rados_16.2.11-1~bpo10%2B1_amd64.deb">python3-rados_16.2.11-1~bpo10+1_amd64.deb</a> 24-Jan-2023 22:30 349588
<a href="python3-rados_16.2.11-1~bpo11%2B1_amd64.deb">python3-rados_16.2.11-1~bpo11+1_amd64.deb</a> 25-Jan-2023 00:27 314612

#4 Updated by Kyle Ivinco 2 months ago

It appears that the packages for Debian Bullseye are missing from the repos. Debian Focal and bionic are there.

https://download.ceph.com/debian-pacific/pool/main/c/ceph/

Causing issues for us as well.

root@Server:~# apt install ceph-common
Reading package lists... Done
Building dependency tree... Done
Reading state information... 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:
ceph-common : Depends: python3-cephfs (= 16.2.11-1~bpo11+1) but it is not going to be installed
Depends: python3-rados (= 16.2.11-1~bpo11+1) but it is not going to be installed
Depends: python3-rbd (= 16.2.11-1~bpo11+1) but it is not going to be installed
Depends: python3-rgw (= 16.2.11-1~bpo11+1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
root@Server:~#

#5 Updated by Christina Meno about 2 months ago

We re-ran the package sync scripts. Bullseye should work now. sorry for the inconvenience.

#6 Updated by Kyle Ivinco about 2 months ago

Thank you Christine!

Would this package sync fix the Octopus repo as well? Bullseye packages are missing from there as well.

Also available in: Atom PDF