Bug 751136 - yum local operations are incomplete and undocumented
Summary: yum local operations are incomplete and undocumented
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: 16
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Seth Vidal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-11-03 16:14 UTC by John Reiser
Modified: 2014-01-21 23:20 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-11-03 16:17:53 UTC
Type: ---


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.