Bug 1173950 - docker-io can't be installed on rhel 6.5 due to requirement device-mapper-libs >= 1.02.90-1
Summary: docker-io can't be installed on rhel 6.5 due to requirement device-mapper-li...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: docker-io
Version: el6
Hardware: Unspecified
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Lokesh Mandvekar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1174514 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-12-14 12:36 UTC by Alissa
Modified: 2015-03-21 03:47 UTC (History)
15 users (show)

Fixed In Version: docker-io-1.4.1-3.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-01-31 16:53:10 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Alissa 2014-12-14 12:36:46 UTC
Description of problem:
docker-io.x86_64 0:1.3.2-2.el6 can't be installed on rhel 6.5 due to requirement device-mapper-libs >= 1.02.90-1:


How reproducible:


Steps to Reproduce: (on rhel 6.5)
1. sudo yum install docker-io 
2. device-mapper-libs can't be upgraded to the requested version.
3.

Actual results:
error:
Running transaction check
---> Package docker-io.x86_64 0:1.3.2-2.el6 will be installed
--> Processing Dependency: device-mapper-libs >= 1.02.90-1 for package: docker-io-1.3.2-2.el6.x86_64
--> Finished Dependency Resolution
Error: Package: docker-io-1.3.2-2.el6.x86_64 (epel)
           Requires: device-mapper-libs >= 1.02.90-1
           Installed: device-mapper-libs-1.02.79-8.el6.x86_64 (@production-rhel-x86_64-workstation-6.5)
               device-mapper-libs = 1.02.79-8.el6
           Available: device-mapper-libs-1.02.53-8.el6.i686 (production-rhel-x86_64-workstation-6.5)
               device-mapper-libs = 1.02.53-8.el6
           Available: device-mapper-libs-1.02.53-8.el6_0.2.i686 (production-rhel-x86_64-workstation-6.5)
               device-mapper-libs = 1.02.53-8.el6_0.2
           Available: device-mapper-libs-1.02.53-8.el6_0.3.i686 (production-rhel-x86_64-workstation-6.5)
               device-mapper-libs = 1.02.53-8.el6_0.3
           Available: device-mapper-libs-1.02.53-8.el6_0.4.i686 (production-rhel-x86_64-workstation-6.5)
               device-mapper-libs = 1.02.53-8.el6_0.4
           Available: device-mapper-libs-1.02.62-3.el6.i686 (production-rhel-x86_64-workstation-6.5)
               device-mapper-libs = 1.02.62-3.el6
           Available: device-mapper-libs-1.02.66-6.el6.i686 (production-rhel-x86_64-workstation-6.5)
               device-mapper-libs = 1.02.66-6.el6
           Available: device-mapper-libs-1.02.74-10.el6.i686 (production-rhel-x86_64-workstation-6.5)
               device-mapper-libs = 1.02.74-10.el6
           Available: device-mapper-libs-1.02.74-10.el6_3.2.i686 (production-rhel-x86_64-workstation-6.5)
               device-mapper-libs = 1.02.74-10.el6_3.2
           Available: device-mapper-libs-1.02.74-10.el6_3.3.i686 (production-rhel-x86_64-workstation-6.5)
               device-mapper-libs = 1.02.74-10.el6_3.3
           Available: device-mapper-libs-1.02.77-9.el6.i686 (production-rhel-x86_64-workstation-6.5)
               device-mapper-libs = 1.02.77-9.el6
           Available: device-mapper-libs-1.02.77-9.el6_4.2.i686 (production-rhel-x86_64-workstation-6.5)
               device-mapper-libs = 1.02.77-9.el6_4.2
           Available: device-mapper-libs-1.02.77-9.el6_4.3.i686 (production-rhel-x86_64-workstation-6.5)
               device-mapper-libs = 1.02.77-9.el6_4.3



Expected results:


Additional info:

Comment 1 Lokesh Mandvekar 2014-12-14 18:11:59 UTC
Hi Alissa,

2 things: 

1. On a centos:centos6 docker image, I see this:

# rpm -q device-mapper-libs
device-mapper-libs-1.02.90-2.el6_6.1.x86_64

So maybe the relevant repo with this rpm isn't set on your system?


