Project

General

Profile

Bug #40199

Debian Package Repositories - Missing packages in Packages file

Added by Oliver Schraml almost 5 years ago. Updated over 3 years ago.

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

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
ceph-qa-suite:
fs
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

URLs: https://eu.ceph.com https://download.ceph.com

Affected ceph versions: mimic and nautilus

Affected Debian versions: (wheeyz,) jessie and stretch (buster not created right now in the ceph repos)

Affected Debian architectures: binary-amd64 binary-arm64 binary-armhf binary-i386

Last working Debian repository: /debian-luminous/dists/jessie /debian-luminous/dists/stretch

The packages files for the Debian repositories, for the mentioned ceph/debian versions above, were not fully generated.

You can see for example that the file debian-nautilus/dists/stretch/main/binary-amd64/Packages is only containing the metadata of the package ceph-deploy and nothing more.
This forces the newer Debian versions to use the ceph luminus repo if you are using ceph-deploy.

If you compare the Debian repo with the repo for Ubuntu (https://eu.ceph.com/debian-nautilus/dists/xenial/main/binary-amd64/Packages) all packages are listed and all the needed metadata is in the file.

The package files inside of the Debian repositories are actually there (debian-nautilus/pool/main/c/ceph/), but as long the Packages file is not including them its going back in the version tree till it finds valid metadata which is in the debain-luminous repository

Please regenerate the metadata files which are needed for the Debian repositories.

If you need any help on that do not hesitate to contact me.

Many thanks

History

#1 Updated by David Galloway almost 5 years ago

  • Status changed from New to 4
  • Assignee set to David Galloway

Hi Oliver,

We actually haven't built Ceph for Debian since Luminous due to (I think) it not having a new enough version of gcc.

#2 Updated by Nix N. almost 5 years ago

Hi all.

I don't think it's due to the gcc version. At http://download.ceph.com/debian-nautilus/pool/main/c/ceph/ there are versions for Ubuntu's xenial, whose gcc is at version 5.3 (https://packages.ubuntu.com/xenial/gcc), Debian stretch's gcc is at 6.3 (https://packages.debian.org/stretch/gcc). But of course I can be wrong. Please clarify.

While it would be easy to use Ubuntu or sth. else at the ceph (virtual) machines, I would like to stick with Debian. It could even be buster, but there are no ceph packages for that either.

-nix

#3 Updated by Oliver Schraml almost 5 years ago

Hello there,
I can not beleave it as well that it is the GCC version as normally the Debian Stable/Testing are normally always providing nearly the newst one of it. And in the build process for deb files in Debian and Ubuntu is nearly the same, you even can use the same packages for both if its correctly build.

Currently it looks for Debian like that:
rmadison gcc
gcc | 4:4.9.2-2 | oldstable | amd64, armel, armhf, i386
gcc | 4:6.3.0-4 | stable | amd64, arm64, armel, armhf, i386, mips, mips64el, mipsel, ppc64el, s390x
gcc | 4:8.3.0-1 | testing | amd64, arm64, armel, armhf, i386, mips, mips64el, mipsel, ppc64el, s390x
gcc | 4:8.3.0-1 | unstable | amd64, arm64, armel, armhf, i386, mips, mips64el, mipsel, ppc64el, s390x
gcc | 4:9-20181127-1 | experimental | amd64, arm64, armel, armhf, i386, mips, mips64el, mipsel, ppc64el, s390x

And as you can see in there the GCC Veriosn for Debian Stretch (9) is currently 6.3.0-4 and for Buster (10) its 8.3.0-1 So these versions should be hihgh enough right?

Maybe you already build your packages for Ubuntu and Debian alrady in one deb file, but it was just not added ot the Packages File. Because if you have a look at the Luminous repo there are no special files for Debian and for Ubuntu as well.

Many thanks and br
Olli

#4 Updated by Ondra KudlĂ­k over 4 years ago

Hello,

meantime Debian 10 LTS has been released, so latest stable Debian has gcc 8.3, oldstable is still on 6.3 which should be OK too if I'm reading this correctly.

gcc        | 4:6.3.0-4     | oldstable    |
gcc        | 4:8.3.0-1     | stable       |

It would be amazing to have Debian builds again as we are currently stuck with Luminous. For us it would be enough to have builds for current stable, as we can upgrade immediately, but I suppose for majority of users it would be great to have support for Debian 9 too as it has almost 3 years ahead. Stretch (Debian 9) has LTS support until ~2022, Buster (Debian 10 and current stable) has normal support until ~2022 and there should be LTS too, so probably ~2024.

Thanks for looking into this

Kepi

#5 Updated by Patrick Donnelly over 4 years ago

  • Status changed from 4 to New

#6 Updated by David Galloway over 4 years ago

  • Assignee deleted (David Galloway)

I'm not really sure why this ever got assigned to me.

EDIT: Nevermind. I thought this was a different ticket. Either way, this decision is not up to me. We only have resources to build on CentOS and Ubuntu.

#7 Updated by Jelle de Jong over 3 years ago

Can someone please have a look why the only package is ceph-deploy in the Packages file even though the binaries seem to be build... https://download.ceph.com/debian-nautilus/pool/main/c/ceph/

root@ceph01:~/ceph-cluster# cat /var/lib/apt/lists/download.ceph.com_debian-nautilus_dists_buster_main_binary-amd64_Packages
Package: ceph-deploy
Version: 2.0.1
Architecture: all
Maintainer: Sage Weil <>
Installed-Size: 587
Depends: python (>= 2.7), python-argparse, python-setuptools, python (<< 2.8), python-pkg-resources
Homepage: http://ceph.com/
Priority: optional
Section: admin
Filename: pool/main/c/ceph-deploy/ceph-deploy_2.0.1_all.deb
Size: 97194
SHA256: e9891d3040843840146df0ac8cb21d881ece5957c83f37e76017b91407bfb406
SHA1: a4169225903d31905d662c7c2e84aca522e71f53
MD5sum: 41d565d77e8d5ac3ca1019929f583313
Description: Ceph-deploy is an easy to use configuration tool
for the Ceph distributed storage system.
.
This package includes the programs and libraries to support
simple ceph cluster deployment.

root@ceph01:~/ceph-cluster# apt-cache policy ceph-base
ceph-base:
Installed: 12.2.11+dfsg1-2.1+b1
Candidate: 12.2.11+dfsg1-2.1+b1
Version table:
14.2.9-1~bpo10+1 100
100 http://ftp.uk.debian.org/debian buster-backports/main amd64 Packages *** 12.2.11+dfsg1-2.1+b1 990
990 http://ftp.uk.debian.org/debian buster/main amd64 Packages
100 /var/lib/dpkg/status
root@ceph01:~/ceph-cluster# apt-cache policy
Package files:
100 /var/lib/dpkg/status
release a=now
990 https://download.ceph.com/debian-nautilus buster/main amd64 Packages
release o=ceph.com,a=stable,n=buster,c=main,b=amd64
origin download.ceph.com
100 http://ftp.uk.debian.org/debian buster-backports/non-free amd64 Packages
release o=Debian Backports,a=buster-backports,n=buster-backports,l=Debian Backports,c=non-free,b=amd64
origin ftp.uk.debian.org
100 http://ftp.uk.debian.org/debian buster-backports/contrib amd64 Packages
release o=Debian Backports,a=buster-backports,n=buster-backports,l=Debian Backports,c=contrib,b=amd64
origin ftp.uk.debian.org
100 http://ftp.uk.debian.org/debian buster-backports/main amd64 Packages
release o=Debian Backports,a=buster-backports,n=buster-backports,l=Debian Backports,c=main,b=amd64
origin ftp.uk.debian.org
990 http://security.debian.org buster/updates/non-free amd64 Packages
release v=10,o=Debian,a=stable,n=buster,l=Debian-Security,c=non-free,b=amd64
origin security.debian.org
990 http://security.debian.org buster/updates/main amd64 Packages
release v=10,o=Debian,a=stable,n=buster,l=Debian-Security,c=main,b=amd64
origin security.debian.org
990 http://ftp.uk.debian.org/debian buster/non-free amd64 Packages
release v=10.5,o=Debian,a=stable,n=buster,l=Debian,c=non-free,b=amd64
origin ftp.uk.debian.org
990 http://ftp.uk.debian.org/debian buster/contrib amd64 Packages
release v=10.5,o=Debian,a=stable,n=buster,l=Debian,c=contrib,b=amd64
origin ftp.uk.debian.org
990 http://ftp.uk.debian.org/debian buster/main amd64 Packages
release v=10.5,o=Debian,a=stable,n=buster,l=Debian,c=main,b=amd64
origin ftp.uk.debian.org
Pinned packages:

Also available in: Atom PDF