Bug 424751 - can not install using yum shell
can not install using yum shell
Status: CLOSED CURRENTRELEASE
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: yum (Show other bugs)
5.1
All Linux
low Severity low
: ---
: ---
Assigned To: James Antill
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-12-14 03:37 EST by Jan Hutař
Modified: 2009-03-25 01:25 EDT (History)
0 users

See Also:
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: ---


Attachments (Terms of Use)

  None (edit)
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):
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.