From Fedora Project Wiki

No RPM Command

Stop (medium size).png
This page is a draft


Summary

Replace all use of rpm with yum.

Owner

  • Name: JamesBowes

Current status

  • Targeted release: Fedora 10
  • Last updated: Sun Oct 21, 2007
  • Percentage of completion: 0%

Detailed Description

Provide all functionality of the rpm command in yum. Separate the rpm command line interface from the rest of the package and do not install it by default. Provide a compat-rpm package that is an rpm workalike which is a thin wrapper around yum.

Benefit to Fedora

Having yum provide all features of raw rpm will provide Fedora users with a single clean and consistent cli interface.

Possibly longer term

Running all rpm transactions through yum allows us to do interesting things with plugins and be smarter with transactions. For instance, we could run update-icon-cache once at the end of the transaction, rather than for each package.

This could preclude the use of other package managers depending on the implementation (ie if all spec files which specified update-icon-cache removed that line), and so it is out of the scope of this proposal, but left here for archival reasons.

Comments

This is IMHO no benefit which is not possible with rpm, too. But for some, it seems to be more easily to write this code in python rather in C. -- RobertScheck

Scope

Test Plan

Compare all major commands from rpm and the wrapper, and ensure their output is consistent.

User Experience

Dependencies

  • rpm must support being installed without its command line interface
  • yum must have all commands available in rpm

Contingency Plan

If not complete, we can simply ship rpm as it is today.

Documentation

Release Notes