Skip to content

Package conflicts when installing client bindings #363

@maartenbeeckmans

Description

@maartenbeeckmans

When I'm installing client bindings for some custom scripting with packages from the rpm repository, there are package conflics as multiple files are owned by the same repository.

python3-pulpcore-client and python3-pulpcore have conflicts on the same file
The same is happening for python3-pulpcore-client and python3-pulp-rpm-client

Already tried the option --best but that isn't helping.

Using a mirror (updated to upstream) of the pulpcore 3.14 repository
Vm is running EL8

[[email protected] ~]# dnf install python3-pulp-rpm-client python3-pulpcore-client
Centos Appstream                                                                                                                                             53 MB/s | 8.0 MB     00:00
Centos BaseOS                                                                                                                                                21 MB/s | 2.7 MB     00:00
Centos Powertools                                                                                                                                            18 MB/s | 2.5 MB     00:00
Pulpcore 3.14                                                                                                                                               515 kB/s | 242 kB     00:00
Upstream                                                                                                                                                    3.5 MB/s | 395 kB     00:00
Dependencies resolved.
============================================================================================================================================================================================
 Package                                                 Architecture                           Version                                      Repository                                Size
============================================================================================================================================================================================
Installing:
 python3-pulp-rpm-client                                 noarch                                 3.13.3-1.el8                                 pulpcore                                 181 k
 python3-pulpcore-client                                 noarch                                 3.14.1-1.el8                                 pulpcore                                 173 k

Transaction Summary
============================================================================================================================================================================================
Install  2 Packages

Total download size: 353 k
Installed size: 3.9 M
Is this ok [y/N]: y
Downloading Packages:
(1/2): python3-pulp-rpm-client-3.13.3-1.el8.noarch.rpm                                                                                                      1.0 MB/s | 181 kB     00:00
(2/2): python3-pulpcore-client-3.14.1-1.el8.noarch.rpm                                                                                                      1.0 MB/s | 173 kB     00:00
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                       2.0 MB/s | 353 kB     00:00
Running transaction check
Transaction check succeeded.
Running transaction test
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: Transaction test error:
  file /usr/lib/python3.6/site-packages/pulpcore/__init__.py from install of python3-pulpcore-client-3.14.1-1.el8.noarch conflicts with file from package python3-pulpcore-3.14.9-1.el8.noarch
  file /usr/lib/python3.6/site-packages/pulpcore/__pycache__/__init__.cpython-36.opt-1.pyc from install of python3-pulpcore-client-3.14.1-1.el8.noarch conflicts with file from package python3-pulpcore-3.14.9-1.el8.noarch
  file /usr/lib/python3.6/site-packages/pulpcore/__pycache__/__init__.cpython-36.pyc from install of python3-pulpcore-client-3.14.1-1.el8.noarch conflicts with file from package python3-pulpcore-3.14.9-1.el8.noarch
  file /usr/lib/python3.6/site-packages/pulpcore/__init__.py from install of python3-pulp-rpm-client-3.13.3-1.el8.noarch conflicts with file from package python3-pulpcore-3.14.9-1.el8.noarch
  file /usr/lib/python3.6/site-packages/pulpcore/__pycache__/__init__.cpython-36.opt-1.pyc from install of python3-pulp-rpm-client-3.13.3-1.el8.noarch conflicts with file from package python3-pulpcore-3.14.9-1.el8.noarch
  file /usr/lib/python3.6/site-packages/pulpcore/__pycache__/__init__.cpython-36.pyc from install of python3-pulp-rpm-client-3.13.3-1.el8.noarch conflicts with file from package python3-pulpcore-3.14.9-1.el8.noarch
  file /usr/lib/python3.6/site-packages/pulpcore/__pycache__/__init__.cpython-36.opt-1.pyc conflicts between attempted installs of python3-pulp-rpm-client-3.13.3-1.el8.noarch and python3-pulpcore-client-3.14.1-1.el8.noarch
  file /usr/lib/python3.6/site-packages/pulpcore/__pycache__/__init__.cpython-36.pyc conflicts between attempted installs of python3-pulp-rpm-client-3.13.3-1.el8.noarch and python3-pulpcore-client-3.14.1-1.el8.noarch
  file /usr/lib/python3.6/site-packages/pulpcore/client/__pycache__/__init__.cpython-36.opt-1.pyc conflicts between attempted installs of python3-pulp-rpm-client-3.13.3-1.el8.noarch and python3-pulpcore-client-3.14.1-1.el8.noarch
  file /usr/lib/python3.6/site-packages/pulpcore/client/__pycache__/__init__.cpython-36.pyc conflicts between attempted installs of python3-pulp-rpm-client-3.13.3-1.el8.noarch and python3-pulpcore-client-3.14.1-1.el8.noarch

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions