Bug 491772 - Yum exited with a traceback when a lock was freed
Summary: Yum exited with a traceback when a lock was freed
Keywords:
Status: CLOSED DUPLICATE of bug 491482
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Seth Vidal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-03-23 22:46 UTC by Bruno Wolff III
Modified: 2014-01-21 23:08 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-03-24 03:15:17 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Bruno Wolff III 2009-03-23 22:46:06 UTC
Description of problem:
I started a second copy of yum to do some local updates and when the first copy finished the second exited with a traceback instead of doing the work. I do this fairly often and never saw it do this before.

Version-Release number of selected component (if applicable):
yum-3.2.21-16.fc11.noarch

How reproducible:
Unknown, but probably less than 100%

Steps to Reproduce:
1.
2.
3.
  
Actual results:
[root@bruno bruno]# yum update -y --nogpgcheck kern*279*
/usr/lib/yum-plugins/merge-conf.py:22: DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import os, sys, md5
Loaded plugins: allowdowngrade, dellsysidplugin, dellsysidplugin2, keys, list-
              : data, merge-conf, priorities, protect-packages, protectbase,
              : refresh-packagekit, upgrade-helper, verify, versionlock
Existing lock /var/run/yum.pid: another copy is running as pid 28168.
Another app is currently holding the yum lock; waiting for it to exit...
Traceback (most recent call last):
  File "/usr/bin/yum", line 29, in <module>
    yummain.user_main(sys.argv[1:], exit_code=True)
  File "/usr/share/yum-cli/yummain.py", line 306, in user_main
    errcode = main(args)
  File "/usr/share/yum-cli/yummain.py", line 170, in main
    show_lock_owner(e.pid)
  File "/usr/share/yum-cli/yummain.py", line 104, in show_lock_owner
    if data[1].endswith(' kB'):
IndexError: list index out of range


Expected results:


Additional info:

Comment 1 James Antill 2009-03-24 03:15:17 UTC

*** This bug has been marked as a duplicate of bug 491482 ***


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