Bug 2152682 - python3-mysqlclient conflicts with python3-mysql
Summary: python3-mysqlclient conflicts with python3-mysql
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-mysqlclient
Version: 36
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Fabian Affolter
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-12-12 16:54 UTC by Steve Bonneville
Modified: 2023-01-02 01:12 UTC (History)
2 users (show)

Fixed In Version: python-mysqlclient-2.1.1-2.fc36
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-01-02 01:12:02 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Steve Bonneville 2022-12-12 16:54:21 UTC
Description of problem:

The python3-mysql and python3-mysqlclient packages conflict.  They want to own the same files and cannot be installed simultaneously.


Version-Release number of selected component (if applicable):
python3-mysql-1.4.6-9.fc36.x86_64
python3-mysqlclient-2.0.3-4.fc36.x86_64


How reproducible: Always.


Steps to Reproduce:

[root@host ~]# dnf install python3-mysqlclient
Last metadata expiration check: 0:27:14 ago on Mon 12 Dec 2022 10:23:24 AM CST.
Dependencies resolved.
================================================================================
 Package                   Architecture Version              Repository    Size
================================================================================
Installing:
 python3-mysqlclient       x86_64       2.0.3-4.fc36         fedora        89 k

Transaction Summary
================================================================================
Install  1 Package

Total size: 89 k
Installed size: 277 k
Is this ok [y/N]: y
Downloading Packages:
[SKIPPED] python3-mysqlclient-2.0.3-4.fc36.x86_64.rpm: Already downloaded      
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/lib64/python3.10/site-packages/MySQLdb/__init__.py from install of python3-mysqlclient-2.0.3-4.fc36.x86_64 conflicts with file from package python3-mysql-1.4.6-9.fc36.x86_64
  file /usr/lib64/python3.10/site-packages/MySQLdb/__pycache__/__init__.cpython-310.opt-1.pyc from install of python3-mysqlclient-2.0.3-4.fc36.x86_64 conflicts with file from package python3-mysql-1.4.6-9.fc36.x86_64
  file /usr/lib64/python3.10/site-packages/MySQLdb/__pycache__/__init__.cpython-310.pyc from install of python3-mysqlclient-2.0.3-4.fc36.x86_64 conflicts with file from package python3-mysql-1.4.6-9.fc36.x86_64
  file /usr/lib64/python3.10/site-packages/MySQLdb/__pycache__/_exceptions.cpython-310.opt-1.pyc from install of python3-mysqlclient-2.0.3-4.fc36.x86_64 conflicts with file from package python3-mysql-1.4.6-9.fc36.x86_64
  file /usr/lib64/python3.10/site-packages/MySQLdb/__pycache__/_exceptions.cpython-310.pyc from install of python3-mysqlclient-2.0.3-4.fc36.x86_64 conflicts with file from package python3-mysql-1.4.6-9.fc36.x86_64
  file /usr/lib64/python3.10/site-packages/MySQLdb/__pycache__/connections.cpython-310.opt-1.pyc from install of python3-mysqlclient-2.0.3-4.fc36.x86_64 conflicts with file from package python3-mysql-1.4.6-9.fc36.x86_64
  file /usr/lib64/python3.10/site-packages/MySQLdb/__pycache__/connections.cpython-310.pyc from install of python3-mysqlclient-2.0.3-4.fc36.x86_64 conflicts with file from package python3-mysql-1.4.6-9.fc36.x86_64
  file /usr/lib64/python3.10/site-packages/MySQLdb/__pycache__/converters.cpython-310.opt-1.pyc from install of python3-mysqlclient-2.0.3-4.fc36.x86_64 conflicts with file from package python3-mysql-1.4.6-9.fc36.x86_64
  file /usr/lib64/python3.10/site-packages/MySQLdb/__pycache__/converters.cpython-310.pyc from install of python3-mysqlclient-2.0.3-4.fc36.x86_64 conflicts with file from package python3-mysql-1.4.6-9.fc36.x86_64
  file /usr/lib64/python3.10/site-packages/MySQLdb/__pycache__/cursors.cpython-310.opt-1.pyc from install of python3-mysqlclient-2.0.3-4.fc36.x86_64 conflicts with file from package python3-mysql-1.4.6-9.fc36.x86_64
  file /usr/lib64/python3.10/site-packages/MySQLdb/__pycache__/cursors.cpython-310.pyc from install of python3-mysqlclient-2.0.3-4.fc36.x86_64 conflicts with file from package python3-mysql-1.4.6-9.fc36.x86_64
  file /usr/lib64/python3.10/site-packages/MySQLdb/__pycache__/release.cpython-310.opt-1.pyc from install of python3-mysqlclient-2.0.3-4.fc36.x86_64 conflicts with file from package python3-mysql-1.4.6-9.fc36.x86_64
  file /usr/lib64/python3.10/site-packages/MySQLdb/__pycache__/release.cpython-310.pyc from install of python3-mysqlclient-2.0.3-4.fc36.x86_64 conflicts with file from package python3-mysql-1.4.6-9.fc36.x86_64
  file /usr/lib64/python3.10/site-packages/MySQLdb/__pycache__/times.cpython-310.opt-1.pyc from install of python3-mysqlclient-2.0.3-4.fc36.x86_64 conflicts with file from package python3-mysql-1.4.6-9.fc36.x86_64
  file /usr/lib64/python3.10/site-packages/MySQLdb/__pycache__/times.cpython-310.pyc from install of python3-mysqlclient-2.0.3-4.fc36.x86_64 conflicts with file from package python3-mysql-1.4.6-9.fc36.x86_64
  file /usr/lib64/python3.10/site-packages/MySQLdb/_exceptions.py from install of python3-mysqlclient-2.0.3-4.fc36.x86_64 conflicts with file from package python3-mysql-1.4.6-9.fc36.x86_64
  file /usr/lib64/python3.10/site-packages/MySQLdb/_mysql.cpython-310-x86_64-linux-gnu.so from install of python3-mysqlclient-2.0.3-4.fc36.x86_64 conflicts with file from package python3-mysql-1.4.6-9.fc36.x86_64
  file /usr/lib64/python3.10/site-packages/MySQLdb/connections.py from install of python3-mysqlclient-2.0.3-4.fc36.x86_64 conflicts with file from package python3-mysql-1.4.6-9.fc36.x86_64
  file /usr/lib64/python3.10/site-packages/MySQLdb/constants/CLIENT.py from install of python3-mysqlclient-2.0.3-4.fc36.x86_64 conflicts with file from package python3-mysql-1.4.6-9.fc36.x86_64
  file /usr/lib64/python3.10/site-packages/MySQLdb/constants/CR.py from install of python3-mysqlclient-2.0.3-4.fc36.x86_64 conflicts with file from package python3-mysql-1.4.6-9.fc36.x86_64
  file /usr/lib64/python3.10/site-packages/MySQLdb/constants/ER.py from install of python3-mysqlclient-2.0.3-4.fc36.x86_64 conflicts with file from package python3-mysql-1.4.6-9.fc36.x86_64
  file /usr/lib64/python3.10/site-packages/MySQLdb/constants/__init__.py from install of python3-mysqlclient-2.0.3-4.fc36.x86_64 conflicts with file from package python3-mysql-1.4.6-9.fc36.x86_64
  file /usr/lib64/python3.10/site-packages/MySQLdb/constants/__pycache__/CLIENT.cpython-310.opt-1.pyc from install of python3-mysqlclient-2.0.3-4.fc36.x86_64 conflicts with file from package python3-mysql-1.4.6-9.fc36.x86_64
  file /usr/lib64/python3.10/site-packages/MySQLdb/constants/__pycache__/CLIENT.cpython-310.pyc from install of python3-mysqlclient-2.0.3-4.fc36.x86_64 conflicts with file from package python3-mysql-1.4.6-9.fc36.x86_64
  file /usr/lib64/python3.10/site-packages/MySQLdb/constants/__pycache__/CR.cpython-310.opt-1.pyc from install of python3-mysqlclient-2.0.3-4.fc36.x86_64 conflicts with file from package python3-mysql-1.4.6-9.fc36.x86_64
  file /usr/lib64/python3.10/site-packages/MySQLdb/constants/__pycache__/CR.cpython-310.pyc from install of python3-mysqlclient-2.0.3-4.fc36.x86_64 conflicts with file from package python3-mysql-1.4.6-9.fc36.x86_64
  file /usr/lib64/python3.10/site-packages/MySQLdb/constants/__pycache__/ER.cpython-310.opt-1.pyc from install of python3-mysqlclient-2.0.3-4.fc36.x86_64 conflicts with file from package python3-mysql-1.4.6-9.fc36.x86_64
  file /usr/lib64/python3.10/site-packages/MySQLdb/constants/__pycache__/ER.cpython-310.pyc from install of python3-mysqlclient-2.0.3-4.fc36.x86_64 conflicts with file from package python3-mysql-1.4.6-9.fc36.x86_64
  file /usr/lib64/python3.10/site-packages/MySQLdb/constants/__pycache__/FIELD_TYPE.cpython-310.opt-1.pyc from install of python3-mysqlclient-2.0.3-4.fc36.x86_64 conflicts with file from package python3-mysql-1.4.6-9.fc36.x86_64
  file /usr/lib64/python3.10/site-packages/MySQLdb/constants/__pycache__/FIELD_TYPE.cpython-310.pyc from install of python3-mysqlclient-2.0.3-4.fc36.x86_64 conflicts with file from package python3-mysql-1.4.6-9.fc36.x86_64
  file /usr/lib64/python3.10/site-packages/MySQLdb/constants/__pycache__/FLAG.cpython-310.opt-1.pyc from install of python3-mysqlclient-2.0.3-4.fc36.x86_64 conflicts with file from package python3-mysql-1.4.6-9.fc36.x86_64
  file /usr/lib64/python3.10/site-packages/MySQLdb/constants/__pycache__/FLAG.cpython-310.pyc from install of python3-mysqlclient-2.0.3-4.fc36.x86_64 conflicts with file from package python3-mysql-1.4.6-9.fc36.x86_64
  file /usr/lib64/python3.10/site-packages/MySQLdb/constants/__pycache__/__init__.cpython-310.opt-1.pyc from install of python3-mysqlclient-2.0.3-4.fc36.x86_64 conflicts with file from package python3-mysql-1.4.6-9.fc36.x86_64
  file /usr/lib64/python3.10/site-packages/MySQLdb/constants/__pycache__/__init__.cpython-310.pyc from install of python3-mysqlclient-2.0.3-4.fc36.x86_64 conflicts with file from package python3-mysql-1.4.6-9.fc36.x86_64
  file /usr/lib64/python3.10/site-packages/MySQLdb/converters.py from install of python3-mysqlclient-2.0.3-4.fc36.x86_64 conflicts with file from package python3-mysql-1.4.6-9.fc36.x86_64
  file /usr/lib64/python3.10/site-packages/MySQLdb/cursors.py from install of python3-mysqlclient-2.0.3-4.fc36.x86_64 conflicts with file from package python3-mysql-1.4.6-9.fc36.x86_64
  file /usr/lib64/python3.10/site-packages/MySQLdb/release.py from install of python3-mysqlclient-2.0.3-4.fc36.x86_64 conflicts with file from package python3-mysql-1.4.6-9.fc36.x86_64
  file /usr/lib64/python3.10/site-packages/MySQLdb/times.py from install of python3-mysqlclient-2.0.3-4.fc36.x86_64 conflicts with file from package python3-mysql-1.4.6-9.fc36.x86_64


Expected results:
Successful installation of the conflicting package.  Whether python3-mysqlclient is missing an obsolete to uninstall python3-mysql or it's just conflicting with the other package is an open question.

Comment 1 Fedora Update System 2022-12-24 23:55:14 UTC
FEDORA-2022-dbbe1b44c0 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-dbbe1b44c0

Comment 2 Fedora Update System 2022-12-25 01:54:08 UTC
FEDORA-2022-dbbe1b44c0 has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-dbbe1b44c0`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-dbbe1b44c0

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 3 Fedora Update System 2023-01-02 01:12:02 UTC
FEDORA-2022-dbbe1b44c0 has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.