Bug 116641 - 'IndexError: list index out of range' python traceback from 'dir' type channel
'IndexError: list index out of range' python traceback from 'dir' type channel
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: up2date (Show other bugs)
3.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: Adrian Likins
Fanny Augustin
:
Depends On:
Blocks: up2date-rhel3-u2
  Show dependency treegraph
 
Reported: 2004-02-23 22:50 EST by Mike MacCana
Modified: 2007-11-30 17:07 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2004-07-21 00:42:05 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 Mike MacCana 2004-02-23 22:50:13 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (compatible; Konqueror/3.2; Linux) (KHTML, like Gecko)

Description of problem:
Hey guys,

up2date dumps the following when attempting to install a package from a dir type repository.

up2date -i dnstracer

Fetching package list for channel: rhel-i386-es-3...
########################################

Fetching package list for channel: dag-dag...

Fetching http://apt.sw.be/redhat/el3/en/i386/base/pkglist.dag.bz2...
########################################

Fetching package list for channel: redhat-el3-es-packages...
########################################

Fetching package list for channel: mikes-custom-packages...
########################################

Fetching Obsoletes list for channel: rhel-i386-es-3...

Fetching Obsoletes list for channel: dag-dag...

Fetching Obsoletes list for channel: redhat-el3-es-packages...

Fetching Obsoletes list for channel: mikes-custom-packages...

Fetching rpm headers...
########################################

Name                                    Version        Rel
----------------------------------------------------------
dnstracer                               1.7            1mm                 i386


Testing package set / solving RPM inter-dependencies...
########################################
Traceback (most recent call last):
  File "/usr/sbin/up2date", line 1190, in ?
    sys.exit(main() or 0)
  File "/usr/sbin/up2date", line 776, in main
    fullUpdate, dryRun=options.dry_run))
  File "/usr/sbin/up2date", line 1069, in batchRun
    batch.run()
  File "up2dateBatch.py", line 79, in run
  File "up2dateBatch.py", line 147, in __getPackages
  File "up2date.py", line 182, in getPackage
  File "rpcServer.py", line 112, in doCall
  File "repoDirector.py", line 35, in getPackage
  File "rpmSource.py", line 183, in getPackage
  File "/usr/share/rhn/up2date_client/repoBackends/dirRepo.py", line 275, in getPackage
    fileName = pkg[7]
IndexError: list index out of range

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


How reproducible:
Always

Steps to Reproduce:
1.Attempt to install a package from a dir type repository    

Actual Results:  A python traceback similar to the above, regardless of package

Additional info:
Comment 1 Adrian Likins 2004-04-06 15:32:38 EDT
seems to be fixed in 4.2.9, headed for a update release.

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