PDA

View Full Version : problem with yum !



AHMED_AM
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 ?
main()
File "/usr/sbin/pup", line 378, in main
pup.run()
File "/usr/sbin/pup", line 353, in run
self.doRefresh()
File "/usr/sbin/pup", line 161, in doRefresh
self.reposSetup(pbar)
File "/usr/lib/python2.4/site-packages/pirut/__init__.py", line 151, in reposSetup
self.doSackSetup()
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 291, in doSackSetup
self.repos.populateSack(which=repos)
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 :)

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

AHMED_AM
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

imdeemvp
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