LinuxQuestions.org
Help answer threads with 0 replies.
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 07-13-2007, 09:14 AM   #1
deesto
Member
 
Registered: May 2002
Location: NY, USA
Distribution: FreeBSD, Fedora, RHEL, Ubuntu; OS X, Win; have used Slackware, Mandrake, SuSE, Xandros
Posts: 448

Rep: Reputation: 31
Question set autoconfig proxy for update/apt in 7.04


Having trouble getting Synaptic or apt to update anything in 7.04 Desktop. I have an automatic proxy configuration URL that I need to enter for the proxy. I have exported this URL as the http_proxy variable in my .bash_profile (created new file) and in /etc/profile. I can also enter it in the proper field in Firefox, and that connects to the internet just fine. But I tried to enter it into the network settings for Synaptic and Update Manager, and it doesn't work.

This isn't an odd port, or a user/password combination; the URL is in the format:
http://[hostname]/[filename.ext]

None of the suggested fixes I've found (create a /etc/apt/apt.conf file, edit the /etc/apt/apt.conf.d/70debconf file, etc.) seem to work. How do I get the update software to recognize a URL like this?

Last edited by deesto; 07-13-2007 at 09:15 AM.
 
Old 07-14-2007, 01:08 PM   #2
hob
Senior Member
 
Registered: Mar 2004
Location: Wales, UK
Distribution: Debian, Ubuntu
Posts: 1,075

Rep: Reputation: 45
I don't think that APT supports PAC files, so you should export the actual address of the proxy, rather than specifying the URL for the PAC.

This question looks like your situation:

https://answers.launchpad.net/ubuntu...+question/6955
 
  


Reply

Tags
proxy, ubuntu, update


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
can't set up apt to use proxy Confusedious Linux - Newbie 3 10-06-2005 12:05 PM
apt-get update errors since Debian released ( bad /etc/apt/sources.list ?) forgox Debian 10 06-13-2005 12:28 PM
apt-proxy and cron-apt - download once for the whole LAN Abject Debian 1 06-20-2004 01:53 PM
Does 'apt-get update' update the database used by 'apt-cache'? davidas Debian 5 04-20-2004 01:27 AM


All times are GMT -5. The time now is 06:57 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