Bug 1839534 - File conflicts between packages python3-jsonfield and python3-django-jsonfield
Summary: File conflicts between packages python3-jsonfield and python3-django-jsonfield
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-jsonfield
Version: 31
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Luis Bazan
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-05-24 14:52 UTC by stan
Modified: 2020-08-17 16:44 UTC (History)
2 users (show)

Fixed In Version: python-jsonfield-3.1.0-4.fc31 python-jsonfield-3.1.0-4.fc32
Clone Of:
Environment:
Last Closed: 2020-08-17 01:07:37 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description stan 2020-05-24 14:52:18 UTC
Description of problem:  When I ran today's updates, I received the error that there were file conflicts between python3-jsonfield and python3-django-jsonfield.


Version-Release number of selected component (if applicable):
python3-jsonfield-3.1.0-1.fc31.noarch

How reproducible:
Every time


Steps to Reproduce:
1.  Have python3-django-jsonfield-2.0.2-8.fc31.noarch
2.  Install python3-jsonfield
3.

Actual results:
Error: Transaction test error:
  file /usr/lib/python3.7/site-packages/jsonfield/__init__.py from install of python3-jsonfield-3.1.0-1.fc31.noarch conflicts with file from package python3-django-jsonfield-2.0.2-8.fc31.noarch
  file /usr/lib/python3.7/site-packages/jsonfield/__pycache__/__init__.cpython-37.opt-1.pyc from install of python3-jsonfield-3.1.0-1.fc31.noarch conflicts with file from package python3-django-jsonfield-2.0.2-8.fc31.noarch
  file /usr/lib/python3.7/site-packages/jsonfield/__pycache__/__init__.cpython-37.pyc from install of python3-jsonfield-3.1.0-1.fc31.noarch conflicts with file from package python3-django-jsonfield-2.0.2-8.fc31.noarch
  file /usr/lib/python3.7/site-packages/jsonfield/__pycache__/encoder.cpython-37.opt-1.pyc from install of python3-jsonfield-3.1.0-1.fc31.noarch conflicts with file from package python3-django-jsonfield-2.0.2-8.fc31.noarch
  file /usr/lib/python3.7/site-packages/jsonfield/__pycache__/encoder.cpython-37.pyc from install of python3-jsonfield-3.1.0-1.fc31.noarch conflicts with file from package python3-django-jsonfield-2.0.2-8.fc31.noarch
  file /usr/lib/python3.7/site-packages/jsonfield/__pycache__/fields.cpython-37.opt-1.pyc from install of python3-jsonfield-3.1.0-1.fc31.noarch conflicts with file from package python3-django-jsonfield-2.0.2-8.fc31.noarch
  file /usr/lib/python3.7/site-packages/jsonfield/__pycache__/fields.cpython-37.pyc from install of python3-jsonfield-3.1.0-1.fc31.noarch conflicts with file from package python3-django-jsonfield-2.0.2-8.fc31.noarch
  file /usr/lib/python3.7/site-packages/jsonfield/encoder.py from install of python3-jsonfield-3.1.0-1.fc31.noarch conflicts with file from package python3-django-jsonfield-2.0.2-8.fc31.noarch
  file /usr/lib/python3.7/site-packages/jsonfield/fields.py from install of python3-jsonfield-3.1.0-1.fc31.noarch conflicts with file from package python3-django-jsonfield-2.0.2-8.fc31.noarch


Expected results:
Successful install

Additional info:
It seems that the culprit is python3-django-post_office, as that is what pulls in the python3-jsonfield.  Maybe python3-django-jsonfield is supposed to be obsoleted by this update?

Comment 1 stan 2020-05-24 14:56:14 UTC
I think the description of how to generate the bug is incorrect.  Rather,

have python3-django-jsonfield installed.  Then run
dnf install python3-django-post_office

Last metadata expiration check: 0:21:33 ago on Sun 24 May 2020 07:18:08 AM MST.
Dependencies resolved.
================================================================================
 Package                        Arch       Version            Repository   Size
================================================================================
Installing:
 python3-django-post_office     noarch     3.4.0-2.fc31       updates     114 k
Installing dependencies:
 python3-jsonfield              noarch     3.1.0-1.fc31       updates      20 k

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

Total size: 134 k
Installed size: 389 k
Is this ok [y/N]: Downloading Packages:
[SKIPPED] python3-django-post_office-3.4.0-2.fc31.noarch.rpm: Already downloaded
[SKIPPED] python3-jsonfield-3.1.0-1.fc31.noarch.rpm: Already downloaded        
Running transaction check
Transaction check succeeded.
Running transaction test

And the above error output is generated.

Comment 2 Fedora Update System 2020-08-08 19:10:30 UTC
FEDORA-2020-c9240b19bb has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-c9240b19bb

Comment 3 Fedora Update System 2020-08-08 19:10:30 UTC
FEDORA-2020-53229f548d has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2020-53229f548d

Comment 4 Fedora Update System 2020-08-09 03:01:29 UTC
FEDORA-2020-53229f548d has been pushed to the Fedora 31 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-53229f548d`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-53229f548d

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

Comment 5 Fedora Update System 2020-08-09 03:47:24 UTC
FEDORA-2020-c9240b19bb has been pushed to the Fedora 32 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-c9240b19bb`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-c9240b19bb

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

Comment 6 Fedora Update System 2020-08-17 01:07:37 UTC
FEDORA-2020-53229f548d has been pushed to the Fedora 31 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 7 Fedora Update System 2020-08-17 01:13:28 UTC
FEDORA-2020-c9240b19bb has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 8 stan 2020-08-17 16:44:21 UTC
I just tried to install this latest version of python-jsonfield, 3.1.0-4, here on F31, and it still failed with the conflict.

Installing:
 python3-jsonfield                                               noarch                                               3.1.0-4.fc31                                                updates                                                20 k

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

Total size: 20 k
Installed size: 30 k
Is this ok [y/N]: y
Downloading Packages:
[SKIPPED] python3-jsonfield-3.1.0-4.fc31.noarch.rpm: Already downloaded                                                                                                                                                                      
Running transaction check
Transaction check succeeded.
Running transaction test
Error: Transaction test error:
  file /usr/lib/python3.7/site-packages/jsonfield/__init__.py from install of python3-jsonfield-3.1.0-4.fc31.noarch conflicts with file from package python3-django-jsonfield-2.0.2-8.fc31.noarch
  file /usr/lib/python3.7/site-packages/jsonfield/__pycache__/__init__.cpython-37.opt-1.pyc from install of python3-jsonfield-3.1.0-4.fc31.noarch conflicts with file from package python3-django-jsonfield-2.0.2-8.fc31.noarch
  file /usr/lib/python3.7/site-packages/jsonfield/__pycache__/__init__.cpython-37.pyc from install of python3-jsonfield-3.1.0-4.fc31.noarch conflicts with file from package python3-django-jsonfield-2.0.2-8.fc31.noarch
  file /usr/lib/python3.7/site-packages/jsonfield/__pycache__/encoder.cpython-37.opt-1.pyc from install of python3-jsonfield-3.1.0-4.fc31.noarch conflicts with file from package python3-django-jsonfield-2.0.2-8.fc31.noarch
  file /usr/lib/python3.7/site-packages/jsonfield/__pycache__/encoder.cpython-37.pyc from install of python3-jsonfield-3.1.0-4.fc31.noarch conflicts with file from package python3-django-jsonfield-2.0.2-8.fc31.noarch
  file /usr/lib/python3.7/site-packages/jsonfield/__pycache__/fields.cpython-37.opt-1.pyc from install of python3-jsonfield-3.1.0-4.fc31.noarch conflicts with file from package python3-django-jsonfield-2.0.2-8.fc31.noarch
  file /usr/lib/python3.7/site-packages/jsonfield/__pycache__/fields.cpython-37.pyc from install of python3-jsonfield-3.1.0-4.fc31.noarch conflicts with file from package python3-django-jsonfield-2.0.2-8.fc31.noarch
  file /usr/lib/python3.7/site-packages/jsonfield/encoder.py from install of python3-jsonfield-3.1.0-4.fc31.noarch conflicts with file from package python3-django-jsonfield-2.0.2-8.fc31.noarch
  file /usr/lib/python3.7/site-packages/jsonfield/fields.py from install of python3-jsonfield-3.1.0-4.fc31.noarch conflicts with file from package python3-django-jsonfield-2.0.2-8.fc31.noarch


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