Jump to content
Sign in to follow this  
xDamox

Fedora update

Recommended Posts

Hi,

 

I have been trying to get up2date working with the proxy that the university have provided

to no luck has it worked it just starts to search then says my machine is up2date even tho

I know its not.

 

I have tryed setting the enviroment varibles to the proxy this helps elinks to work

but when I try yum it just crys.

 

Setting up Update Process
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 419, in doCommands
   return self.updatePkgs()
 File "/usr/share/yum-cli/cli.py", line 877, in updatePkgs
   self.doRepoSetup()
 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

 

is there any other methods to try

Share this post


Link to post
Share on other sites

first one that grabs me is an ssh tunnel?

 

god i can hear my network admin crying.... he'll hate me for telling you!

 

due to the fact of the security issues when a SSL based transfer is made the proxy simple opens the connect and doesn't tamper with it (correctly). Needless to say this is a huge hole in the proxy, so all you do it tunnel through.. :P

 

currently or net admin is out smarting the users though, basically by forcing the issue with which port the SSL transfers can be made to, this stops bt/mule etc type connections.

 

anyway.. im sure other ways exist, but ;)

  • Like 1

Share this post


Link to post
Share on other sites

Hi znx,

 

Thanks for the reply :) I aint been on for abit due to my network connection

at university. How could you tunnel with SSH andyum? could you give me

and example please.

Share this post


Link to post
Share on other sites

OOOooops ;)

 

SSL tunnel .. hehehe

 

my suggestion is to simply specify the SSL port.. and connect via that.. so all your http connections should be https

 

therefore any proxy requests should be made to https .. not http.. this way you should get through ...

 

sorry for the confusion ;)

Share this post


Link to post
Share on other sites

do you want to update your fedora ???

in that case open a konsole and type

 

su -c 'yum install update'

and it will update all the packages !!

Share this post


Link to post
Share on other sites
Hi,

 

I have been trying to get up2date working with the proxy that the university have provided

How have you set the proxy, and on what user account?

 

try: echo $HTTP_PROXY and paste the output here.

Share this post


Link to post
Share on other sites
Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...