Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 419401 - Yum not working
Yum not working
Product: Fedora
Classification: Fedora
Component: python-iniparse (Show other bugs)
i386 Linux
low Severity high
: ---
: ---
Assigned To: Tim Lauridsen
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2007-12-11 04:29 EST by Antonio Blanco Morales
Modified: 2014-01-21 18:01 EST (History)
4 users (show)

See Also:
Fixed In Version: 0.2.2-2
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-12-12 04:41:57 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
report generate with software installation tool (1.42 KB, text/plain)
2007-12-11 04:29 EST, Antonio Blanco Morales
no flags Details

  None (edit)
Description Antonio Blanco Morales 2007-12-11 04:29:38 EST
Description of problem:
yum not working

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

How reproducible:

enter yum as root
Steps to Reproduce:
1.login as root
2.enter yum
Actual results:
Traceback (most recent call last):
  File "/usr/bin/yum", line 29, in <module>
  File "/usr/share/yum-cli/yummain.py", line 85, in main
  File "/usr/share/yum-cli/cli.py", line 163, in getOptionsConfig
  File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 167, in _getConfig
  File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 232, in
  File "/usr/lib/python2.5/site-packages/iniparse/compat.py", line 106, in readfp
  File "/usr/lib/python2.5/site-packages/iniparse/ini.py", line 563, in readfp
    if line and line[-1]=='\n':
UnboundLocalError: local variable 'line' referenced before assignment

Expected results:

Additional info:
Comment 1 Antonio Blanco Morales 2007-12-11 04:29:38 EST
Created attachment 283891 [details]
report generate with software installation tool
Comment 2 Tim Lauridsen 2007-12-11 07:39:37 EST
This is an issue with python-iniparse with empty *.repo files in
/etc/yum.repos.d, it is fixed in current release (python-iniparse-0.2.2-2).
Please update or remove the empty .repo file.

Comment 3 Antonio Blanco Morales 2007-12-12 04:14:43 EST
Thank you very much. Solved.(In reply to comment #2)

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