Red Hat Bugzilla – Bug 438198
pup - backtrace on repository disabling via Repository Manager
Last modified: 2013-03-07 21:04:04 EST
Description of problem:
started pup then I got msg that is not possible to get repomd.xml file (the
rerver is dead AFAIK), then I choose to edit config file via Repository
Manager, unchecked rhel-5-server and got backtrace
Summary: TBff145c36 yumRepo.py:348:disablePersistent:AttributeError: 'RhnRepo'
object has no attribute 'cfg'
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/pirut/RepoSelector.py", line 395, in
File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 348, in
self.cfg.set(self.id, 'enabled', '0')
AttributeError: 'RhnRepo' object has no attribute 'cfg'
Local variables in innermost frame:
Version-Release number of selected component (if applicable):
traceback && quit
see attached /etc/yum.conf
It's happening only on this one repo, others are possible to enable/disable.
Created attachment 298544 [details]
yum config file
Created attachment 298547 [details]
Our local server is dead this is "OK" from pup POV
Created attachment 298548 [details]
Unchecking the selected one backtraces immediately
Created attachment 298549 [details]
*** This bug has been marked as a duplicate of 435840 ***