Retire YUM 3
Summary
Remove the YUM (version 3) package manager stack from Fedora.
Owner
- Name: Michal Domonkos
- Email: mdomonko@redhat.com
- Release notes owner:
Current status
- Targeted release: Fedora 31
- Last updated: 2019-02-25
- Tracker bug: #1682910
- Release notes tracker: #304
Detailed Description
Remove the following packages from the distribution:
- createrepo
- yum
- yum-langpacks
- yum-utils
- yum-metadata-parser
- yum-updatesd
All these packages should no longer be used by the end-user, and all software using them should be migrated to DNF.
Note that we intentionally omit the python2-urlgrabber
package from the list, although it is also part of the YUM stack. While it should eventually go away too (or be ported to Python 3), it is still heavily used by the Fedora infrastructure (such as by sigul
, imagefactory
or koji-containerbuild
). We will propose its removal (if not ported in time) for Fedora 31 instead.
Compatibility:
- Important packages such as
yum
,createrepo
oryum-utils
will be provided/obsoleted by relevant packages from the DNF stack - Important executables such
/usr/bin/yum
,/usr/bin/repoquery
or/usr/bin/createrepo
will be provided either as new executables or symlinks to the respective DNF-based counterparts
Benefit to Fedora
Drop an old package manager that has no active upstream community. Move existing users to DNF that is under active development. Secondary benefit is reducing the number of packages in Fedora that still depend on Python 2.
Scope
- Proposal owners: Remove the packages listed in the Detailed Description section from the distribution
- Other developers: Either remove the depending packages from the distribution or port them to the DNF stack
- Release engineering: #7588
- List of deliverables: N/A (not a System Wide Change)
- Policies and guidelines: N/A
- Trademark approval: N/A (not needed for this Change)
Upgrade/compatibility impact
Any tool based on the YUM 3 Python API will stop working. This applies on any 3rd party software which won't be changed in Fedora as part of this change. CLI compatibility will be provided by DNF.
How To Test
repoclosure
passes after dropping the packages.
User Experience
There shouldn't be any impact on the YUM users because the package management functionality is provided by DNF already. Users of tools listed in the Dependencies section shouldn't see any difference if the migration to DNF is done properly.
Dependencies
The list of source packages (SRPMs) that still depend on (some parts of) the YUM stack:
- cobbler
- tracker: https://bugzilla.redhat.com/show_bug.cgi?id=1156552
- requires: createrepo
- rpms: cobbler
- ddiskit
- tracker: N/A
- requires: createrepo
- rpms: ddiskit
- diskimage-builder
- tracker: N/A
- requires: yum-utils
- rpms: diskimage-builder
- dlrn
- tracker: N/A
- requires: createrepo
- rpms: python3-dlrn
- fusioninventory-agent
- tracker: N/A
- requires: yum
- rpms: fusioninventory-agent-yum-plugin
- grinder
- tracker: N/A
- requires: createrepo
- rpms: grinder
- kiwi
- tracker: N/A
- requires: yum
- rpms: kiwi-systemdeps
- koji
- tracker: https://pagure.io/koji/issue/971
- requires: createrepo
- rpms: koji-builder
- mach
- tracker: https://bugzilla.redhat.com/show_bug.cgi?id=1156528
- requires: createrepo, yum
- rpms: mach
- mash
- tracker: https://bugzilla.redhat.com/show_bug.cgi?id=1156546
- requires: createrepo, yum
- rpms: mash
- nagios-plugins-check-updates
- tracker: N/A
- requires: yum
- rpms: nagios-plugins-check-updates
- perl-Fedora-Rebuild
- tracker: N/A
- requires: createrepo
- rpms: perl-Fedora-Rebuild
- plague
- tracker: N/A
- requires: createrepo
- rpms: plague
- pungi
- tracker: N/A
- requires: createrepo, yum, yum-utils
- rpms: pungi-legacy
- repo_manager
- tracker: N/A
- requires: createrepo
- rpms: repo_manager
- repoview
- tracker: https://bugzilla.redhat.com/show_bug.cgi?id=1156505
- requires: yum
- rpms: repoview
- snake
- tracker: https://bugzilla.redhat.com/show_bug.cgi?id=1156539
- requires: yum
- rpms: snake
- system-config-kickstart
- tracker: N/A
- requires: yum
- rpms: system-config-kickstart
- yum-axelget
- tracker: https://bugzilla.redhat.com/show_bug.cgi?id=1341140
- requires: yum, yum-plugin-fastestmirror
- rpms: yum-axelget
- yum-rhn-plugin
- tracker: N/A (package was recently retired but no compose happened since)
- requires: yum
- rpms: yum-rhn-plugin
Updated: 2019-02-02
Generated with: https://gist.github.com/dmnks/787b121503ba1e9d1565d58b4a4e3a62
$ python3 deps.py createrepo yum yum-langpacks yum-utils yum-metadata-parser yum-updatesd
Contingency Plan
- Contingency mechanism: Do not remove the packages in the current release.
- Contingency deadline: Beta Freeze
- Blocks release? No
- Blocks product? No
Documentation
N/A
Release Notes
Inform end-users about removing the YUM 3 stack and the definitive migration to DNF.