Bug 424751

Summary: can not install using yum shell
Product: Red Hat Enterprise Linux 5 Reporter: Jan Hutař <jhutar>
Component: yumAssignee: James Antill <james.antill>
Severity: low Docs Contact:
Priority: low    
Version: 5.1   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-03-25 01:25:13 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Jan Hutař 2007-12-14 03:37:47 EST
Description of problem:
I can not install using yum shell, getting traceback

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

How reproducible:

Steps to Reproduce:
1. # yum --noplugins -d10 -e10 --disablerepo=regular022 shell
2. > list available
3. > install test-regular

Actual results:
# yum --noplugins -d10 -e10 --disablerepo=regular022 shell
Yum Version: 3.0.1
COMMAND: yum --noplugins -d10 -e10 
Installroot: /
No argument to shell
Setting up Yum Shell
Reading Local RPMDB
> list available
Yum Version: 3.0.1
COMMAND: list available
Installroot: /
Ext Commands:

Setting up repositories
Reading repository metadata in from local files
Setting up Package Sacks
Available Packages
test-obsoleted.i386                      0.1-1                  regular011      
test-obsoletes.i386                      0.1-1                  regular011      
test-regular.i386                        0.1-1                  regular011      
> install test-regular
Yum Version: 3.0.1
COMMAND: install test-regular
Installroot: /
Ext Commands:

Setting up Install Process
skipping reposetup, pkgsack exists
Parsing package install arguments
No other test-regular installed, adding to list for potential install
reduced installs :
Traceback (most recent call last):
  File "/usr/lib/python2.4/logging/__init__.py", line 731, in emit
    msg = self.format(record)
  File "/usr/lib/python2.4/logging/__init__.py", line 617, in format
    return fmt.format(record)
  File "/usr/lib/python2.4/logging/__init__.py", line 405, in format
    record.message = record.getMessage()
  File "/usr/lib/python2.4/logging/__init__.py", line 276, in getMessage
    msg = msg % self.args
TypeError: not enough arguments for format string
skipping reposetup, pkgsack exists
skipping reposetup, pkgsack exists
Building updates object

Expected results:
I'm able to install

Additional info:
Repository and packages used for the testing are common, created with 
createrepo and completely useable with "yum [options]"