[Wylug-help] Fedora, Yum, Pup etc.

David Whiteley D.L.Whiteley at ee.leeds.ac.uk
Thu Jul 13 12:00:04 BST 2006


On Thu, 2006-07-13 at 11:49 +0100, Jason Lander wrote:
> Dave,
> 
> > I have a system, and have it set up with Fedora.  It is behind a
> > firewall, and YUM is working, and accessing packages in the local and
> > remote repositories.  To achieve this I had to add a proxies.sh file
> > to /etc/profile.d, in order to create the http_proxy, HTTP_PROXY,
> > ftp_proxy etc. envars.
> 
> Speculation... I'm still using Debian.
> 
> These proxies will only be set if the process you are starting is launched 
> via a shell that pull in everything from profile.d. The Bash manual says 
> this only applies to a login shell.
> 
> The shell that starts the window manager may not behave like a login 
> shell. This means that programs launched from a menu may not inherit the 
> environment.
> 

Ta Jason, but I am starting yum from a login shell command line, so it
"should" inherit. (I think.)

> > As I am used to Debian, and the joys of aptitude, and
> > "http://www.debian.org/distrib/packages" I am rather lost with the raw
> > yum.  I am investigating some of the pretty package managers.
> 
> > Clues please?
> 
> Not much of a clue, but...
> 
> As far as I can tell, you can also set a proxy via yum.conf, rather than 
> relying on the environment to pass on the relevant information.
> 
> This is probably true for the other pacakage managers too.
> 

I will investigate.

> - Jason
> 
> 

Dave


-- 
Dave Whiteley
The School of Electronic and Electrical Engineering
The University of Leeds
Leeds
d.l.whiteley at ee.leeds.ac.uk
0113 343 2059




More information about the Wylug-help mailing list