Bug 1625015 - conflicting ownership of files between python2-jedi and python3-jedi
Summary: conflicting ownership of files between python2-jedi and python3-jedi
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-jedi
Version: rawhide
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Carl George
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-09-04 00:33 UTC by George R. Goffe
Modified: 2018-09-04 16:56 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-09-04 15:29:27 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description George R. Goffe 2018-09-04 00:33:57 UTC
Description of problem:
Attempting to upgrade this system and got messages about conflict of ownership (see below) between the two jedi packages.

Version-Release number of selected component (if applicable):
python2-jedi-0.12.0-4.fc29.noarch
python3-jedi-0.12.0-4.fc29.noarch

How reproducible:
always

Steps to Reproduce:
1.see below
2.
3.

Actual results:
see below

Expected results:


Additional info:

Error: Transaction check error:
  file /usr/share/doc/python-jedi/AUTHORS.txt from install of python2-jedi-0.12.1-1.fc30.noarch conflicts with file from package python3-jedi-0.12.0-4.fc29.noarch
  file /usr/share/doc/python-jedi/CHANGELOG.rst from install of python2-jedi-0.12.1-1.fc30.noarch conflicts with file from package python3-jedi-0.12.0-4.fc29.noarch

Error Summary
-------------

Error: Transaction check error:
  file /usr/share/doc/python-jedi/AUTHORS.txt from install of python3-jedi-0.12.1-1.fc30.noarch conflicts with file from package python2-jedi-0.12.0-4.fc29.noarch
  file /usr/share/doc/python-jedi/CHANGELOG.rst from install of python3-jedi-0.12.1-1.fc30.noarch conflicts with file from package python2-jedi-0.12.0-4.fc29.noarch

Error Summary
-------------

Comment 1 Miro Hrončok 2018-09-04 07:43:29 UTC
George, thanks for the report. This is a python-jedi bug.

Comment 2 Carl George 2018-09-04 14:46:25 UTC
The spec file currently contains this macro:

    %global _docdir_fmt %{name}

That causes all subpackages to share the same documentation directory.  The benefit of that is that python2-jedi and python3-jedi share the AUTHORS.txt and CHANGELOG.rst files, avoiding duplication.  The drawback is what you observed, which is conflict errors if those files have changed in an update and you aren't updating the packages at the same time.

This only happens if you try to update just one of the packages.  If you update them both at the same time it works.  Do that to fix it for now, and I'll get the spec file updated to remove that macro to prevent this error from being possible.

Comment 4 George R. Goffe 2018-09-04 16:56:34 UTC
Carl,

Thanks for this information. I've been upgrading separately due to the prevalence of this kind of problem with other packages. Sigh...

Thanks again,

George...


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