Bug 1332623 - breaks upgrade path
Summary: breaks upgrade path
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-dateutil
Version: 24
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Haïkel Guémar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: RejectedBlocker
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-05-03 15:13 UTC by Matthias Runge
Modified: 2016-05-10 11:47 UTC (History)
10 users (show)

Fixed In Version: python-dateutil-2.5.2-2.fc24
Clone Of:
Environment:
Last Closed: 2016-05-10 11:47:42 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
dnf upgrade log (524.96 KB, text/plain)
2016-05-05 12:55 UTC, Jan Sedlák
no flags Details

Description Matthias Runge 2016-05-03 15:13:29 UTC
Description of problem:
installed package from f23 can not be upgraded to f24:

Error: Transaction check error:
  file /usr/share/doc/python-dateutil/NEWS from install of python2-dateutil-1:2.5.2-1.fc24.noarch conflicts with file from package python3-dateutil-1:2.4.2-2.fc23.noarch
  file /usr/share/doc/python-dateutil/README.rst from install of python2-dateutil-1:2.5.2-1.fc24.noarch conflicts with file from package python3-dateutil-1:2.4.2-2.fc23.noarch


looks like the commit introducing py2/py3 broke upgrade path.

Comment 1 Kamil Páral 2016-05-04 13:38:06 UTC
python-dateutil is included on F23 Server DVD, therefore it probably affects default installations of F23.

Comment 2 Kamil Páral 2016-05-04 13:42:53 UTC
However, openqa claims server upgrade went fine. Here's the upgrade log:

https://openqa.fedoraproject.org/tests/15885/file/serial0.txt

[322/1259] Installing python2-dateutil-1:2.5.2-1.fc24.noarch...
[813/1259] Obsoleting python-dateutil-1:2.4.2-2.fc23.noarch...
[33/1259] Verifying python2-dateutil-1:2.5.2-1.fc24.noarch...
[1113/1259] Verifying python-dateutil-1:2.4.2-2.fc23.noarch...

The difference seems to be that python3-dateutil is not installed during default upgrade, but you already had that package and it caused the conflict.

Comment 3 Matthias Runge 2016-05-04 15:24:03 UTC
(In reply to Kamil Páral from comment #2)
> However, openqa claims server upgrade went fine. Here's the upgrade log:
> 
> https://openqa.fedoraproject.org/tests/15885/file/serial0.txt
> 
> [322/1259] Installing python2-dateutil-1:2.5.2-1.fc24.noarch...
> [813/1259] Obsoleting python-dateutil-1:2.4.2-2.fc23.noarch...
> [33/1259] Verifying python2-dateutil-1:2.5.2-1.fc24.noarch...
> [1113/1259] Verifying python-dateutil-1:2.4.2-2.fc23.noarch...
> 
> The difference seems to be that python3-dateutil is not installed during
> default upgrade, but you already had that package and it caused the conflict.

But packaging guidelines state, packages need to be installable in parallel.

If you have something like osbs installed, then you'll get python3-dateutil installed as well. osbs is installed in some corporate environments though.

Comment 4 Zbigniew Jędrzejewski-Szmek 2016-05-05 02:01:13 UTC
Something's fishy with the update: both python(2)-dateutil and python3-dateutil would normally be updated. Anyway, I now pushed a build which uses separate doc dirs for both subpackages, which fixes the conflict.

Comment 5 Fedora Update System 2016-05-05 02:49:42 UTC
python-dateutil-2.5.2-2.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-c936a4d142

Comment 6 Adam Williamson 2016-05-05 03:49:21 UTC
-1 blocker, unless python3-dateutil is installed by default in any of the package sets for which upgrade is supported.

Comment 7 Jan Sedlák 2016-05-05 09:02:09 UTC
Tested it with F23 Server DVD and it doesn't include python3-dateutil (only python-dateutil), not even after update.

Comment 8 Fedora Update System 2016-05-05 09:54:06 UTC
python-dateutil-2.5.2-2.fc24 has been pushed to the Fedora 24 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-2016-c936a4d142

Comment 9 Zbigniew Jędrzejewski-Szmek 2016-05-05 11:22:09 UTC
(In reply to Jan Sedlák from comment #7)
> Tested it with F23 Server DVD and it doesn't include python3-dateutil (only
> python-dateutil), not even after update.

Can you be more precise? Do you have python2-dateutil-2.5.2 installed after the upgrade?

Comment 10 Jan Sedlák 2016-05-05 12:00:27 UTC
When I installed Fedora 23, there was python-dateutil-2.4.2 package installed and no python3-dateutil package installed and after upgrade to Fedora 24, python-dateutil-2.4.2 got updated to python2-dateutil-2.5.2 and still no python3-dateutil package was installed.

Comment 11 Jan Sedlák 2016-05-05 12:54:47 UTC
I cannot reproduce problem from comment 1. I have installed Fedora 23 and python3-dateutil and then upgraded without problem. I'm attaching dnf.log from upgrade. Interesting bits are:

May 05 14:26:02 DEBUG ---> Package python2-dateutil.noarch 1:2.5.2-1.fc24 will be installed
May 05 14:26:02 DEBUG ---> Package python-dateutil.noarch 1:2.4.2-2.fc23 will be obsoleted
May 05 14:26:03 DEBUG ---> Package python3-dateutil.noarch 1:2.4.2-2.fc23 will be upgraded
May 05 14:26:03 DEBUG ---> Package python3-dateutil.noarch 1:2.5.2-1.fc24 will be an upgrade
Installing:
 python2-dateutil                             noarch            1:2.5.2-1.fc24                          fedora            250 k
     replacing  python-dateutil.noarch 1:2.4.2-2.fc23
Upgrading:
 python3-dateutil                             noarch            1:2.5.2-1.fc24                          fedora            251 k
Installed:
 python2-dateutil.noarch 1:2.5.2-1.fc24
Upgraded:
 python3-dateutil.noarch 1:2.5.2-1.fc24

Quick thought: log from comment 1 shows that python2-dateutil-1:2.5.2-1.fc24.noarch conflicts with python3-dateutil-1:2.4.2-2.fc23.noarch as if python3-dateutil would have not been updated to fc24 version.

Comment 12 Jan Sedlák 2016-05-05 12:55:20 UTC
Created attachment 1154199 [details]
dnf upgrade log

Comment 13 Kamil Páral 2016-05-06 11:01:11 UTC
Discussed at a go/no-go meeting [1]. Voted as RejectedBlocker (Beta) - no-one could reproduce this with one of the release-blocking package sets in multiple attempts

[1] https://meetbot.fedoraproject.org/fedora-meeting-1/2016-05-05/f24-beta-go_no_go-meeting.2016-05-05-17.30.html

Comment 14 Fedora Update System 2016-05-10 11:47:39 UTC
python-dateutil-2.5.2-2.fc24 has been pushed to the Fedora 24 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.