2. Alternatively, could you try this one out: https://kojipkgs.fedoraproject.org//work/tasks/1810/8381810/docker-io-1.4.0-1.el6.x86_64.rpm
(It doesn't have any min version requirements on device-mapper-libs.


There's also this: https://forums.docker.com/t/upgrading-docker-to-current-version-on-centos/340/13 , but looks like the ">= 1.02.90-1" didn't quite work for them

Btw, would you like to help test/co-maintain the el6 branch?

Comment 2 Alissa 2014-12-15 09:19:26 UTC
Hi Lokesh,

1. On my system it looks like this: (the OS is RHEL Workstation 6.5 Santiago)
# rpm -q device-mapper-libs
device-mapper-libs-1.02.79-8.el6.x86_64

So the rpm exists, but the version is too old and can't be updated.

What exact of Centos did you check? My guess is that it's 6.6, not 6.5

I see also here it's 1.02.79 for Centos 6.5:
http://rpmfind.net/linux/rpm2html/search.php?query=device-mapper-libs

2. I installed as a workaround for now docker 1.2 that didn't have this requirement. But I'll keep in mind your suggested 1.4 as well for future, thanks.

Comment 3 Lokesh Mandvekar 2014-12-16 00:55:36 UTC
*** Bug 1174514 has been marked as a duplicate of this bug. ***

Comment 4 Lokesh Mandvekar 2014-12-16 01:13:49 UTC
Yup, ya looks like 1.02.90-1 is via 6.6. I'm removing the min NVR requirement on device-mapper-libs since I'm not certain at this point how to specify different NVR for 6.5 and 6.6.

%if 0%{?rhel} >= 6.6 doesn't work (but >=6 works alright). If anyone knows how to make this work, please let me know.

Anyway, the updated rpm (without min NVR for device-mapper-libs) is here: https://kojipkgs.fedoraproject.org//work/tasks/2787/8392787/docker-io-1.4.0-2.el6.x86_64.rpm . Will land in yum sometime soon

Comment 5 Fedora Update System 2014-12-16 01:16:23 UTC
docker-io-1.4.0-2.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/docker-io-1.4.0-2.el6

Comment 6 Fedora Update System 2014-12-17 05:34:12 UTC
Package docker-io-1.4.0-2.el6:
* should fix your issue,
* was pushed to the Fedora EPEL 6 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=epel-testing docker-io-1.4.0-2.el6'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-EPEL-2014-4737/docker-io-1.4.0-2.el6
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2015-01-05 20:18:18 UTC
docker-io-1.4.1-1.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/docker-io-1.4.1-1.el6

Comment 8 Fedora Update System 2015-01-07 07:34:54 UTC
docker-io-1.4.1-2.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/docker-io-1.4.1-2.el6

Comment 9 Fedora Update System 2015-01-15 22:51:36 UTC
docker-io-1.4.1-3.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/docker-io-1.4.1-3.el6

Comment 10 Fedora Update System 2015-01-31 16:53:10 UTC
docker-io-1.4.1-3.el6 has been pushed to the Fedora EPEL 6 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 11 Nat Guyton 2015-02-03 22:40:31 UTC
It seems the latest version (1.4.1-3) is not centos 6 friendly!   Running docker causes it to exit with the following in /var/log/docker:

time="2015-02-02T09:44:08-06:00" level="info" msg="+job serveapi(unix:///var/run/docker.sock)" 
time="2015-02-02T09:44:08-06:00" level="info" msg="WARNING: You are running linux kernel version 2.6.32-431.20.3.el6.x86_64, which might be unstable running docker. Please upgrade your kernel to 3.8.0." 
/usr/bin/docker: relocation error: /usr/bin/docker: symbol dm_task_get_info_with_deferred_remove, version Base not defined in file libdevmapper.so.1.02 with link time reference


However, updating device-mapper-libs.x86_64 from 1.02.79-8.el6 to 1.02.90-2.el6_6.1 avoids the problem.  I still get the version warning, but no relocation error.   Ideally the docker-io RPM can specify the minimum version for device-mapper-libs.

Comment 12 Lokesh Mandvekar 2015-03-13 17:24:39 UTC
Hi Nat, how did you update your device-mapper-libs, with yum update itself or by fetching the rpm manually from pkgdb?

See Comment 2, looks like that version isn't easily upgradable, but the new version exists on CentOS 6.6. Also, see Comment 4, i don't see a way to set different min NVRs for 6.5 and 6.6 (If you know how to, please let me know or send me a patch). So, it seems best to not enforce min NVR, but leave it upto the 6.5 user to upgrade it.

I'll update the upstream documentation to reflect the issue with 6.5

Comment 13 Nat Guyton 2015-03-21 03:47:09 UTC
A yum update did the trick.   I'm on 6.6 now, but don't recall whether I was on 6.5 at the time or not.


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