Bug 131423 - IndexError: list index out of range
Summary: IndexError: list index out of range
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-09-01 08:56 UTC by Nicolas Mailhot
Modified: 2014-01-21 22:49 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-09-02 18:16:54 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Nicolas Mailhot 2004-09-01 08:56:46 UTC
[root@rousalka ~]# yum clean all
Traceback (most recent call last):
  File "/usr/share/yum/yummain.py", line 135, in ?
    main(sys.argv[1:])
  File "/usr/share/yum/yummain.py", line 52, in main
    base.getOptionsConfig(args)
  File "/usr/share/yum/cli.py", line 249, in getOptionsConfig
    self.parseCommands() # before we exit check over the base command
+ args
  File "/usr/share/yum/cli.py", line 308, in parseCommands
    if len(self.extcmds) > 0 and self.extcmds[1] not in ['packages'
'headers', 'all']:
IndexError: list index out of range

[root@rousalka ~]# rpm -q yum
yum-2.1.0-1

Comment 1 Nicolas Mailhot 2004-09-01 08:57:46 UTC
[root@rousalka ~]# yum clean
Traceback (most recent call last):
  File "/usr/share/yum/yummain.py", line 135, in ?
    main(sys.argv[1:])
  File "/usr/share/yum/yummain.py", line 62, in main
    result, resultmsgs = base.doCommands()
TypeError: unpack non-sequence


Comment 2 Seth Vidal 2004-09-01 12:07:52 UTC
the second is fixed in cvs.

the first will be fixed soon.

yum clean isn't implemented yet.

Comment 3 Brian Millett 2004-09-01 17:32:22 UTC
what about check-update ?

[bpm]$ sudo yum check-update
Traceback (most recent call last):
  File "/usr/share/yum/yummain.py", line 135, in ?
    main(sys.argv[1:])
  File "/usr/share/yum/yummain.py", line 62, in main
    result, resultmsgs = base.doCommands()
TypeError: unpack non-sequence


Comment 4 Seth Vidal 2004-09-01 17:33:52 UTC
To Comment #3. Check-update is fixed in cvs.



Comment 5 Nicolas Mailhot 2004-09-02 04:43:05 UTC
BTW yum 2.1 just authorized a gal update that broke evolution, even
though apt correctly rejected it

Comment 6 Seth Vidal 2004-09-02 04:54:27 UTC
That's a different bug
file it there.



Comment 7 Nicolas Mailhot 2004-09-02 07:35:50 UTC
Ok, will do, I just thought you might already be aware of it

Comment 8 Seth Vidal 2004-09-02 18:16:54 UTC
This is fixed in a version of yum 2.1.2 that will hit rawhide very soon.



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