Bug 487517 - yum shell errors on check-update
Summary: yum shell errors on check-update
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Seth Vidal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-02-26 14:22 UTC by Josh Boyer
Modified: 2014-01-21 23:08 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-02-26 16:22:55 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


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