Bug 751136

Summary: yum local operations are incomplete and undocumented
Product: [Fedora] Fedora Reporter: John Reiser <jreiser>
Component: yumAssignee: Seth Vidal <skvidal>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: ffesti, james.antill, maxamillion, pmatilai, tla, zpavlas
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-11-03 16:17:53 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description John Reiser 2011-11-03 16:14:02 UTC
Description of problem: yum lacks commands localupgrade, localdowngrade, localreinstall.  Also, the --help does not document localinstall.


Version-Release number of selected component (if applicable):
yum-3.4.3-5.fc16.noarch

How reproducible: every time


Steps to Reproduce:
1. yum --help  |  grep local
2. yum localdowngrade foo.rpm
3.
  
Actual results: 1: Empty  (no mention of 'local' in output from "yum --help").
2: No such command: localdowngrade. Please use /usr/bin/yum --help

Expected results: Existing command 'localinstall' is mentioned.  New commands 'localupgrade', 'localdowngrade', 'localreinstall' also mentioned.


Additional info: Using local .rpm files not in any repository, I should be able to swap package versions back [localdowngrade] and forth [localupgrade].  I should be able to localreinstall any package that arose by localinstall.  These commands are reasonably necessary for testing new .rpm (such as builds from koji, or even earlier) before they are pushed to a repository.

Comment 1 seth vidal 2011-11-03 16:17:53 UTC
the local* commands are redundant.

the normal command handles local file paths to rpms.

yum install foo.rpm is the same as yum localinstall foo.rpm

localinstall is, in fact, deprecated, which is why we do not document it.

no loss of functionality - just redundancy.