Bug 1215912 - docker-io-pkg-devel conflicts with docker-io-devel
Summary: docker-io-pkg-devel conflicts with docker-io-devel
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: docker-io
Version: 21
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jan Chaloupka
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-04-28 06:34 UTC by Edouard Bourguignon
Modified: 2015-05-08 07:45 UTC (History)
14 users (show)

Fixed In Version: docker-io-1.6.0-4.git350a636.fc21
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-05-08 07:45:21 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Edouard Bourguignon 2015-04-28 06:34:54 UTC
Description of problem:

gocode source files from docker-io-pkg-devel are now in the docker-io-devel package. Therefor there are file conflicts.

It's impossible now to upgrade or install if you have or want docker-io-devel and docker-io-pkg-devel.


Version-Release number of selected component (if applicable):
docker-io-devel-1.6.0-2.git3eac457.fc21.x86_64
docker-io-pkg-devel-1.5.0-1.fc21.x86_64

How reproducible:
static

Steps to Reproduce:
1. yum install docker-io-devel
2. yum install docker-io-pkg-devel

Actual results:
docker-io-devel-1.6.0-2.git3eac457.fc21.x86_64 conflicts with files from package docker-io-pkg-devel-1.5.0-1.fc21.x86_64

especially files from /usr/share/gocode/src/github.com/docker/docker/pkg


Expected results:
may be docker-io-devel should obsolete docker-io-pkg-devel?
Or no pkg go source files should be in the docker-io-devel?

Additional info:

docker-io-pkg-devel can be remove, not sure if we loose something.


Extract from the yum error
---

Transaction check error:
  file /usr/share/gocode/src/github.com/docker/docker/pkg/archive/changes.go from install of docker-io-devel-1.6.0-2.git3eac457.fc21.x86_64 conflicts with file from package docker-io-pkg-devel-1.5.0-1.fc21.x86_64
  file /usr/share/gocode/src/github.com/docker/docker/pkg/archive/archive.go from install of docker-io-devel-1.6.0-2.git3eac457.fc21.x86_64 conflicts with file from package docker-io-pkg-devel-1.5.0-1.fc21.x86_64
  file /usr/share/gocode/src/github.com/docker/docker/pkg/chrootarchive/archive.go from install of docker-io-devel-1.6.0-2.git3eac457.fc21.x86_64 conflicts with file from package docker-io-pkg-devel-1.5.0-1.fc21.x86_64
  file /usr/share/gocode/src/github.com/docker/docker/pkg/chrootarchive/archive_test.go from install of docker-io-devel-1.6.0-2.git3eac457.fc21.x86_64 conflicts with file from package docker-io-pkg-devel-1.5.0-1.fc21.x86_64
  file /usr/share/gocode/src/github.com/docker/docker/pkg/archive/archive_unix.go from install of docker-io-devel-1.6.0-2.git3eac457.fc21.x86_64 conflicts with file from package docker-io-pkg-devel-1.5.0-1.fc21.x86_64
  file /usr/share/gocode/src/github.com/docker/docker/pkg/archive/archive_windows.go from install of docker-io-devel-1.6.0-2.git3eac457.fc21.x86_64 conflicts with file from package docker-io-pkg-devel-1.5.0-1.fc21.x86_64
  file /usr/share/gocode/src/github.com/docker/docker/pkg/archive/changes_test.go from install of docker-io-devel-1.6.0-2.git3eac457.fc21.x86_64 conflicts with file from package docker-io-pkg-devel-1.5.0-1.fc21.x86_64
  file /usr/share/gocode/src/github.com/docker/docker/pkg/archive/diff.go from install of docker-io-devel-1.6.0-2.git3eac457.fc21.x86_64 conflicts with file from package docker-io-pkg-devel-1.5.0-1.fc21.x86_64
  file /usr/share/gocode/src/github.com/docker/docker/pkg/broadcastwriter/broadcastwriter.go from install of docker-io-devel-1.6.0-2.git3eac457.fc21.x86_64 conflicts with file from package docker-io-pkg-devel-1.5.0-1.fc21.x86_64
  file /usr/share/gocode/src/github.com/docker/docker/pkg/devicemapper/devmapper.go from install of docker-io-devel-1.6.0-2.git3eac457.fc21.x86_64 conflicts with file from package docker-io-pkg-devel-1.5.0-1.fc21.x86_64
  file /usr/share/gocode/src/github.com/docker/docker/pkg/devicemapper/devmapper_wrapper.go from install of docker-io-devel-1.6.0-2.git3eac457.fc21.x86_64 conflicts with file from package docker-io-pkg-devel-1.5.0-1.fc21.x86_64
  file /usr/share/gocode/src/github.com/docker/docker/pkg/ioutils/readers.go from install of docker-io-devel-1.6.0-2.git3eac457.fc21.x86_64 conflicts with file from package docker-io-pkg-devel-1.5.0-1.fc21.x86_64
  file /usr/share/gocode/src/github.com/docker/docker/pkg/ioutils/readers_test.go from install of docker-io-devel-1.6.0-2.git3eac457.fc21.x86_64 conflicts with file from package docker-io-pkg-devel-1.5.0-1.fc21.x86_64
  file /usr/share/gocode/src/github.com/docker/docker/pkg/iptables/iptables.go from install of docker-io-devel-1.6.0-2.git3eac457.fc21.x86_64 conflicts with file from package docker-io-pkg-devel-1.5.0-1.fc21.x86_64
  file /usr/share/gocode/src/github.com/docker/docker/pkg/iptables/iptables_test.go from install of docker-io-devel-1.6.0-2.git3eac457.fc21.x86_64 conflicts with file from package docker-io-pkg-devel-1.5.0-1.fc21.x86_64
  file /usr/share/gocode/src/github.com/docker/docker/pkg/jsonlog/jsonlog.go from install of docker-io-devel-1.6.0-2.git3eac457.fc21.x86_64 conflicts with file from package docker-io-pkg-devel-1.5.0-1.fc21.x86_64
  file /usr/share/gocode/src/github.com/docker/docker/pkg/jsonlog/jsonlog_marshalling.go from install of docker-io-devel-1.6.0-2.git3eac457.fc21.x86_64 conflicts with file from package docker-io-pkg-devel-1.5.0-1.fc21.x86_64
  file /usr/share/gocode/src/github.com/docker/docker/pkg/jsonlog/jsonlog_test.go from install of docker-io-devel-1.6.0-2.git3eac457.fc21.x86_64 conflicts with file from package docker-io-pkg-devel-1.5.0-1.fc21.x86_64
  file /usr/share/gocode/src/github.com/docker/docker/pkg/mflag/flag.go from install of docker-io-devel-1.6.0-2.git3eac457.fc21.x86_64 conflicts with file from package docker-io-pkg-devel-1.5.0-1.fc21.x86_64
  file /usr/share/gocode/src/github.com/docker/docker/pkg/mount/sharedsubtree_linux_test.go from install of docker-io-devel-1.6.0-2.git3eac457.fc21.x86_64 conflicts with file from package docker-io-pkg-devel-1.5.0-1.fc21.x86_64
  file /usr/share/gocode/src/github.com/docker/docker/pkg/networkfs/resolvconf/resolvconf.go from install of docker-io-devel-1.6.0-2.git3eac457.fc21.x86_64 conflicts with file from package docker-io-pkg-devel-1.5.0-1.fc21.x86_64
  file /usr/share/gocode/src/github.com/docker/docker/pkg/parsers/filters/parse.go from install of docker-io-devel-1.6.0-2.git3eac457.fc21.x86_64 conflicts with file from package docker-io-pkg-devel-1.5.0-1.fc21.x86_64
  file /usr/share/gocode/src/github.com/docker/docker/pkg/parsers/parsers.go from install of docker-io-devel-1.6.0-2.git3eac457.fc21.x86_64 conflicts with file from package docker-io-pkg-devel-1.5.0-1.fc21.x86_64
  file /usr/share/gocode/src/github.com/docker/docker/pkg/parsers/parsers_test.go from install of docker-io-devel-1.6.0-2.git3eac457.fc21.x86_64 conflicts with file from package docker-io-pkg-devel-1.5.0-1.fc21.x86_64
  file /usr/share/gocode/src/github.com/docker/docker/pkg/reexec/reexec.go from install of docker-io-devel-1.6.0-2.git3eac457.fc21.x86_64 conflicts with file from package docker-io-pkg-devel-1.5.0-1.fc21.x86_64
  file /usr/share/gocode/src/github.com/docker/docker/pkg/sysinfo/sysinfo.go from install of docker-io-devel-1.6.0-2.git3eac457.fc21.x86_64 conflicts with file from package docker-io-pkg-devel-1.5.0-1.fc21.x86_64
  file /usr/share/gocode/src/github.com/docker/docker/pkg/system/lstat.go from install of docker-io-devel-1.6.0-2.git3eac457.fc21.x86_64 conflicts with file from package docker-io-pkg-devel-1.5.0-1.fc21.x86_64
  file /usr/share/gocode/src/github.com/docker/docker/pkg/system/lstat_windows.go from install of docker-io-devel-1.6.0-2.git3eac457.fc21.x86_64 conflicts with file from package docker-io-pkg-devel-1.5.0-1.fc21.x86_64
  file /usr/share/gocode/src/github.com/docker/docker/pkg/system/stat.go from install of docker-io-devel-1.6.0-2.git3eac457.fc21.x86_64 conflicts with file from package docker-io-pkg-devel-1.5.0-1.fc21.x86_64
  file /usr/share/gocode/src/github.com/docker/docker/pkg/system/stat_linux.go from install of docker-io-devel-1.6.0-2.git3eac457.fc21.x86_64 conflicts with file from package docker-io-pkg-devel-1.5.0-1.fc21.x86_64
  file /usr/share/gocode/src/github.com/docker/docker/pkg/system/stat_unsupported.go from install of docker-io-devel-1.6.0-2.git3eac457.fc21.x86_64 conflicts with file from package docker-io-pkg-devel-1.5.0-1.fc21.x86_64
  file /usr/share/gocode/src/github.com/docker/docker/pkg/system/stat_windows.go from install of docker-io-devel-1.6.0-2.git3eac457.fc21.x86_64 conflicts with file from package docker-io-pkg-devel-1.5.0-1.fc21.x86_64
  file /usr/share/gocode/src/github.com/docker/docker/pkg/term/term.go from install of docker-io-devel-1.6.0-2.git3eac457.fc21.x86_64 conflicts with file from package docker-io-pkg-devel-1.5.0-1.fc21.x86_64
  file /usr/share/gocode/src/github.com/docker/docker/pkg/term/term_windows.go from install of docker-io-devel-1.6.0-2.git3eac457.fc21.x86_64 conflicts with file from package docker-io-pkg-devel-1.5.0-1.fc21.x86_64
  file /usr/share/gocode/src/github.com/docker/docker/pkg/truncindex/truncindex.go from install of docker-io-devel-1.6.0-2.git3eac457.fc21.x86_64 conflicts with file from package docker-io-pkg-devel-1.5.0-1.fc21.x86_64
  file /usr/share/gocode/src/github.com/docker/docker/pkg/truncindex/truncindex_test.go from install of docker-io-devel-1.6.0-2.git3eac457.fc21.x86_64 conflicts with file from package docker-io-pkg-devel-1.5.0-1.fc21.x86_64

