https://bugzilla.redhat.com/show_bug.cgi?id=1101123

            Bug ID: 1101123
           Summary: docker package binary conflicts with docker-io
           Product: Fedora
           Version: 20
         Component: docker-io
          Severity: medium
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected], [email protected], [email protected]



Description of problem:
There is a file name conflict for /usr/bin/docker between 2 Fedora 20 packages.

Version-Release number of selected component (if applicable):

docker-1.5-10.fc20.x86_64  (f20 updates, a dockapp that provides a system tray
for WindowMaker, XFCE etc.)
docker-io-0.11.1-1.fc20.x86_64.rpm  (f20 updates, a new Linux containerization
app that has proven very popular)

How reproducible: Consistent.

Steps to Reproduce:

1. sudo yum install docker
2. sudo yum install docker-io

Actual results:

Transaction check error:
  file /usr/bin/docker from install of docker-io-0.11.1-1.fc20.x86_64 conflicts
with file from package docker-1.5-10.fc20.x86_64

Expected results:

All packages in F20 should be able to co-exist unless a conflict is documented
in the RPM file.

Since the conflict is only file naming, one of these packages could be patched
to allow it to co-exist with the other.

Additional info:

Possible workaround that keeps docker working for me follows. 
(It allows docker-io to install, but I am not sure if docker-io is fully
functioning.)

#!/bin/bash
sudo mv /usr/bin/docker /usr/bin/wmdocker
# user must change dock icons that link to docker to point to wmdocker
sudo yum install docker-io --downloadonly
cd /var/cache/yum/x86_64/20/updates/packages/
sudo rpm -Uvf --force docker-io-0.11.1-1.fc20.x86_64.rpm

The conflict probably also exists in rawhide. (unverified)

The upstream binary in both packages is 'docker'. Debian/Ubuntu rename their
binary to 'docker-io' to deal with the conflict.

There is a plan to replace the 'docker' package with a renamed 'wmdocker'
package in F21. (Bug # 1043676). However, that will take until F23 release to
complete the Obsoletes/Expires process. In the meantime, any user with docker
from F20 or rawhide will be unable to install docker-io, unless they use the
workaround. 

Related issues: 

* https://fedorahosted.org/fpc/ticket/341 "How to replace "docker" package with
an entirely different package of the same name?"

* https://bugzilla.redhat.com/show_bug.cgi?id=1043676 "drop docker from rawhide
(or redirect to wmdocker)"

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
golang mailing list
[email protected]
https://lists.fedoraproject.org/mailman/listinfo/golang

Reply via email to