Fedora Account System
Red Hat Associate
Red Hat Customer
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.
odd - parseline in cmd.Cmd() was the culprit - adding '-' to identchars solves it. closed in upstream yum.