| Fedora This forum is for the discussion of the Fedora Project. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
08-24-2005, 04:25 AM
|
#1
|
|
LQ Newbie
Registered: Oct 2003
Distribution: Fedora
Posts: 25
Rep:
|
yum chec-update error
hi:
when i try to stat yum with : yum check-update i got this error ?
Code:
[root@linux-juggler juggler]# yum check-update
Setting up repositories
Traceback (most recent call last):
File "/usr/bin/yum", line 15, in ?
yummain.main(sys.argv[1:])
File "/usr/share/yum-cli/yummain.py", line 72, in main
result, resultmsgs = do()
File "/usr/share/yum-cli/cli.py", line 476, in doCommands
ypl = self.returnPkgLists()
File "/usr/share/yum-cli/cli.py", line 1083, in returnPkgLists
ypl = self.doPackageLists(pkgnarrow=pkgnarrow)
File "__init__.py", line 857, in doPackageLists
File "/usr/share/yum-cli/cli.py", line 72, in doRepoSetup
yum.YumBase.doRepoSetup(self, thisrepo=thisrepo)
File "__init__.py", line 208, in doRepoSetup
File "repos.py", line 516, in baseurlSetup
File "repos.py", line 768, in getMirrorList
File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 444, in urlopen
return default_grabber.urlopen(url, **kwargs)
File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 575, in urlopen
return self._retry(opts, retryfunc, url)
File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 547, in _retry
return apply(func, (opts,) + args, {})
File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 574, in retryfunc
return URLGrabberFileObject(url, filename=None, opts=opts)
File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 727, in __init__
self._do_open()
File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 794, in _do_open
fo, hdr = self._make_request(req, opener)
File "/usr/lib/python2.4/site-packages/urlgrabber/grabber.py", line 885, in _make_request
fo = opener.open(req)
File "/usr/lib/python2.4/urllib2.py", line 358, in open
response = self._open(req, data)
File "/usr/lib/python2.4/urllib2.py", line 376, in _open
'_open', req)
File "/usr/lib/python2.4/urllib2.py", line 337, in _call_chain
result = func(*args)
File "/usr/lib/python2.4/urllib2.py", line 573, in <lambda>
lambda r, proxy=url, type=type, meth=self.proxy_open: \
File "/usr/lib/python2.4/urllib2.py", line 580, in proxy_open
if '@' in host:
TypeError: iterable argument required
any idea?
by the way i have installed the yum-fedorafaq and used his yum.conf file and got the same error
|
|
|
|
08-24-2005, 06:28 AM
|
#2
|
|
Guru
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,209
Rep: 
|
I've just done the same with yum 2.3.2 in FC4 with 2.6.11-1.1369_FC4 kernel. No trouble.
There are some bugs in earlier versions of yum.
To diagnose this problem, you should tell us your version of fedora (put that in your profile), the version of yum (yum --version) and your kernel version (uname -r).
Googling your error message gets the impression that you are trying to use yum through a proxy? Is this correct?
|
|
|
|
08-24-2005, 07:43 AM
|
#3
|
|
LQ Newbie
Registered: Oct 2003
Distribution: Fedora
Posts: 25
Original Poster
Rep:
|
i have yum 2.3.2 in FC4 with 2.6.11-1.1369_FC4 kernel.
yes am using a proxy , and i try to change the yum.conf and add the proxy settings and didnt work ;-(
|
|
|
|
08-24-2005, 03:52 PM
|
#4
|
|
LQ Newbie
Registered: Aug 2005
Location: Michigan
Posts: 2
Rep:
|
I am having the same problem!!
FC4 kernel 2.6.11-1.1369 / YUM 2.3.2 / PYTHON 2.4.1 in a minimal server configuration behind a corporate firewall.
[root@overseer etc]# yum check-update
Repository updates-released already added, not adding again
Repository base already added, not adding again
Traceback (most recent call last):
File "/usr/bin/yum", line 27, in ?
yummain.main(sys.argv[1:])
File "/usr/share/yum-cli/yummain.py", line 75, in main
base.getOptionsConfig(args)
File "/usr/share/yum-cli/cli.py", line 207, in getOptionsConfig
self.plugins.setCmdLine(opts, self.cmds)
AttributeError: DummyYumPlugins instance has no attribute 'setCmdLine'
I have reinstalled FC4 (possible conflict?), edited yum.conf with verified baseurls and mirrors, along with fedora repos.
Any ideas will be greatly appreciated!
|
|
|
|
08-24-2005, 10:23 PM
|
#5
|
|
Guru
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,209
Rep: 
|
This is a very common problem - it is due to the proxy configuration not being set up properly for yum. You can set the proxy in yum.conf or globally ... see below. Otherwise, google for yum proxy and read the many many pages ...
Quote:
beatlelane in LQ
$set "http://myproxy.mydomain:8080/"
$export proxy_http="http://myproxy.mydomain:8080/"
|
Then there is this:
http://www.fedoraforum.org/forum/sho...=&threadid=742
I can't really get very specific without sitting in front of your machine... so I'm concentrating on helping you help yourselves if you see what I mean. Have fun 
Last edited by Simon Bridge; 08-24-2005 at 10:36 PM.
|
|
|
|
08-25-2005, 06:49 AM
|
#6
|
|
LQ Newbie
Registered: Oct 2003
Distribution: Fedora
Posts: 25
Original Poster
Rep:
|
thank yuo now its work fine ...
|
|
|
|
08-25-2005, 12:36 PM
|
#7
|
|
LQ Newbie
Registered: Aug 2005
Location: Michigan
Posts: 2
Rep:
|
I am not using a proxy, could there be another reason.
There is an argument not being passed. I have googled the error to no assistance.
I have now got the CORRECT DNS addresses, so I can now get name resolution.
Still cannot run YUM or up2date ( which is not recommended )
Thanks in advance.
|
|
|
|
08-25-2005, 07:45 PM
|
#8
|
|
Guru
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,209
Rep: 
|
linux juggler: Great. That one took a bit of effort - please send affero  (click "thanks" and follow your nose.)
sanchez348: You don't seem to have the same problem (except in the superficial sence that yum gives errors.) My apologies for not reading the whole text of your post.
Obvious things - try it without the firewall.
However:
This sort of thing sometimes happens when you change python version without also updating YUM - however, you have the same YUM/Python that I have... so it should work.
Is this the default server install? It sounds like you've been having trouble with server internet connections anyway...
The YUM list can be found from:
https://lists.linux.duke.edu/mailman/listinfo/yum
To debug this, you need to find the earliest error - the one that started it all off. It may be as simple as a missing package you wouldn't suspect.
|
|
|
|
09-04-2005, 01:03 PM
|
#9
|
|
LQ Newbie
Registered: Apr 2005
Location: Bucharest
Distribution: debian lenny, RHEL AS3, gentoo 1.12
Posts: 5
Rep:
|
hello
well, I also have a http proxy connection
when trying to use yum, i get the following error message:
[root@localhost yum.repos.d]# yum update
Setting up Update Process
Setting up repositories
http://ftp.belnet.be/packages/dries....ta/repomd.xml: [Errno 4] IOError: <urlopen error (101, 'Network is unreachable')>
Trying other mirror.
Cannot open/read repomd.xml file for repository: dries
failure: repodata/repomd.xml from dries: [Errno 256] No more mirrors to try.
if I use closer baseurls or mirrorlist, I don't get the [Errno 4], but the [Errno 256] is always present
what can I do?
thank you very much
|
|
|
|
09-06-2005, 12:20 AM
|
#10
|
|
Guru
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,209
Rep: 
|
This sort of thing can happen when the servers are being updated ... try again.
ref: http://forums.fedoraforum.org/archiv...p/t-48250.html
Interesting - cannot find anything from SuSE ... looking into it...
It seems SuSE likes apt better, but you can get yum repos if you put /yum on the end of the url for the apt repostitory (9.1-9.3). None of the url's in your post have this, could it be that you are pointing yum to apt repositories?
http://rubberturnip.org.uk/index.cgi/2005/08/06/
Whatever - I'd use apt for SuSE - it's more polished.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 03:34 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|