Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Ubuntu This forum is for the discussion of Ubuntu Linux.


  Search this Thread
Old 09-19-2006, 04:28 AM   #1
LQ Newbie
Registered: Sep 2006
Location: Johannesburg, South Africa
Distribution: Ubuntu
Posts: 1

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


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/" .
Apt cannot seem to handle the '/' in the URL, and I get the following errors

Failed to fetch http: // Could not resolve ''ZA'
Failed to fetch http: // 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?


proxy, synaptic, ubuntu

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
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 > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 12:57 PM.

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