Bug 501851
Summary: | yum mirrorlist download failed | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | lavender0261 | ||||
Component: | yum | Assignee: | Seth Vidal <skvidal> | ||||
Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | urgent | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 10 | CC: | ffesti, flaks, james.antill, pmatilai, tim.lauridsen | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | i386 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2009-07-09 15:40:34 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
lavender0261
2009-05-21 02:49:49 UTC
What do you get when you go to that URL in firefox etc? Does "yum clean all" help? (In reply to comment #1) > What do you get when you go to that URL in firefox etc? > > Does "yum clean all" help? I tried to run "yum clean all" ,but the problem still happens. When I go to that URL,it shows: # repo = fedora-10 arch = i386 country = RU country = JP country = GE country = HK country = VN country = MY country = CY country = SG country = TW country = TR country = TH country = IN http://ftp.riken.jp/Linux/fedora/releases/10/Everything/i386/os/ http://mirror.in.th/osarchive/fedora/releases/10/Everything/i386/os/ http://free.nchc.org.tw/fedora/linux/releases/10/Everything/i386/os/ http://ftp.jaist.ac.jp/pub/Linux/Fedora/releases/10/Everything/i386/os/ ftp://ftp.chu.edu.tw/linux/Fedora/linux/releases/10/Everything/i386/os/ http://mirror.yandex.ru/fedora/linux/releases/10/Everything/i386/os/ http://ftp.isu.edu.tw/pub/Linux/Fedora/linux/releases/10/Everything/i386/os/ http://ftp.linux.org.tr/fedora/releases/10/Everything/i386/os/ http://ftp.yz.yamagata-u.ac.jp/pub/linux/fedora/linux/releases/10/Everything/i386/os/ http://ftp.cse.yzu.edu.tw/pub/Linux/Fedora/releases/10/Everything/i386/os/ http://mirror1.ku.ac.th/fedora/releases/10/Everything/i386/os/ http://mirror.nus.edu.sg/fedora/releases/10/Everything/i386/os/ http://ftp.nchu.edu.tw/Linux/fedora/releases/10/Everything/i386/os/ ftp://ftp.sfc.wide.ad.jp/pub/Linux/Fedora/releases/10/Everything/i386/os/ http://opensource.nchc.org.tw/fedora/linux/releases/10/Everything/i386/os/ http://ftp.rhd.ru/pub/fedora/linux/releases/10/Everything/i386/os/ http://ftp.kddilabs.jp/Linux/packages/fedora/releases/10/Everything/i386/os/ http://ftp.twaren.net/Linux/Fedora/linux/releases/10/Everything/i386/os/ http://fedora.mirrors.firstnetcom.com/fedora/releases/10/Everything/i386/os/ http://ftp.chg.ru/pub/Linux/fedora/linux/releases/10/Everything/i386/os/ http://mirrors.cytanet.com.cy/linux/fedora/linux/releases/10/Everything/i386/os/ http://ftp.itu.edu.tr/Mirror/Fedora/linux/releases/10/Everything/i386/os/ http://ftp.mirror.tw/pub/fedora/linux/releases/10/Everything/i386/os/ http://ftp.cs.pu.edu.tw/Linux/Fedora/releases/10/Everything/i386/os/ ftp://ftp.cs.hacettepe.edu.tr/pub/mirrors/fedora/linux/releases/10/Everything/i386/os/ Do you have a proxy of some kind set up in firefox that's not setup for the rest of the apps? (In reply to comment #3) > Do you have a proxy of some kind set up in firefox that's not setup for the > rest of the apps? I use opera, not firefox which can't resolv domain. And I didn't have any proxy set up in firefox or opera. can you run this command: urlgrabber $thaturl where you replace $thaturl with the url in question and post the output? thanks [root@localhost rpm-gpg]# urlgrabber http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-10&arch=i386 [1] 4094 [root@localhost rpm-gpg]# Traceback (most recent call last): File "/usr/bin/urlgrabber", line 124, in <module> main() File "/usr/bin/urlgrabber", line 120, in main filename = urlgrab(url,filename=file,**kwargs) File "/usr/lib/python2.5/site-packages/urlgrabber/grabber.py", line 603, in urlgrab return default_grabber.urlgrab(url, filename, **kwargs) File "/usr/lib/python2.5/site-packages/urlgrabber/grabber.py", line 933, in urlgrab return self._retry(opts, retryfunc, url, filename) File "/usr/lib/python2.5/site-packages/urlgrabber/grabber.py", line 851, in _retry r = apply(func, (opts,) + args, {}) File "/usr/lib/python2.5/site-packages/urlgrabber/grabber.py", line 919, in retryfunc fo = URLGrabberFileObject(url, filename, opts) File "/usr/lib/python2.5/site-packages/urlgrabber/grabber.py", line 1007, in __init__ self._do_open() File "/usr/lib/python2.5/site-packages/urlgrabber/grabber.py", line 1086, in _do_open fo, hdr = self._make_request(req, opener) File "/usr/lib/python2.5/site-packages/urlgrabber/grabber.py", line 1215, in _make_request raise URLGrabError(4, _('IOError: %s') % (e, )) urlgrabber.grabber.URLGrabError: [Errno 4] IOError: <urlopen error (-2, 'Name or service not known')> [1]+ Exit 1 urlgrabber http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-10 if you run: host mirrors.fedoraproject.org what do you get back? Similar problem here on a newly installed Fedora 11. I have no problems on Fedora 10 on the same network. I have proxy set both in yum and firefox. Output of 'yum update' : Error: Cannot retrieve metalink for repository: fedora. Please verify its path and try again If I put this url into firefox - seems to work - it offers me to open metalink download and asks what to do - open with KGet or save file. If I put any real mirror, everything works. Once I fix fedora repo, it starts to complain about fedora-updates in a similar way. If I run 'host mirrors.fedoraproject.org', I get : [root@system1# host mirrors.fedoraproject.org mirrors.fedoraproject.org is an alias for wildcard.fedoraproject.org. wildcard.fedoraproject.org has address 209.132.176.120 wildcard.fedoraproject.org has address 66.35.62.166 wildcard.fedoraproject.org has address 80.239.156.215 wildcard.fedoraproject.org has address 152.46.7.222 I also tried to run urlgrabber command: urlgrabber http://mirrors.fedoraproject.org/metalink?repo=fedora-11&arch=i386 I see the following: [2] 620 metalink | 53 B 00:00 file written to metalink and I don't get the prompt back. Hitting ENTER, gives me the line: [2]- Done urlgrabber rs.fedoraproject.org/metalink?repo=fedora-11 and the prompt. the file 'metalink' is created with the this: # either path=, or repo= and arch= must be specified Thanks, Leon run this command urlgrabber 'http://mirrors.fedoraproject.org/metalink?repo=fedora-11&arch=i386' the quotes matter. (In reply to comment #9) > run this command > > urlgrabber 'http://mirrors.fedoraproject.org/metalink?repo=fedora-11&arch=i386' > > > the quotes matter. Here it is: # urlgrabber 'http://mirrors.fedoraproject.org/metalink?repo=fedora-11&arch=i386' metalink | 16 kB 00:00 file written to metalink And I've got the prompt back. The file 'metalink' is written to the directory that I ran the command from. Looks good to me. what's in the file? Created attachment 351078 [details]
file 'metalink' created by urlgrabber command
okay - everything looks good. Are you still seeing the same problem? Unfortunately, yes. If I uncomment mirrorlist line in fedora.repo, I have this: yum update Loaded plugins: fastestmirror, refresh-packagekit Loading mirror speeds from cached hostfile Error: Cannot retrieve metalink for repository: fedora. Please verify its path and try again I just noticed something. You asked met to do urlgrabber with http://..., but my fedora.repo file has https://... If I change https to http everything works as expected. If I try to do urlgrabber with https, it fails with 'connection refused' error. I see the same https in fedora-updates.repo Fedora 10 has http (not https) Hope that helps, Leon *** This bug has been marked as a duplicate of bug 484491 *** |