From Fedora Project Wiki
mNo edit summary
mNo edit summary
Line 101: Line 101:
== Dependencies ==
== Dependencies ==
The list of source packages (SRPMs) that still depend on some of the yum-related packages to be removed:
The list of source packages (SRPMs) that still depend on some of the yum-related packages to be removed:
<pre>
# SRPM name:
#  bugzilla: link to BZ requesting the maintainer to port their project to DNF
#  requires: which of the yum-related packages this SRPM requires
#  rpms: list of binary RPMs affected


cas:
* cobbler
  bugzilla: null
** bugzilla: N/A
  requires:
** requires: createrepo, python2-urlgrabber
  - python2-urlgrabber
** rpms: cobbler, koan
  rpms:
* ddiskit
  - cas
** bugzilla: N/A
cobbler:
** requires: createrepo
  bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1156552
** rpms: ddiskit
  requires:
* grinder
  - createrepo
** bugzilla: N/A
  - python2-urlgrabber
** requires: createrepo
  rpms:
** rpms: grinder
  - cobbler
* koji
  - koan
** bugzilla: N/A
ddiskit:
** requires: createrepo
  bugzilla: null
** rpms: koji-builder
  requires:
* mach
  - createrepo
** bugzilla: N/A
  rpms:
** requires: createrepo, yum
  - ddiskit
** rpms: mach
diskimage-builder:
* mash
  bugzilla: null
** bugzilla: N/A
  requires:
** requires: createrepo, yum
  - yum-utils
** rpms: mash
  rpms:
* perl-Fedora-Rebuild
  - diskimage-builder
** bugzilla: N/A
dlrn:
** requires: createrepo
  bugzilla: null
** rpms: perl-Fedora-Rebuild
  requires:
* plague
  - createrepo
** bugzilla: N/A
  rpms:
** requires: createrepo
  - python3-dlrn
** rpms: plague
fusioninventory-agent:
* pungi
  bugzilla: null
** bugzilla: N/A
  requires:
** requires: createrepo, yum, yum-utils
  - yum
** rpms: pungi-legacy
  rpms:
* dlrn
  - fusioninventory-agent-yum-plugin
** bugzilla: N/A
grinder:
** requires: createrepo
  bugzilla: null
** rpms: python3-dlrn
  requires:
* repo_manager
  - createrepo
** bugzilla: N/A
  rpms:
** requires: createrepo
  - grinder
** rpms: repo_manager
imagefactory:
* cas
  bugzilla: null
** bugzilla: N/A
  requires:
** requires: python2-urlgrabber
  - python2-urlgrabber
** rpms: cas
  rpms:
* imagefactory
  - imagefactory
** bugzilla: N/A
kiwi:
** requires: python2-urlgrabber
  bugzilla: null
** rpms: imagefactory
  requires:
* koji-containerbuild
  - yum
** bugzilla: N/A
  rpms:
** requires: python2-urlgrabber
  - kiwi-systemdeps
** rpms: koji-containerbuild-builder
koji:
* osc
  bugzilla: null
** bugzilla: N/A
  requires:
** requires: python2-urlgrabber
  - createrepo
** rpms: osc
  rpms:
* sigul
  - koji-builder
** bugzilla: N/A
koji-containerbuild:
** requires: python2-urlgrabber
  bugzilla: null
** rpms: sigul-bridge
  requires:
* snake
  - python2-urlgrabber
** bugzilla: N/A
  rpms:
** requires: yum
  - koji-containerbuild-builder
** rpms: snake
mach:
* fusioninventory-agent
  bugzilla: null
** bugzilla: N/A
  requires:
** requires: yum
  - createrepo
** rpms: fusioninventory-agent-yum-plugin
  - yum
* kiwi
  rpms:
** bugzilla: N/A
  - mach
** requires: yum
mash:
** rpms: kiwi-systemdeps
  bugzilla: null
* nagios-plugins-check-updates
  requires:
** bugzilla: N/A
  - createrepo
** requires: yum
  - yum
** rpms: nagios-plugins-check-updates
  rpms:
* repoview
  - mash
** bugzilla: N/A
nagios-plugins-check-updates:
** requires: yum
  bugzilla: null
** rpms: repoview
  requires:
* system-config-kickstart
  - yum
** bugzilla: N/A
  rpms:
** requires: yum
  - nagios-plugins-check-updates
** rpms: system-config-kickstart
osc:
* yum-axelget
  bugzilla: null
** bugzilla: N/A
  requires:
** requires: yum, yum-plugin-fastestmirror
  - python2-urlgrabber
** rpms: yum-axelget
  rpms:
* yum-rhn-plugin
  - osc
** bugzilla: N/A
perl-Fedora-Rebuild:
** requires: yum
  bugzilla: null
** rpms: yum-rhn-plugin
  requires:
* diskimage-builder
  - createrepo
** bugzilla: N/A
  rpms:
** requires: yum-utils
  - perl-Fedora-Rebuild
** rpms: diskimage-builder
plague:
  bugzilla: null
  requires:
  - createrepo
  rpms:
  - plague
pungi:
  bugzilla: null
  requires:
  - createrepo
  - yum
  - yum-utils
  rpms:
  - pungi-legacy
repo_manager:
  bugzilla: null
  requires:
  - createrepo
  rpms:
  - repo_manager
repoview:
  bugzilla: null
  requires:
  - yum
  rpms:
  - repoview
