Bug 1668943 - Dependency problems when installing RHCS 2 on Ubuntu
Summary: Dependency problems when installing RHCS 2 on Ubuntu
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Documentation
Version: 2.5
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: z4
: 2.5
Assignee: Bara Ancincova
QA Contact: ceph-qe-bugs
URL:
Whiteboard:
Depends On:
Blocks: 1687793
TreeView+ depends on / blocked
 
Reported: 2019-01-23 22:53 UTC by tserlin
Modified: 2019-04-15 16:36 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-04-15 16:36:40 UTC
Embargoed:


Attachments (Terms of Use)

Description tserlin 2019-01-23 22:53:32 UTC
Because the default Ubuntu Xenial repositories recently added a newer version of Ceph Jewel (10.2.11-0ubuntu0.16.04.1), you will get "unmet dependency" errors when trying to install the downstream Red Hat version:

=======
root@localhost:~# apt-get install ceph-mon
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-mon : Depends: ceph-base (= 10.2.10-37redhat1xenial) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
========


I had set up my Ubuntu 16.04 system with the downstream repos, acccording to the installation guide https://access.redhat.com/documentation/en-us/red_hat_ceph_storage/2/html-single/installation_guide_for_ubuntu/#enabling_the_red_hat_ceph_storage_repositories :

========
root@localhost:~# cat /etc/apt/sources.list.d/*
deb https://tserlin@redhat.com:XXXXX@rhcs.download.redhat.com/2-updates/MON xenial main
deb https://tserlin@redhat.com:XXXXX@rhcs.download.redhat.com/2-updates/OSD xenial main
deb https://tserlin@redhat.com:XXXXX@rhcs.download.redhat.com/2-updates/Tools xenial main
========


This can be remedied by creating an APT preferences file, like below:
========
root@localhost:~# cat /etc/apt/preferences.d/rhcs2
Package: *
Pin: origin "rhcs.download.redhat.com"
Pin-Priority: 1001
========


Note You need to log in before you can comment on or make changes to this bug.