Bug 27857

Summary: File conflicts between packages python3-3.8.5-2.mga8.x86_64 and python-2.7.18-1.1.mga7.x86_64.
Product: Mageia Reporter: PC LX <mageia>
Component: RPM PackagesAssignee: Python Stack Maintainers <python>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: release_blocker CC: brtians1, geiger.david68210, jani.valimaa
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard: MGA7-64-OK
Source RPM: python3-3.8.5-2.mga8.src.rpm CVE:
Status comment:

Description PC LX 2020-12-17 13:00:05 CET
Description of problem:

When upgrading an up-to-date Mageia 7 system to Mageia 8/cauldron the following message is shown:

"""
Installation failed:
   file /usr/bin/2to3 from install of python3-3.8.5-2.mga8.x86_64 conflicts with file from package python-2.7.18-1.1.mga7.x86_64
   file /usr/bin/pydoc from install of python3-3.8.5-2.mga8.x86_64 conflicts with file from package python-2.7.18-1.1.mga7.x86_64
   file /usr/bin/python from install of python3-3.8.5-2.mga8.x86_64 conflicts with file from package python-2.7.18-1.1.mga7.x86_64
"""

System: Mageia 7, x86_64, Intel CPU, nVidia GPU using nvidia-current proprietary driver.



Version-Release number of selected component (if applicable):

python3-3.8.5-2.mga8.x86_64
python-2.7.18-1.1.mga7.x86_64



How reproducible:

Always.



Steps to Reproduce:
1. Start with a fully up-to-date Mageia 7 system with the package python-2.7.18-1.1.mga7.x86_64 installed.
2. Remove all the Mageia 7 repositories (urpmi.removemedia -a).
3. Add the Mageia 8/cauldron repositories (urpmi.addmedia --distrib "http://ftp.free.fr/mirrors/mageia.org/distrib/cauldron/x86_64/").
4. Do an update (urpmi --split-length 0 --auto-update).
5. See the error message indicated above.
PC LX 2020-12-17 13:01:00 CET

Source RPM: (none) => python3-3.8.5-2.mga8.src.rpm

David Walser 2020-12-17 15:15:55 CET

Priority: Normal => release_blocker
Assignee: bugsquad => python
CC: (none) => jani.valimaa

Comment 1 David GEIGER 2020-12-17 16:56:56 CET
Should be fixed in next python3-3.8.5-3.mga8 update!

CC: (none) => geiger.david68210

Comment 2 PC LX 2020-12-17 20:01:45 CET
Installed without issues so seems OK. Marking as resolved and fixed.

$ rpm -q python3
python3-3.8.5-3.mga8

Status: NEW => RESOLVED
Whiteboard: (none) => MGA7-64-OK
Resolution: (none) => FIXED

Comment 3 David Walser 2020-12-18 00:29:40 CET
We need to make sure that this will stay fixed when we push future security updates for python:
https://ml.mageia.org/l/arc/dev/2020-12/msg00351.html

Resolution: FIXED => (none)
Status: RESOLVED => REOPENED

Comment 4 David Walser 2020-12-20 16:51:20 CET
Fixed by Jani.

https://ml.mageia.org/l/arc/dev/2020-12/msg00362.html
Comment 5 David Walser 2020-12-20 16:51:32 CET
Closing.

Status: REOPENED => RESOLVED
Resolution: (none) => FIXED

Comment 6 David Walser 2020-12-22 15:43:56 CET
*** Bug 27891 has been marked as a duplicate of this bug. ***

CC: (none) => brtians1