Bug 487517

Summary: yum shell errors on check-update
Product: [Fedora] Fedora Reporter: Josh Boyer <jwboyer>
Component: yumAssignee: Seth Vidal <skvidal>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhideCC: ffesti, james.antill, pmatilai, tim.lauridsen
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: 2009-02-26 16:22:55 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Josh Boyer 2009-02-26 14:22:37 UTC
Description of problem:

yum will report an error when running check-update in yum shell, yet it lists it as a viable option in the error message.

Version-Release number of selected component (if applicable):

[jwboyer@localhost ~]$ rpm -q yum
yum-3.2.21-9.fc11.noarch

How reproducible:

Always

Steps to Reproduce:
1. see below
2.
3.
  
Actual results:

[jwboyer@localhost ~]$ sudo yum shell
Loaded plugins: refresh-packagekit
Setting up Yum Shell
> check-update
Usage: yum [options] COMMAND

List of Commands:

check-update   Check for available package updates
clean          Remove cached data
deplist        List a package's dependencies
erase          Remove a package or packages from your system
groupinfo      Display details about a package group
groupinstall   Install the packages in a group on your system
grouplist      List available package groups
groupremove    Remove the packages in a group from your system
help           Display a helpful usage message
info           Display details about a package or group of packages
install        Install a package or packages on your system
list           List a package or groups of packages
localinstall   Install a local RPM
makecache      Generate the metadata cache
provides       Find what package provides the given value
reinstall      reinstall a package
repolist       Display the configured software repositories
resolvedep     Determine which package provides the given dependency
search         Search package details for the given string
shell          Run an interactive yum shell
update         Update a package or packages on your system
upgrade        Update packages taking obsoletes into account


    Shell specific arguments:
      config - set config options
      repository (or repo) - enable/disable/list repositories
      transaction (or ts) - list, reset or run the transaction set
      run - run the transaction set
      exit or quit - exit the shell
    
> 


Expected results:

It lets you list the updates.  Or it doesn't have it as an option in the error
message.  Or something.

Additional info:

Maybe this doesn't make sense to do at all, but I have no clue.

Comment 1 seth vidal 2009-02-26 16:22:55 UTC
odd - parseline in cmd.Cmd() was the culprit - adding '-' to identchars solves it.


closed in upstream yum.