Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1903289 - Obsoleting python2-fedora breaks system upgrade
Summary: Obsoleting python2-fedora breaks system upgrade
Keywords:
Status: CLOSED DUPLICATE of bug 1898498
Alias: None
Product: Fedora
Classification: Fedora
Component: python-fedora
Version: 32
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Fedora Infrastructure SIG
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-12-01 18:49 UTC by Tomáš Hozza
Modified: 2020-12-01 20:26 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-12-01 20:26:15 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1605204 0 unspecified CLOSED python-fedora3 conflicts with python-fedora2 2022-05-16 11:32:56 UTC

Description Tomáš Hozza 2020-12-01 18:49:31 UTC
Description of problem:
I'm trying to upgrade my F31 to F32 using DNF system-upgrade tool. However the upgrade fails, because there are two packages in the F32 repository, which both obsolete python2-fedora.

That is:
python3-fedora

* Mon Nov 02 2020 Nils Philippsen <nils> - 1.1.0-2
- Obsolete python2-fedora (#1605204)


fedora-obsolete-packages

* Wed Feb 19 2020 Pete Walter <pwalter> - 32-34
- Obsolete python2-fedora



Version-Release number of selected component (if applicable):
since python3-fedora-1.1.0-2.fc32.noarch

* Mon Nov 02 2020 Nils Philippsen <nils> - 1.1.0-2
- Obsolete python2-fedora (#1605204)

How reproducible:
always

Steps to Reproduce:
1. Have F31 system with installed python2-fedora
2. Run system upgrade to F32 following https://docs.fedoraproject.org/en-US/quick-docs/dnf-system-upgrade/

Actual results:
Upgrade fails

systemd[1]: Failed to start System Upgrade using DNF.
systemd[1]: dnf-system-upgrade.service: Failed with result 'exit-code'.
systemd[1]: dnf-system-upgrade.service: Main process exited, code=exited, status=1/FAILURE
dnf[1026]: (try to add '--skip-broken' to skip uninstallable packages)
dnf[1026]:   - conflicting requests
dnf[1026]:  Problem: both package python3-fedora-1.1.0-2.fc32.noarch and fedora-obsolete-packages-32-44.noarch obsolete python2-fedora < 0.10.0-11
dnf[1026]: Error:

Expected results:
Upgrade passes, because there is only one package in the F32 repository obsoleting python2-fedora.

Additional info:
You may want to actually remove the obsolete from fedora-obsolete-packages, not python3-fedora, depending on what you are trying to achieve. Since Python3 is not really compatible with Python2 code out of the box, I would suggest not to trick users to believe that python3-fedora version will actually work with Python2 code that used python2-fedora.

Comment 1 Miro Hrončok 2020-12-01 20:26:15 UTC

*** This bug has been marked as a duplicate of bug 1898498 ***


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