sigul:
  bugzilla: null
  requires:
  - python2-urlgrabber
  rpms:
  - sigul-bridge
snake:
  bugzilla: null
  requires:
  - yum
  rpms:
  - snake
system-config-kickstart:
  bugzilla: null
  requires:
  - yum
  rpms:
  - system-config-kickstart
yum-axelget:
  bugzilla: null
  requires:
  - yum
  - yum-plugin-fastestmirror
  rpms:
  - yum-axelget
yum-rhn-plugin:
  bugzilla: null
  requires:
  - yum
  rpms:
  - yum-rhn-plugin
</pre>


Updated: 2019-01-23
Updated: 2019-01-28


Generated with:
Generated with:

Revision as of 09:52, 28 January 2019


Deprecate YUM 3

Summary

Remove yum (v3) and all related packages from Fedora.

Owner

  • Name: Daniel Mach
  • Email: dmach@redhat.com
  • Release notes owner:

Current status

  • Targeted release: Fedora 30
  • Last updated: 2019-01-28
  • Tracker bug: <will be assigned by the Wrangler>

Detailed Description

Remove packages from the distribution:

  • createrepo
  • yum
  • yum-langpacks
  • yum-utils
  • yum-metadata-parser
  • yum-updatesd
  • python-urlgrabber

All these packages should no longer be used and all software using them should be migrated to DNF.

Compatibility:

  • Important packages such as yum, createrepo or yum-utils will be provided/obsoleted by relevant packages from the dnf stack
  • Important executables such yum, repoquery, createrepo, etc. will be provided either as new executables or via symlinks

Benefit to Fedora

Drop an old package manager that has no active upstream development. Move existing users to DNF which that has active development. Secondary benefit is reducing number of packages in Fedora that still depend on Python 2.

Scope

  • Proposal owners: Remove packages from the distribution: createrepo, yum, yum-langpacks, yum-utils, yum-metadata-parser, python-urlgrabber
  • Other developers: Either remove packages from the distribution or switch them to DNF
  • Release engineering: #7588
  • Policies and guidelines: N/A
  • Trademark approval: N/A (not needed for this Change)

Upgrade/compatibility impact

Any tool based on 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 YUM users because the 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 of the yum-related packages to be removed:

  • cobbler
    • bugzilla: N/A
    • requires: createrepo, python2-urlgrabber
    • rpms: cobbler, koan
  • ddiskit
    • bugzilla: N/A
    • requires: createrepo
    • rpms: ddiskit
  • grinder
    • bugzilla: N/A
    • requires: createrepo
    • rpms: grinder
  • koji
    • bugzilla: N/A
    • requires: createrepo
    • rpms: koji-builder
  • mach
    • bugzilla: N/A
    • requires: createrepo, yum
    • rpms: mach
  • mash
    • bugzilla: N/A
    • requires: createrepo, yum
    • rpms: mash
  • perl-Fedora-Rebuild
    • bugzilla: N/A
    • requires: createrepo
    • rpms: perl-Fedora-Rebuild
  • plague
    • bugzilla: N/A
    • requires: createrepo
    • rpms: plague
  • pungi
    • bugzilla: N/A
    • requires: createrepo, yum, yum-utils
    • rpms: pungi-legacy
  • dlrn
    • bugzilla: N/A
    • requires: createrepo
    • rpms: python3-dlrn
  • repo_manager
    • bugzilla: N/A
    • requires: createrepo
    • rpms: repo_manager
  • cas
    • bugzilla: N/A
    • requires: python2-urlgrabber
    • rpms: cas
  • imagefactory
    • bugzilla: N/A
    • requires: python2-urlgrabber
    • rpms: imagefactory
  • koji-containerbuild
    • bugzilla: N/A
    • requires: python2-urlgrabber
    • rpms: koji-containerbuild-builder
  • osc
    • bugzilla: N/A
    • requires: python2-urlgrabber
    • rpms: osc
  • sigul
    • bugzilla: N/A
    • requires: python2-urlgrabber
    • rpms: sigul-bridge
  • snake
    • bugzilla: N/A
    • requires: yum
    • rpms: snake
  • fusioninventory-agent
    • bugzilla: N/A
    • requires: yum
    • rpms: fusioninventory-agent-yum-plugin
  • kiwi
    • bugzilla: N/A
    • requires: yum
    • rpms: kiwi-systemdeps
  • nagios-plugins-check-updates
    • bugzilla: N/A
    • requires: yum
    • rpms: nagios-plugins-check-updates
  • repoview
    • bugzilla: N/A
    • requires: yum
    • rpms: repoview
  • system-config-kickstart
    • bugzilla: N/A
    • requires: yum
    • rpms: system-config-kickstart
  • yum-axelget
    • bugzilla: N/A
    • requires: yum, yum-plugin-fastestmirror
    • rpms: yum-axelget
  • yum-rhn-plugin
    • bugzilla: N/A
    • requires: yum
    • rpms: yum-rhn-plugin
  • diskimage-builder
    • bugzilla: N/A
    • requires: yum-utils
    • rpms: diskimage-builder

Updated: 2019-01-28

Generated with: https://gist.github.com/dmnks/787b121503ba1e9d1565d58b4a4e3a62

$ python3 deps.py createrepo yum yum-langpacks yum-utils yum-metadata-parser yum-updatesd python-urlgrabber

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 definitive migration to DNF.