[Yum] Still hopeless on getting proxy to work
mbylander at legionaries.org
mbylander at legionaries.org
Thu Feb 23 19:30:51 UTC 2006
Sean Dilda wrote:
> -----Original Message-----
> From: Sean Dilda [mailto:agrajag at dragaera.net]
> Sent: Thursday, February 23, 2006 7:06 PM
> To: Yellowdog Updater, Modified
> Subject: Re: [Yum] Still hopeless on getting proxy to work
>
>
> mbylander at legionaries.org wrote:
> >
> > For the record, here is my wrapper (yumwrap):
> >
> > #!/bin/sh
> > http_proxy=
> > HTTP_PROXY=
> > ftp_proxy=
> > FTP_PROXY=
> > yum $1 $2
> >
>
> This script does nothing. You didn't export the variables
> you set, so
> the original values are what is passed to yum, not the
> cleared values.
Yum had a relatively long pause before it gave me the same
old error messages as usual after modifying the script. But
after running it once, it returns to instantly giving me the
error messages. (Don't the variables stay set for the
duration of the script anyway, so that the calling of yum at
the end is affected by those variables? When I was trying to
use a local repository, it seemed to work that way -- I
needed to not use the proxy for that, and used the script as
it stands above to do so...)
Mark
More information about the Yum
mailing list