Bug 424751 - can not install using yum shell
Summary: can not install using yum shell
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: yum
Version: 5.1
Hardware: All
OS: Linux
low
low
Target Milestone: ---
: ---
Assignee: James Antill
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-12-14 08:37 UTC by Jan Hutař
Modified: 2009-03-25 05:25 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-03-25 05:25:13 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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


Version-Release number of selected component (if applicable):
3.0.1-5.el5


How reproducible:
always


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:

   available
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:

   test-regular
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]"


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