Nathan Cutler wrote:
The python-rados, etc. packages are present in that repo, yet the "apt-get install" command is failing. I don't understand why it doesn't automatically pull in the dependencies.
If I'm understanding the output here correctly, the dependency version numbers aren't set properly.
root@vpm085:~# uname -a
Linux vpm085 4.4.0-24-generic #43-Ubuntu SMP Wed Jun 8 19:27:37 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
root@vpm085:~# dpkg -l | grep ceph
ii libcephfs1 10.2.3-0ubuntu0.16.04.2 amd64 Ceph distributed file system client library
root@vpm085:~# apt-get -s install ceph=0.94.9-4475-gc4bf69d-1xenial ceph-mds=0.94.9-4475-gc4bf69d-1xenial ceph-common=0.94.9-4475-gc4bf69d-1xenial ceph-fuse=0.94.9-4475-gc4bf69d-1xenial ceph-test=0.94.9-4475-gc4bf69d-1xenial radosgw=0.94.9-4475-gc4bf69d-1xenial python-ceph=0.94.9-4475-gc4bf69d-1xenial libcephfs1=0.94.9-4475-gc4bf69d-1xenial libcephfs-java=0.94.9-4475-gc4bf69d-1xenial libcephfs-jni=0.94.9-4475-gc4bf69d-1xenial librados2=0.94.9-4475-gc4bf69d-1xenial librbd1=0.94.9-4475-gc4bf69d-1xenial rbd-fuse=0.94.9-4475-gc4bf69d-1xenial
Reading package lists... Done
Building dependency tree
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: python-rados (= 0.94.9-4475-gc4bf69d-1xenial) but it is not going to be installed
Depends: python-cephfs (= 0.94.9-4475-gc4bf69d-1xenial) but it is not going to be installed
Depends: python-rbd (= 0.94.9-4475-gc4bf69d-1xenial) but it is not going to be installed
ceph-test : Depends: libradosstriper1 but it is not going to be installed
python-ceph : Depends: python-rados but it is not going to be installed
Depends: python-rbd but it is not going to be installed
Depends: python-cephfs but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
root@vpm085:~#
root@vpm085:~#
root@vpm085:~# apt-cache showpkg ceph-common
Package: ceph-common
Versions:
10.2.3-0ubuntu0.16.04.2 (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_xenial-updates_main_binary-amd64_Packages)
Description Language:
File: /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_xenial_main_binary-amd64_Packages
MD5: e302e645c41e2c6148fcff41573e283b
Description Language: en
File: /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_xenial_main_i18n_Translation-en
MD5: e302e645c41e2c6148fcff41573e283b
Description Language:
File: /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_xenial-updates_main_binary-amd64_Packages
MD5: e302e645c41e2c6148fcff41573e283b
10.1.2-0ubuntu1 (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_xenial_main_binary-amd64_Packages)
Description Language:
File: /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_xenial_main_binary-amd64_Packages
MD5: e302e645c41e2c6148fcff41573e283b
Description Language: en
File: /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_xenial_main_i18n_Translation-en
MD5: e302e645c41e2c6148fcff41573e283b
Description Language:
File: /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_xenial-updates_main_binary-amd64_Packages
MD5: e302e645c41e2c6148fcff41573e283b
0.94.9-4475-gc4bf69d-1xenial (/var/lib/apt/lists/2.chacra.ceph.com_r_ceph_wip-hammer-backports_c4bf69da75feb8eb7a69a9bd73ec76a4ae280edf_ubuntu_xenial_flavors_default_dists_xenial_main_binary-amd64_Packages)
Description Language:
File: /var/lib/apt/lists/2.chacra.ceph.com_r_ceph_wip-hammer-backports_c4bf69da75feb8eb7a69a9bd73ec76a4ae280edf_ubuntu_xenial_flavors_default_dists_xenial_main_binary-amd64_Packages
MD5: 4a274fd3d921d494e99f6c08e0197079
Reverse Depends:
ceph,ceph-common 0.78-500
rest-bench-dbg,ceph-common
rest-bench,ceph-common
radosgw,ceph-common 0.94.9-4475-gc4bf69d-1xenial
ceph-test-dbg,ceph-common
ceph-test,ceph-common
ceph-common-dbg,ceph-common 0.94.9-4475-gc4bf69d-1xenial
ceph,ceph-common 0.94.2-2
ceph,ceph-common 10.2.3-0ubuntu0.16.04.2
ceph-test,ceph-common
ceph-fs-common,ceph-common 0.67.3-1
ceph-fs-common,ceph-common 0.67.3-1
rbd-mirror,ceph-common 10.2.3-0ubuntu0.16.04.2
radosgw,ceph-common 10.2.3-0ubuntu0.16.04.2
ceph-common-dbg,ceph-common 10.2.3-0ubuntu0.16.04.2
ceph,ceph-common 9.2.0-0ubuntu1~
ceph,ceph-common 9.2.0-0ubuntu1~
ceph-fs-common,ceph-common 0.67.3-1
ceph-test,ceph-common
ceph-fs-common,ceph-common 0.67.3-1
ceph,ceph-common 9.2.0-0ubuntu1~
rbd-mirror,ceph-common 10.1.2-0ubuntu1
radosgw,ceph-common 10.1.2-0ubuntu1
ceph-common-dbg,ceph-common 10.1.2-0ubuntu1
ceph,ceph-common 9.2.0-0ubuntu1~
ceph,ceph-common 10.1.2-0ubuntu1
Dependencies:
10.2.3-0ubuntu0.16.04.2 - librbd1 (5 10.2.3-0ubuntu0.16.04.2) python-cephfs (5 10.2.3-0ubuntu0.16.04.2) python-rados (5 10.2.3-0ubuntu0.16.04.2) python-rbd (5 10.2.3-0ubuntu0.16.04.2) python-requests (0 (null)) lsb-base (2 4.1+Debian11ubuntu7) python:any (3 2.8) python:any (2 2.7.5-5~) libbabeltrace-ctf1 (2 1.2.1) libbabeltrace1 (2 1.2.1) libblkid1 (2 2.17.2) libboost-iostreams1.58.0 (0 (null)) libboost-program-options1.58.0 (0 (null)) libboost-regex1.58.0 (0 (null)) libboost-system1.58.0 (0 (null)) libboost-thread1.58.0 (0 (null)) libc6 (2 2.16) libgcc1 (2 1:3.0) libkeyutils1 (2 1.4) libnspr4 (18 2:4.9-2~) libnspr4-0d (2 1.8.0.10) libnss3 (18 2:3.13.4-2~) libnss3-1d (2 3.12.9~beta2) librados2 (2 0.87) libradosstriper1 (2 0.93) librgw2 (2 10.2.3) libstdc++6 (2 5.2) libudev1 (2 183) ceph-client-tools (0 (null)) ceph (3 9.2.0-0ubuntu1~) ceph-test (3 9.2.0-0ubuntu1~) librbd1 (3 0.94.1-1~) python-ceph (3 0.94.1-1~) ceph (0 (null)) ceph-mds (0 (null)) ceph (3 9.2.0-0ubuntu1~) ceph-client-tools (0 (null)) ceph-test (3 9.2.0-0ubuntu1~) librbd1 (3 0.94.1-1~) python-ceph (3 0.94.1-1~)
10.1.2-0ubuntu1 - librbd1 (5 10.1.2-0ubuntu1) python-cephfs (5 10.1.2-0ubuntu1) python-rados (5 10.1.2-0ubuntu1) python-rbd (5 10.1.2-0ubuntu1) python-requests (0 (null)) lsb-base (2 4.1+Debian11ubuntu7) python:any (3 2.8) python:any (2 2.7.5-5~) libbabeltrace-ctf1 (2 1.2.1) libbabeltrace1 (2 1.2.1) libblkid1 (2 2.17.2) libboost-iostreams1.58.0 (0 (null)) libboost-program-options1.58.0 (0 (null)) libboost-regex1.58.0 (0 (null)) libboost-system1.58.0 (0 (null)) libboost-thread1.58.0 (0 (null)) libc6 (2 2.16) libgcc1 (2 1:3.0) libkeyutils1 (2 1.4) libnspr4 (18 2:4.9-2~) libnspr4-0d (2 1.8.0.10) libnss3 (18 2:3.13.4-2~) libnss3-1d (2 3.12.9~beta2) librados2 (2 0.87) libradosstriper1 (2 0.93) librgw2 (2 10.1.2) libstdc++6 (2 5.2) libudev1 (2 183) ceph-client-tools (0 (null)) ceph (3 9.2.0-0ubuntu1~) ceph-test (3 9.2.0-0ubuntu1~) librbd1 (3 0.94.1-1~) python-ceph (3 0.94.1-1~) ceph (0 (null)) ceph-mds (0 (null)) ceph (3 9.2.0-0ubuntu1~) ceph-client-tools (0 (null)) ceph-test (3 9.2.0-0ubuntu1~) librbd1 (3 0.94.1-1~) python-ceph (3 0.94.1-1~)
0.94.9-4475-gc4bf69d-1xenial - librbd1 (5 0.94.9-4475-gc4bf69d-1xenial) libbabeltrace-ctf1 (2 1.2.1) libbabeltrace1 (2 1.2.1) libblkid1 (2 2.17.2) libboost-system1.58.0 (0 (null)) libboost-thread1.58.0 (0 (null)) libc6 (2 2.16) libgcc1 (2 1:3.0) libkeyutils1 (2 1.4) libnspr4 (18 2:4.9-2~) libnspr4-0d (2 1.8.0.10) libnss3 (18 2:3.13.4-2~) libnss3-1d (2 3.12.9~beta2) librados2 (0 (null)) libstdc++6 (2 5.2) libudev1 (2 183) libuuid1 (2 2.16) python-rados (5 0.94.9-4475-gc4bf69d-1xenial) python-cephfs (5 0.94.9-4475-gc4bf69d-1xenial) python-rbd (5 0.94.9-4475-gc4bf69d-1xenial) python-requests (0 (null)) ceph-client-tools (0 (null)) ceph (3 0.94.2-2) ceph-test (3 0.94.5-2) librbd1 (3 0.92-1238) python-ceph (3 0.92-1223) ceph (0 (null)) ceph-mds (0 (null)) ceph (3 0.94.2-2) ceph-client-tools (0 (null)) ceph-test (3 0.94.5-2) librbd1 (3 0.92-1238) python-ceph (3 0.92-1223)
Provides:
10.2.3-0ubuntu0.16.04.2 -
10.1.2-0ubuntu1 -
0.94.9-4475-gc4bf69d-1xenial -
Reverse Provides:
root@vpm085:~# apt-cache show ceph-common=0.94.9-4475-gc4bf69d-1xenial
Package: ceph-common
Source: ceph
Version: 0.94.9-4475-gc4bf69d-1xenial
Architecture: amd64
Maintainer: Laszlo Boszormenyi (GCS) <gcs@debian.hu>
Installed-Size: 30206
Depends: librbd1 (= 0.94.9-4475-gc4bf69d-1xenial), libbabeltrace-ctf1 (>= 1.2.1), libbabeltrace1 (>= 1.2.1), libblkid1 (>= 2.17.2), libboost-system1.58.0, libboost-thread1.58.0, libc6 (>= 2.16), libgcc1 (>= 1:3.0), libkeyutils1 (>= 1.4), libnspr4 (>= 2:4.9-2~) | libnspr4-0d (>= 1.8.0.10), libnss3 (>= 2:3.13.4-2~) | libnss3-1d (>= 3.12.9~beta2), librados2, libstdc++6 (>= 5.2), libudev1 (>= 183), libuuid1 (>= 2.16), python-rados (= 0.94.9-4475-gc4bf69d-1xenial), python-cephfs (= 0.94.9-4475-gc4bf69d-1xenial), python-rbd (= 0.94.9-4475-gc4bf69d-1xenial), python-requests
Suggests: ceph, ceph-mds
Conflicts: ceph-client-tools
Breaks: ceph (<< 0.94.2-2), ceph-test (<< 0.94.5-2), librbd1 (<< 0.92-1238), python-ceph (<< 0.92-1223)
Replaces: ceph (<< 0.94.2-2), ceph-client-tools, ceph-test (<< 0.94.5-2), librbd1 (<< 0.92-1238), python-ceph (<< 0.92-1223)
Homepage: http://ceph.com/
Priority: optional
Section: admin
Filename: pool/main/c/ceph/ceph-common_0.94.9-4475-gc4bf69d-1xenial_amd64.deb
Size: 6140860
SHA256: fd646c0ea7dd463f6377d882bd98bd57865bbae341dbe1e1b819a824f4529583
SHA1: 38b8aa8550af7fd356e60473f1c5497b73d9d629
MD5sum: d99deea621f73d1e83e1bf60fe242810
Description: common utilities to mount and interact with a ceph storage cluster
Ceph is a massively scalable, open-source, distributed
storage system that runs on commodity hardware and delivers object,
block and file system storage. This is a collection
of common tools that allow one to interact with and administer a Ceph cluster.
Description-md5: 4a274fd3d921d494e99f6c08e0197079
Build URL: https://jenkins.ceph.com/job/ceph-dev-new-build/ARCH=x86_64,AVAILABLE_ARCH=x86_64,AVAILABLE_DIST=xenial,DIST=xenial,MACHINE_SIZE=huge/246/consoleFull