Bug 1724767 - Update from Fedora 29 to Fedora 30 fails, because python2-langtable was removed too late
Summary: Update from Fedora 29 to Fedora 30 fails, because python2-langtable was remov...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: langtable
Version: 30
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Mike FABIAN
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F30FailsToInstall
TreeView+ depends on / blocked
 
Reported: 2019-06-27 18:21 UTC by Frank Büttner
Modified: 2019-07-19 01:10 UTC (History)
11 users (show)

Fixed In Version: langtable-0.0.43-3.fc30
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-07-19 01:10:54 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Frank Büttner 2019-06-27 18:21:28 UTC
Description of problem:
The upgrade  from fedora 29 to 30 fails.

Version-Release number of selected component (if applicable):
yum-langpacks-0.4.5-10.fc30.noarch

How reproducible:
Every time

Steps to Reproduce:
1. sudo LANG=C dnf system-upgrade --releasever=30 download


Actual results:
Error: 
 Problem: package yum-langpacks-0.4.5-10.fc30.noarch requires python2-langtable, but none of the providers can be installed
  - package fedora-obsolete-packages-30-44.noarch obsoletes python2-langtable < 0.0.43-3 provided by python2-langtable-0.0.41-2.fc30.noarch
  - problem with installed package yum-langpacks-0.4.5-9.fc29.noarch
  - problem with installed package python2-hawkey-0.31.0-3.fc29.x86_64
  - yum-langpacks-0.4.5-9.fc29.noarch does not belong to a distupgrade repository
  - python2-langtable-0.0.41-1.fc29.noarch does not belong to a distupgrade repository
  - python2-hawkey-0.31.0-3.fc29.x86_64 does not belong to a distupgrade repository


Expected results:
No error

Comment 1 Parag Nemade 2019-07-12 08:22:01 UTC
I will better retire this package from Fedora 30.

Comment 2 Miro Hrončok 2019-07-12 08:55:29 UTC
Retiring form released Fedora is not possible. If you run fedpkg retire on f30, the package will seem retired in git, but the current build will stay in repos until f30 EOL.

Comment 3 Parag Nemade 2019-07-12 09:27:31 UTC
So we bring back python2-langtable? I am surprised we have users of yum-langpacks still in Fedora.

Comment 4 Miro Hrončok 2019-07-12 09:37:33 UTC
> So we bring back python2-langtable? 

For Fedora 30 only? Probably yes. As the maintainer.

However this might not be enough to fix this.

> I am surprised we have users of yum-langpacks still in Fedora.

We probably don't. They have it installed on their systems ages ago and this prevent them from upgrading.

Comment 5 Parag Nemade 2019-07-12 09:44:50 UTC
I think you know better how to fix this, Please I request to go ahead and fix this bug :)

Comment 6 Jens Petersen 2019-07-12 10:21:18 UTC
I suppose the workaround is to remove the package before retiring.

Comment 7 Jens Petersen 2019-07-12 10:22:06 UTC
Ugh bad typo, erm I meant "the workaround is to remove the package before upgrading"

Comment 8 Jens Petersen 2019-07-12 10:31:50 UTC
However I am able to install yum-langpacks in F30.

So I think removing the Obsoletes for python2-langtable would fix this.

Comment 9 Miro Hrončok 2019-07-12 11:16:23 UTC
Here's the reason why you can install it:

the Fedora repo contains langtable-0.0.41-2.fc30 with python2-langtable-0.0.41-2.fc30
the Updates repo contains updated langtable-0.0.43-2.fc30 without python2-langtable

i.e. the python2-langtable package was removed too late. reintroducing it for f30 (if possible) and stop obsoleting it is probably a proper course of action.

Only removing the Obsoletes is possibly dangerous, as the python2-langtable package would not be updateable and it explicitly requires langtable = 0.0.41-2.fc30, hence making the entire langtable "stack" unupdateable.

Comment 10 Miro Hrončok 2019-07-12 11:18:17 UTC
Also note that fedora-obsolete-packages obsoletes python2-langtable < 0.0.43-3, so when reintroducing python2-langtable in langtable-0.0.43-3.fc30, no changes are required in fedora-obsolete-packages.

Comment 11 Jens Petersen 2019-07-12 13:23:18 UTC
Okay thanks, Miro

I think we could use `%if 0%{fedora} < 31` to add back the python2 subpackage conditionally.

Comment 12 Miro Hrončok 2019-07-12 13:44:01 UTC
Or just commit the change to the f30 branch since it is already diverged from master.

Comment 13 Fedora Update System 2019-07-14 15:00:26 UTC
FEDORA-2019-3c4610ea8a has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-3c4610ea8a

Comment 14 Fedora Update System 2019-07-15 01:32:26 UTC
langtable-0.0.43-3.fc30 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-2019-3c4610ea8a

Comment 15 Fedora Update System 2019-07-19 01:10:54 UTC
langtable-0.0.43-3.fc30 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.