View Full Version : problem with yum !

25th March 2006, 08:14 PM
on fc5 by using package updater this exception occured
Component: Software Updater
Summary: TBa02cbfcc repos.py:629:get:RepoError: failure: repodata/primary.xml.gz from extras: [Errno 256] No more mirrors to try.

Traceback (most recent call last):
File "/usr/sbin/pup", line 382, in ?
File "/usr/sbin/pup", line 378, in main
File "/usr/sbin/pup", line 353, in run
File "/usr/sbin/pup", line 161, in doRefresh
File "/usr/lib/python2.4/site-packages/pirut/__init__.py", line 151, in reposSetup
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 291, in doSackSetup
File "/usr/lib/python2.4/site-packages/yum/repos.py", line 287, in populateSack
xml = repo.getPrimaryXML()
File "/usr/lib/python2.4/site-packages/yum/repos.py", line 796, in getPrimaryXML
return self._retrieveMD('primary')
File "/usr/lib/python2.4/site-packages/yum/repos.py", line 783, in _retrieveMD
cache=self.http_caching == 'all')
File "/usr/lib/python2.4/site-packages/yum/repos.py", line 629, in get
raise Errors.RepoError, "failure: %s from %s: %s" % (relative, self.id, e)
RepoError: failure: repodata/primary.xml.gz from extras: [Errno 256] No more mirrors to try.

Local variables in innermost frame:
e: [Errno 256] No more mirrors to try.
prxy: None
url: None
text: None
self: extras
cache: True
reget: None
relative: repodata/primary.xml.gz
headers: None
checkfunc: (<bound method Repository._checkMD of <yum.repos.Repository instance at 0xb797ff8c>>, ('primary',), {})
copy_local: 1
end: None
local: //var/cache/yum/extras/primary.xml.gz
start: None

also when trying yum another error occured

[root@MSHOME ~]# yum update
Loading "installonlyn" plugin
Setting up Update Process
Setting up repositories
updates [1/3]
core [2/3]
extras [3/3]
Reading repository metadata in from local files
http://download.fedora.redhat.com/pub/fedora/linux/extras/5/i386/repodata/primary.xml.gz: [Errno 14] HTTP Error 500: Via: 1.1 BAYACSH-MANS
Connection: close
Proxy-Connection: close
Pragma: no-cache
Cache-Control: no-cache
Content-Type: text/html
Content-Length: 1960
Trying other mirror.
Error: failure: repodata/primary.xml.gz from extras: [Errno 256] No more mirrors to try.
[root@MSHOME ~]#

so wt is the solution ?
i am new in linux world plz help :)

25th March 2006, 08:27 PM
Are you connected to the net while trying?

26th March 2006, 09:23 AM
YES I am Using LAN And the connection was well
also by deleting the fedora Extea repo of yum the problem disapeared
knowing that it was my first run of yum .

the yum and Software Updater work well now but without the important fedora extras :(

i hope to find the solution soon

Thank's For help tejas

26th March 2006, 09:31 AM
Install fresrpms repo and see how it goes:
rpm -ivh http://ftp.freshrpms.net/pub/freshrpms/fedora/linux/5/freshrpms-release/freshrpms-release-1.1-1.fc.noarch.rpm