![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.
Ubuntu 9.10 is out!!!
When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu. The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely. |
|
Installation & Upgrades For questions about upgrading and installation of your new Ubuntu OS. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
First Cup of Ubuntu
![]() Join Date: Apr 2005
Beans: 3
|
apt-get & Synaptic
I'm sitting behind a proxy. The emailing and web browsing is OK, but I can't update the system nor by Synaptic nor via terminal.
407 Proxy Authentication Required - the server and the port number is OK, but where and how can I give the username and password for it? The problem is, that my proxy username is the full email address with @? What is the syntax? THX, Halfdan absolutely newbie |
|
|
|
|
|
#2 |
|
Gee! These Aren't Roasted!
![]() Join Date: Apr 2005
Location: ON, TN, FL
Beans: 160
|
Re: apt-get & Synaptic
You will need to create an apt config file here:
/etc/apt/apt.conf ... and specify the proxy/user settings in that file. From man apt.conf: http HTTP URIs; http: in the standard form of http://[[user][ host proxies can also be specified by using the form http: use no proxies. The http_proxy environment variable will over‐ ride all settings. Specific apt.conf config examples can be found here: /usr/share/doc/apt/examples/configure-index.gz Google can also shed some light for you: http://www.google.com/search?hl=en&l...th&btnG=Search HTH Regards, SM |
|
|
|
|
|
#3 |
|
First Cup of Ubuntu
![]() Join Date: Feb 2005
Beans: 10
|
Re: apt-get & Synaptic
My proxy is for http only, following:
A parent's guide to Linux Web filtering, by Joe Bolin http://desktops.linux.com/desktops/0...&tid=99&tid=13 I couldn't get apt--get to get through the proxy using various tools including apt-setup, export http_proxy, and editing /etc/apt/apt.conf.d/70debconf. So...I'm experimenting with upgrading from Warty to Hoary by replacing the http with ftp in my /etc/apt/sources.list repository. It's Get-ting pkg 390 at the moment, with about 30 minutes to go. Is there any problem with that ftp replacement trick? I copied the below sources.list from somewhere. I noticed that deb ftp://jrfonseca.dyndns.org/debian/ ./ doesn't accept ftp--updating my java via ftp is a project for another day. Thanks, Pete petjal@ubuntu:~ $ cat /etc/apt/sources.list ## The following lines pertain to supported packages: deb ftp://archive.ubuntu.com/ubuntu/ hoary main restricted deb-src ftp://archive.ubuntu.com/ubuntu/ hoary main restricted ## The following lines pertain to security updates: deb ftp://security.ubuntu.com/ubuntu/ hoary-security main restricted deb-src ftp://security.ubuntu.com/ubuntu/ hoary-security main restricted ## Uncomment after release to continue getting updates: deb ftp://archive.ubuntu.com/ubuntu/ hoary-updates main restricted ## IMPORTANT: ## Software from the following repositories are ENTIRELY UNSUPPORTED by ## the Ubuntu team, and may not be under a free licence. This means that ## software in these repositories WILL NOT receive any review or updates ## from the Ubuntu security team either. These packages are provided as a ## service to our users and nothing more. ## Uncomment the following two lines to add software from the 'universe' and ## 'multiverse' repositories: deb ftp://archive.ubuntu.com/ubuntu/ hoary universe multiverse deb-src ftp://archive.ubuntu.com/ubuntu/ hoary universe multiverse ## Uncomment the following line to add Java software: deb ftp://jrfonseca.dyndns.org/debian/ ./ petjal@ubuntu:~ $ |
|
|
|
|
|
#4 |
|
First Cup of Ubuntu
![]() Join Date: Apr 2005
Beans: 3
|
Re: apt-get & Synaptic
I've made the changes, made 01acquire file in apt.conf.d folder, but no succes...
What can I do in that case, if my firewall-login is xy@mail.zz. http_proxy=http://xy@mail.zz |
|
|
|
|
|
#5 |
|
First Cup of Ubuntu
![]() Join Date: Apr 2005
Beans: 3
|
Re: apt-get & Synaptic
Succes, the apostrophes
Acquire::http: |
|
|
|
|
|
#6 |
|
First Cup of Ubuntu
![]() Join Date: May 2005
Beans: 1
|
Re: apt-get & Synaptic
I've tried the above...
Code:
/etc/apt/apt.conf.d/01aquire acquire::http::proxy "http://username:pwd@proxyserver:port"; When I try to update (as root) I get the errors: Code:
Err http://security.ubuntu.com hoary-security/main Packages 502 Proxy Error ( The ISA Server denies the specified Uniform Resource Locator (URL). ) Err http://security.ubuntu.com hoary-security/restricted Packages 502 Proxy Error ( The ISA Server denies the specified Uniform Resource Locator (URL). ) Err http://security.ubuntu.com hoary-security/universe Packages 502 Proxy Error ( The ISA Server denies the specified Uniform Resource Locator (URL). ) Err http://security.ubuntu.com hoary-security/multiverse Packages 502 Proxy Error ( The ISA Server denies the specified Uniform Resource Locator (URL). ) What am I doing wrong? I can connect to the internet with the same proxysettings (in Firefox) just fine, even the security.ubuntu.com (and any other) website. |
|
|
|
|
|
#7 |
|
First Cup of Ubuntu
![]() Join Date: Jun 2005
Beans: 2
|
Re: apt-get & Synaptic
I have had the same error (ISA Server denies the specified URL). I have tried all the above plus I tried something from http://wiki.colinux.org/cgi-bin/coLinuxIAQ#A3 where it suggests:
export http_proxy=http://domainname\\user But that doesn't work for me either (I've even tried domainname.local) Any more ideas? |
|
|
|
|
|
#8 |
|
First Cup of Ubuntu
![]() Join Date: Jun 2005
Beans: 2
|
FINALLY found my way around this using this script to be a proxy to my ISA Server...
http://ntlmaps.sourceforge.net/. WOO! |
|
|
|
|
|
#9 |
|
First Cup of Ubuntu
![]() Join Date: Dec 2006
Beans: 2
|
Re: apt-get & Synaptic
WOW!!! It works across a Novell network too! THANKS HEAPS!!!
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|