Bug 1809127 - DNF transaction error when attempting to update python3-waitress with python2-waitress installed
Summary: DNF transaction error when attempting to update python3-waitress with python2...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-waitress
Version: 31
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Fedora Infrastructure SIG
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-03-02 13:45 UTC by Fritz Elfert
Modified: 2020-03-15 14:00 UTC (History)
5 users (show)

Fixed In Version: python-waitress-1.4.3-1.fc30.1
Clone Of:
Environment:
Last Closed: 2020-03-15 14:00:18 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Fritz Elfert 2020-03-02 13:45:53 UTC
Description of problem:
Output of dnf says it all (see below).

Version-Release number of selected component (if applicable):
1.4.3-1.fc31

How reproducible:
Always

Steps to Reproduce:
1. Have both python3-waitress-1.2.1-3.fc31 and python2-waitress-1.2.1-3.fc31 installed
2. Run "dnf update -y"
3.

Actual results:
Transaction error due to duplicate file. Output of dnf:

[root@floh ~]# dnf update -y
Last metadata expiration check: 0:22:16 ago on Mon 02 Mar 2020 02:21:46 PM CET.
Dependencies resolved.
================================================================================================================================================================================
 Package                                         Architecture                          Version                                     Repository                              Size
================================================================================================================================================================================
Upgrading:
 python3-waitress                                noarch                                1.4.3-1.fc31                                updates                                241 k

Transaction Summary
================================================================================================================================================================================
Upgrade  1 Package

Total size: 241 k
Downloading Packages:
[SKIPPED] python3-waitress-1.4.3-1.fc31.noarch.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/share/doc/python-waitress/CHANGES.txt from install of python3-waitress-1.4.3-1.fc31.noarch conflicts with file from package python2-waitress-1.2.1-3.fc31.noarch

Expected results:
No failure during update

Additional info:

Comment 1 Kevin Fenzi 2020-03-04 01:33:46 UTC
Alas, this is my fault. I pushed a update (for a security issue) to 1.4.3. However, in that version in rawhide and f32 I had already dropped the python2 subpackage. 

So, several options here: 

- Are you actually using the python2 version? If not, dnf remove python2-waitress and the upgrade should complete. 

- If you are using it / need it, I can push another update with it back. I'd prefer not to, but if there's demand I can, and it's my mistake for dropping it there. 

Thoughts?

Comment 2 Miriam Rittenberg 2020-03-06 07:07:32 UTC
We are using the python2 version of python-waitress on Fedora 30, so it needs to continue to work with the python3 version on Fedora 30.

Comment 3 Fedora Update System 2020-03-07 02:33:00 UTC
FEDORA-2020-d8dc84eec4 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2020-d8dc84eec4

Comment 4 Fedora Update System 2020-03-08 00:46:37 UTC
python-waitress-1.4.3-1.fc30.1 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-d8dc84eec4

Comment 5 Miriam Rittenberg 2020-03-10 06:55:29 UTC
Thank you for fixing this!

Comment 6 Fedora Update System 2020-03-15 14:00:18 UTC
python-waitress-1.4.3-1.fc30.1 has been pushed to the Fedora 30 stable repository. If problems still persist, 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.