On Fri, 2006-03-10 at 08:46 -0800, [EMAIL PROTECTED] wrote:
<snipped>
>
> im on a lan, already edited the ./~bashrc to specify my proxy server and
> port.
>
I think you should do something more "drastic" than that -- you need to
edit /etc/apt/apt.conf and do some magic there for proxy settings.
See, editing ~/.bashrc will only make the proxy settings affect the user
you are currently using. However, when you run something like apt-get
(as root), it doesn't guarantee that environment variables set up by the
normal user are carried over to the environment in which root is running
in.
If you do a 'sudo apt-get update' when there's a chance that the proxy
settings are honored -- but I have not confirmed this. Your best bet is
to edit /etc/apt.conf to reflect the following lines:
Acquire
{
http
{
Proxy "http://your.proxy.ip.here:portnum"
}
};
And replace "your.proxy.ip.here" with the appropriate IP
address/hostname and "portnum" with the appropriate port number. That
way, apt doesn't have to rely on the environment variables being set up
correctly to do its job properly.
HTH
--
Dean Michael C. Berris
Mobile +639287291459
URL http://mikhailberis.blogspot.com
YMID: mikhailberis
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph