LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 09-19-2006, 04:28 AM   #1
KingE
LQ Newbie
 
Registered: Sep 2006
Location: Johannesburg, South Africa
Distribution: Ubuntu
Posts: 1

Rep: Reputation: 0
Unhappy apt-get/synapic access through proxy


Hi,

I am trying to get the synaptic package manager and apt-get to work through our squid proxy.
With no authentication required by the proxy server it worked fine. However our sysadmins then went and configered squid to make sure users authenticate themselves. The squid proxy server points to a windows Active Directory domain for authentication.

I have read some of the other threads which suggest updating apt.conf with
Acquire::http::Proxy "http: //userwd@proxyort"; Acquire::ftp::Proxy "ftp: //userwd@proxyort";

This still did not work for me because the "user" part of the URL has to become "Domain/userid" to be authenticated. for example if my Domain = ZA and userid = mwe the in apt.conf I have
"http: //ZA/mweassword@proxy.pta.za.go2uti.com:3128" .
Apt cannot seem to handle the '/' in the URL, and I get the following errors

Failed to fetch http: //za.archive.ubuntu.com/ubuntu/dists/dapper-updates/main/source/Sources.gz Could not resolve ''ZA'
Failed to fetch http: //za.archive.ubuntu.com/ubuntu/dists/dapper-updates/restricted/source/Sources.gz Could not resolve ''ZA'

I have tried single quoting('ZA/mwe') the user part of the URL, but still no luck.

So Im hoping that someone has encounted a problem like this and can give me a few constructive suggestions or a fix to resolve?
 
  


Reply

Tags
proxy, synaptic, ubuntu



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
How to set up proxy in Apt-Get's apt.conf? rykel Fedora 9 10-09-2013 03:24 AM
how to apt-get using an existing proxy? mwettach Debian 1 12-21-2004 09:29 AM
apt-proxy and cron-apt - download once for the whole LAN Abject Debian 1 06-20-2004 01:53 PM
APT behind a proxy geniarse Debian 4 04-14-2004 09:26 PM
proxy settings for apt? h/w Linux - Software 0 09-26-2003 09:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 04:29 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration