file conflict for python36-pip

This document (000020586) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise Server 12 Service Pack 5
SUSE Linux Enterprise Server for SAP Applications 12 Service Pack 5
 

Situation

Installation of "python36-pip", when version "python3-pip-10.0.1-13.6.1" is already installed, causes a "file conflict" error in zypper.

The "file conflict" is only a symlink that both packages try to own.
Depending on which pip package you install last, the symlink is owned by that package.

/usr/bin/pip
and
/etc/alternatives/pip

and this file:
/usr/bin/pip3

/usr/bin/pip -> /etc/alternatives/pip
/etc/alternatives/pip -> /usr/bin/pip3.6
(depending on which RPM package was installed last)
 

Resolution

This issue has been resolved with python36-pip version 20.2.4-8.12.1 released on March 10, 2022:
python36-pip-20.2.4-8.12.1.noarch.rpm


Previous workaround recommendation:
Use:
"--replacefiles"
Install the packages even if they replace files from other, already installed, packages. Default is to treat file conflicts as an error.
zypper up --replacefiles
This will allow zypper to overwrite the conflicting files and move forward with the update.

Cause

Checking for file conflicts: ........................
[error]
Detected 1 file conflict:

File /usr/bin/pip3
from install of
python36-pip-20.2.4-8.9.1.noarch
conflicts with file from package
python3-pip-10.0.1-13.6.1.noarch

File conflicts happen when two packages attempt to install files with the same name but different contents. If you continue, conflicting files will be replaced losing the previous content.

Continue? [yes/no] (no):

 

Additional Information

This issue has been resolved with python36-pip version 20.2.4-8.12.1 released on March 10, 2022:
python36-pip-20.2.4-8.12.1.noarch.rpm
https://www.suse.com/support/update/announcement/2022/suse-ru-20220801-1/ ​​​​​​​

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:000020586
  • Creation Date: 15-Apr-2022
  • Modified Date:18-Apr-2022
    • SUSE Linux Enterprise Server
    • SUSE Linux Enterprise Server for SAP Applications

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback@suse.com

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Join Our Community

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.


SUSE Customer Support Quick Reference Guide SUSE Technical Support Handbook Update Advisories
Support FAQ

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.

Go to Customer Center