Comment 1 Jan Chaloupka 2015-04-28 07:02:33 UTC
Hi Edouard,

devel subpackages of all golang projects packaged in Fedora are primarily used only as a build-time dependency. They are not meant to be installed on user machine. Go get "github.com/docker/docker/..." to get source codes is recommended.

However even though there should not be any conflict. Thanks for the report.

Kind regards
Jan

Comment 2 Jan Chaloupka 2015-04-28 07:27:44 UTC
docker-io-pkg-devel has been merged into docker-io-devel.

Obsoletes: docker-io-pkg-devel < 1.6.0-2

will solve it.

Yeah, removing docker-io-pkg-devel is a solution as it is brought back by docker-io-devel update.

Comment 4 Fedora Update System 2015-04-28 08:23:47 UTC
docker-io-1.6.0-3.git3eac457.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/docker-io-1.6.0-3.git3eac457.fc21

Comment 5 Jan Chaloupka 2015-04-28 08:32:45 UTC
This update is not needed for f22 as it is not out yet.

Comment 6 Fedora Update System 2015-04-28 08:46:13 UTC
docker-io-1.6.0-0.2.rc6.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/docker-io-1.6.0-0.2.rc6.fc20

Comment 8 Fedora Update System 2015-04-29 13:07:43 UTC
Package docker-io-1.6.0-0.2.rc6.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing docker-io-1.6.0-0.2.rc6.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-7160/docker-io-1.6.0-0.2.rc6.fc20
then log in and leave karma (feedback).

Comment 9 Fedora Update System 2015-05-01 20:33:28 UTC
docker-io-1.6.0-4.git350a636.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/docker-io-1.6.0-4.git350a636.fc21

Comment 10 Fedora Update System 2015-05-06 19:01:53 UTC
docker-io-1.6.0-1.git350a636.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/docker-io-1.6.0-1.git350a636.fc20

Comment 11 Fedora Update System 2015-05-08 07:45:21 UTC
docker-io-1.6.0-4.git350a636.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.


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