Bug #12755
closedError installing docker-cleaner rpm on centos7
Description
On 12721-build-package-version branch.
Transaction check error: file /opt/rh/python33 from install of python33-python-six-1.10.0-2.noarch conflicts with file from package python33-runtime-1.1-13.el7.x86_64 ...
Tried building b13f48c0c80f3df65dffe0a3ba610ef12d65c2f7 (before #12721), same problem.
Updated by Tom Clegg almost 7 years ago
- Description updated (diff)
[root@b713904b9417 mnt]# yum install python33-* Loaded plugins: fastestmirror, ovl Examining python33-python-docker-py-1.7.2-2.noarch.rpm: python33-python-docker-py-1.7.2-2.noarch Marking python33-python-docker-py-1.7.2-2.noarch.rpm to be installed Examining python33-python-future-0.16.0-2.noarch.rpm: python33-python-future-0.16.0-2.noarch Marking python33-python-future-0.16.0-2.noarch.rpm to be installed Examining python33-python-requests-2.12.4-2.noarch.rpm: python33-python-requests-2.12.4-2.noarch Marking python33-python-requests-2.12.4-2.noarch.rpm to be installed Examining python33-python-six-1.10.0-2.noarch.rpm: python33-python-six-1.10.0-2.noarch Marking python33-python-six-1.10.0-2.noarch.rpm to be installed Examining python33-python-websocket-client-0.37.0-2.noarch.rpm: python33-python-websocket-client-0.37.0-2.noarch Marking python33-python-websocket-client-0.37.0-2.noarch.rpm to be installed Resolving Dependencies --> Running transaction check ---> Package python33-python-docker-py.noarch 0:1.7.2-2 will be installed ---> Package python33-python-future.noarch 0:0.16.0-2 will be installed ---> Package python33-python-requests.noarch 0:2.12.4-2 will be installed ---> Package python33-python-six.noarch 0:1.10.0-2 will be installed ---> Package python33-python-websocket-client.noarch 0:0.37.0-2 will be installed --> Finished Dependency Resolution Dependencies Resolved ============================================================================================================================================================================================= Package Arch Version Repository Size ============================================================================================================================================================================================= Installing: python33-python-docker-py noarch 1.7.2-2 /python33-python-docker-py-1.7.2-2.noarch 243 k python33-python-future noarch 0.16.0-2 /python33-python-future-0.16.0-2.noarch 3.1 M python33-python-requests noarch 2.12.4-2 /python33-python-requests-2.12.4-2.noarch 2.8 M python33-python-six noarch 1.10.0-2 /python33-python-six-1.10.0-2.noarch 68 k python33-python-websocket-client noarch 0.37.0-2 /python33-python-websocket-client-0.37.0-2.noarch 527 k Transaction Summary ============================================================================================================================================================================================= Install 5 Packages Total size: 6.8 M Installed size: 6.8 M Is this ok [y/d/N]: y Downloading packages: Running transaction check Running transaction test Transaction check error: file /opt/rh/python33 from install of python33-python-six-1.10.0-2.noarch conflicts with file from package python33-runtime-1.1-13.el7.x86_64 file /opt/rh/python33/root from install of python33-python-six-1.10.0-2.noarch conflicts with file from package python33-runtime-1.1-13.el7.x86_64 file /opt/rh/python33/root/usr/lib from install of python33-python-six-1.10.0-2.noarch conflicts with file from package python33-runtime-1.1-13.el7.x86_64 file /opt/rh/python33 from install of python33-python-websocket-client-0.37.0-2.noarch conflicts with file from package python33-runtime-1.1-13.el7.x86_64 file /opt/rh/python33/root from install of python33-python-websocket-client-0.37.0-2.noarch conflicts with file from package python33-runtime-1.1-13.el7.x86_64 file /opt/rh/python33/root/usr/lib from install of python33-python-websocket-client-0.37.0-2.noarch conflicts with file from package python33-runtime-1.1-13.el7.x86_64 file /opt/rh/python33/root/usr/bin from install of python33-python-websocket-client-0.37.0-2.noarch conflicts with file from package python33-runtime-1.1-13.el7.x86_64 file /opt/rh/python33 from install of python33-python-requests-2.12.4-2.noarch conflicts with file from package python33-runtime-1.1-13.el7.x86_64 file /opt/rh/python33/root from install of python33-python-requests-2.12.4-2.noarch conflicts with file from package python33-runtime-1.1-13.el7.x86_64 file /opt/rh/python33/root/usr/lib from install of python33-python-requests-2.12.4-2.noarch conflicts with file from package python33-runtime-1.1-13.el7.x86_64 file /opt/rh/python33 from install of python33-python-docker-py-1.7.2-2.noarch conflicts with file from package python33-runtime-1.1-13.el7.x86_64 file /opt/rh/python33/root from install of python33-python-docker-py-1.7.2-2.noarch conflicts with file from package python33-runtime-1.1-13.el7.x86_64 file /opt/rh/python33/root/usr/lib from install of python33-python-docker-py-1.7.2-2.noarch conflicts with file from package python33-runtime-1.1-13.el7.x86_64 file /opt/rh/python33 from install of python33-python-future-0.16.0-2.noarch conflicts with file from package python33-runtime-1.1-13.el7.x86_64 file /opt/rh/python33/root from install of python33-python-future-0.16.0-2.noarch conflicts with file from package python33-runtime-1.1-13.el7.x86_64 file /opt/rh/python33/root/usr/lib from install of python33-python-future-0.16.0-2.noarch conflicts with file from package python33-runtime-1.1-13.el7.x86_64 file /opt/rh/python33/root/usr/bin from install of python33-python-future-0.16.0-2.noarch conflicts with file from package python33-runtime-1.1-13.el7.x86_64 Error Summary -------------
Updated by Tom Clegg almost 7 years ago
- Status changed from New to In Progress
- Assigned To set to Tom Clegg
- Target version set to 2017-12-20 Sprint
Updated by Tom Clegg almost 7 years ago
fpm is erroneously including directories like /opt/rh/python33 that don't belong to our packages.
It seems that --rpm-auto-add-directories
in ce0a97360ac919f6a6a1a8d155bcb705069d9dbb worked for python2, but made python33 packages uninstallable.
Restricting that to python2 might mean the python33 packages leave lingering dirs when uninstalled, but until there's a better fix, this is arguably better than a package that can't be installed at all.
With this change, if I delete lingering python33* and arvados-docker-cleaner packages from packages/centos7 and rebuild them, test-packages works.
Installed: arvados-docker-cleaner.noarch 0:0.1.20171208184747-3 Dependency Installed: python33-python.x86_64 0:3.3.2-16.el7 python33-python-docker-py.noarch 0:1.7.2-2 python33-python-libs.x86_64 0:3.3.2-16.el7 python33-python-requests.noarch 0:2.12.4-2 python33-python-setuptools.noarch 0:0.9.8-3.el7 python33-python-six.noarch 0:1.10.0-2 python33-python-websocket-client.noarch 0:0.37.0-2 python33-runtime.x86_64 0:1.1-13.el7 Complete! Package arvados-docker-cleaner passed OK: arvados-docker-cleaner test on arvados/package-test:centos7 succeeded
12755-python3-centos7 @ 4749f9394bacea3782c701b9bc98f2b9e4995a73
Updated by Anonymous almost 7 years ago
- Status changed from In Progress to Resolved
- % Done changed from 0 to 100
Applied in changeset arvados|6ac835d8869876955d85a86a4b6d35c12b0d63ac.