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 for SAP Applications 12 Service Pack 5
Situation
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
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 --replacefilesThis will allow zypper to overwrite the conflicting files and move forward with the update.
Cause
[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
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: 11-Feb-2022
- Modified Date:18-Apr-2022
-
- SUSE Linux Enterprise Server
- SUSE Linux Enterprise Server for SAP Applications
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com