LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Error in accessing add/remove software and YUM (http://www.linuxquestions.org/questions/linux-software-2/error-in-accessing-add-remove-software-and-yum-629403/)

rohit83.ken 03-20-2008 04:47 AM

Error in accessing add/remove software and YUM
 
hello frnds I cant access my add/remove software , when i access it ,it shows the following error and it also tells to report the bug to this link

https://bugzilla.redhat.com/bugzilla

This error message is shown in a new window
Error message:
Component: Software Manager

Summary: TBaa62cbac yumRepo.py:770:_getRepoXML:RepoError: Cannot retrieve repository metadata (repomd.xml) for repository: freshrpms. Please verify its path and try again

Traceback (most recent call last):
File "/usr/sbin/pirut", line 428, in <module>
main()
File "/usr/sbin/pirut", line 421, in main
pm = PackageManager(options.config, options.onlyrepo)
File "/usr/sbin/pirut", line 61, in __init__
GraphicalYumBase.__init__(self, False, config)
File "/usr/lib/python2.5/site-packages/pirut/__init__.py", line 123, in __init__
self.reset()
File "/usr/lib/python2.5/site-packages/pirut/__init__.py", line 222, in reset
self.doTsSetup()
File "/usr/lib/python2.5/site-packages/yum/depsolve.py", line 72, in doTsSetup
return self._getTs()
File "/usr/lib/python2.5/site-packages/yum/depsolve.py", line 85, in _getTs
self._getTsInfo()
File "/usr/lib/python2.5/site-packages/yum/depsolve.py", line 91, in _getTsInfo
self._tsInfo.setDatabases(self.rpmdb, self.pkgSack)
File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 529, in <lambda>
pkgSack = property(fget=lambda self: self._getSacks(),
File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 384, in _getSacks
self.repos.populateSack(which=repos)
File "/usr/lib/python2.5/site-packages/yum/repos.py", line 242, in populateSack
sack.populate(repo, mdtype, callback, cacheonly)
File "/usr/lib/python2.5/site-packages/yum/yumRepo.py", line 142, in populate
if self._check_db_version(repo, mydbtype):
File "/usr/lib/python2.5/site-packages/yum/yumRepo.py", line 199, in _check_db_version
if repo.repoXML.repoData.has_key(mdtype):
File "/usr/lib/python2.5/site-packages/yum/yumRepo.py", line 774, in <lambda>
repoXML = property(fget=lambda self: self._getRepoXML(),
File "/usr/lib/python2.5/site-packages/yum/yumRepo.py", line 770, in _getRepoXML
raise Errors.RepoError, msg
RepoError: Cannot retrieve repository metadata (repomd.xml) for repository: freshrpms. Please verify its path and try again

Local variables in innermost frame:
msg: Cannot retrieve repository metadata (repomd.xml) for repository: freshrpms. Please verify its path and try again
self: freshrpms
e: Cannot find a valid baseurl for repo: freshrpms

2) Even I was unable to use YUM , it gives following error

[root@kwi-11156f06184 ~]# yum install tftp-server
Loading "priorities" plugin
Could not retrieve mirrorlist http://ayo.freshrpms.net/fedora/linu...rors-freshrpms error was
[Errno 4] IOError: <urlopen error (110, 'Connection timed out')>
Error: Cannot retrieve repository metadata (repomd.xml) for repository: freshrpms. Please verify its path and try again
[root@kwi-11156f06184 ~]#

so please suggest me regarding this so i could repair my add/remove software
prethanks to helper

indienick 03-20-2008 08:40 AM

It's been a while for me, since I've used Fedora, but I think it's in /etc/yum, there's a conf file where the freshrpms repository was added. Try commenting it out and seeing if it all works then.


All times are GMT -5. The time now is 01:41 PM.