LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   apt-get update error - Behind ISA (https://www.linuxquestions.org/questions/ubuntu-63/apt-get-update-error-behind-isa-407727/)

issey 01-25-2006 04:29 AM

apt-get update error - Behind ISA
 
hey guys,

i've been trying to apt-get update my system for quite some time, been following exactly the instructions on the site, http://www.psychocats.net/linux/sources.php.

ive config the network interface, can ping to other windoz machines on the network, i can browser the internet too, but cant apt-get update....... why? my internet connection is avalable through an ISA server, is it because of that? how come i can surf the sites...but cant apt-get..?, i hooked the machine to a direct line and apt-get works perfectly...

so if someone has an insight to this, pleas help me out

thanks.. :(

BinJajer 01-25-2006 04:48 AM

What about aptidtude? Oh, forget... it must be smoething else...

nx5000 01-25-2006 04:50 AM

http://toastytech.com/evil/msproxy.html

Have a look there, authentication proxy server (APS)

I works with the NTLM of MSproxy2 but haven't check for ISA, though it might be the same.
Configure a proxy to listen on 127.0.0.1:8080 that will redirect everything to ISA_IP:80 using your credentials.
Then set system-wide environment variable http_proxy to use proxy 127.0.0.1:8080

Code:

export http_proxy=http://127.0.0.1:8080
Should work.

Removing ISA and using a standard Proxy Authentication Method will also do the trick

edit:
if you can browse with something else than IE then ignore APS, it is not your problem.

issey 01-25-2006 05:21 AM

ohhhh thank u nx5000,

it worked, thank u, thank u, thanku....

cud u explain me the process of wot had happend more detaiily, cause im a newbie, why didnt it normaly workend why did i have to export http_proxy=http://192.168.1.5:8080...

anyway thanks man, u ROCKL

nx5000 01-25-2006 05:30 AM

mmmhh http_proxy is a standard way for some programs that tell them: you have to pass by a proxy.
apt-get looks at this variable and then sees that it has to pass by a proxy, otherwise it hits your router which denies direct access to internet.

issey 01-25-2006 05:43 AM

well in this network ISA server is our main proxy server, so we just cant easily replace, like u said:
Quote:

if you can browse with something else than IE then ignore APS, it is not your problem.
, but i am the administrator of the network and am not firmiliar with ISA.. so is there a way of checking with ISA...

anyway thanks fur ur help, nx5000

nx5000 01-25-2006 05:52 AM

The problem with microsoft proxys is that by default (and I don't know if this can be changed), it uses NTLM http authentication, while standards are Basic or Digest (TLS maybe dunno).

If you want to cross NTLM proxy with apt-get, then use APS.

Code:

apt-get with no NTLM ==> |APS| ==> with NTLM ==> ISA server
IE ==> with NTLM ==> ISA server


issey 01-25-2006 06:02 AM

do i have to replace the ISA server with the ISA server IP address..
like:
apt-get with no NTLM ==> |APS| ==> with NTLM ==> 192.168.1.5 ==> with NTLM ==> 192.168.1.5


All times are GMT -5. The time now is 01:13 PM.