yumex won't start

Tim Lauridsen tla at rasmil.dk
Thu Mar 8 10:33:02 UTC 2007


Doctor Who wrote:
> I'm getting the following error when trying to start yumex today:
>
> [root at localhost yum]# yumex
> 15:48:38 : Yum Config Setup
> Loading "installonlyn" plugin
> 15:48:38 : Repository 'atrpms' is missing name in configuration, using id
> 15:48:41 : Error Type: <class 'yum.Errors.RepoError'>
> 15:48:41 : Error Value: Cannot open/read repomd.xml file for 
> repository: atrpms
> 15:48:41 : Traceback:
>
> 15:48:41 :   File : /usr/share/yumex/yumex.py , line 777, in <module>
> 15:48:41 :     mainApp = YumexApplication()
> 15:48:41 :   File : /usr/share/yumex/yumex.py , line 420, in __init__
> 15:48:41 :     self.yumbase =
> YumexYumHandler(self.getRecentTime(),self.settings,self.progress,self.ui.main,self.yumexOptions._optparser) 
>
> 15:48:41 :   File : /usr/share/yumex/yumapi.py , line 55, in __init__
> 15:48:41 :     self.repos.callback = 
> YumexCacheProgressCallback(self.progress)
> 15:48:41 :   File : /usr/lib/python2.5/site-packages/yum/__init__.py ,
> line 485, in <lambda>
> 15:48:41 :     repos = property(fget=lambda self: self._getRepos(),
> 15:48:41 :   File : /usr/lib/python2.5/site-packages/yum/__init__.py ,
> line 336, in _getRepos
> 15:48:41 :     repo.setup(self.conf.cache, self.mediagrabber)
> 15:48:41 :   File : /usr/lib/python2.5/site-packages/yum/yumRepo.py ,
> line 592, in setup
> 15:48:41 :     raise Errors.RepoError, ('Cannot open/read repomd.xml
> file for repository: %s' % self)
> Traceback (most recent call last):
>  File "/usr/share/yumex/yumex.py", line 805, in <module>
>    system.exit(1)
> NameError: name 'system' is not defined
>
>
>
> Packages used are:
>
> [root at localhost yum]# rpm -qa | grep yum
> yum-metadata-parser-1.0.3-2.fc7
> yum-3.1.3-2.fc7
> yumex-1.9.3-1.0.fc7
> yum-updatesd-3.1.3-2.fc7
>
> Any help appreciated.
>
There are two problems.

1. there is at problem in you 'atrpms' repo file causing and error 
(check /etc/yum.repos.d/atrpms*.repo)
2. A missing import in yumex causing a traceback instead of exiting 
nicely, it is fixed in yumex SVN.

Tim




More information about the fedora-test-list mailing list