LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 01-25-2006, 04:29 AM   #1
issey
Member
 
Registered: Mar 2005
Location: Maldives
Distribution: debian, freeBSD, openBSD, ubuntu, opensuse
Posts: 78

Rep: Reputation: 15
Angry 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..

Last edited by issey; 01-25-2006 at 04:31 AM.
 
Old 01-25-2006, 04:48 AM   #2
BinJajer
Member
 
Registered: Sep 2005
Location: Warsaw, Poland
Distribution: Slackware 10.2, Caldera OpenLinux 3.1, Corel Linux (Thanks xhi!), Debian GNU/HURD etc...
Posts: 296
Blog Entries: 1

Rep: Reputation: 30
What about aptidtude? Oh, forget... it must be smoething else...
 
Old 01-25-2006, 04:50 AM   #3
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 52
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.
 
Old 01-25-2006, 05:21 AM   #4
issey
Member
 
Registered: Mar 2005
Location: Maldives
Distribution: debian, freeBSD, openBSD, ubuntu, opensuse
Posts: 78

Original Poster
Rep: Reputation: 15
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
 
Old 01-25-2006, 05:30 AM   #5
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 52
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.

Last edited by nx5000; 01-25-2006 at 05:31 AM.
 
Old 01-25-2006, 05:43 AM   #6
issey
Member
 
Registered: Mar 2005
Location: Maldives
Distribution: debian, freeBSD, openBSD, ubuntu, opensuse
Posts: 78

Original Poster
Rep: Reputation: 15
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
 
Old 01-25-2006, 05:52 AM   #7
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 52
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
 
Old 01-25-2006, 06:02 AM   #8
issey
Member
 
Registered: Mar 2005
Location: Maldives
Distribution: debian, freeBSD, openBSD, ubuntu, opensuse
Posts: 78

Original Poster
Rep: Reputation: 15
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
what to do? gpg error on apt-get update darkleaf Debian 7 04-30-2006 04:24 AM
apt-get update error msg anti.corp Debian 2 01-07-2006 05:25 PM
apt-get update error on FC3 obliviux Linux - General 3 06-16-2005 08:58 PM
apt-get update error and gdesklets niteshadw Linux - Newbie 0 02-16-2005 02:52 PM
apt-get update error cedar Debian 9 09-04-2004 07:17 PM


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

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration