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

Jason Lander jason at env.leeds.ac.uk
Thu Jul 13 11:50:27 BST 2006


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.

> 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.

- Jason





More information about the Wylug-help mailing list