Results 1 to 4 of 4

Thread: Authenticated proxy problem

  1. #1
    Join Date
    Aug 2012
    Beans
    2

    Authenticated proxy problem

    I cannot get updates or installs via the terminal etc because I keep getting messages like:

    Failed to fetch http://gb.archive.ubuntu.com/ubuntu/...-i386/Packages 407 Proxy Authentication Required

    I have done all the things you are supposed to do.

    I have put the settings in Network Settings and clicked 'Apply System Wide'.

    As my username is DOMAIN\Name I was told to change this to DOMAIN%5CName but neither works.

    I have also put:

    Acquire::http::proxy "http://DOMAIN%5CName:Password@10.1.2.52:3128/";
    Acquire::https::proxy "http://DOMAIN%5CName:Password@10.1.2.52:3128/";
    Acquire::ftp::proxy "ftp://DOMAIN%5CName:Password@10.1.2.52:3128/";
    Acquire::socks::proxy "socks://DOMAIN%5CName:Password@10.1.2.52:3128/";

    in apt.conf.

    And also

    export http_proxy=http://DOMAIN%5CName:Password@10.1.2.52:3128/
    export https_proxy=http://DOMAIN%5CName:Password@10.1.2.52:3128/
    export ftp_proxy=http://DOMAIN%5CName:Password@10.1.2.52:3128/

    in .bashrc.

    Still nothing works.

    Any ideas? I'm getting bored and annoyed with this.

    Cheers

  2. #2
    Join Date
    Nov 2010
    Location
    India
    Beans
    Hidden!

    Re: Authenticated proxy problem

    www.youtube.com/watch?v=zhkpmPK4GdE

    see that video . its belongs to your issue .
    Dont miss anything even it is small. one small pin is enough to bring down a man.


  3. #3
    Join Date
    Aug 2012
    Beans
    2

    Re: Authenticated proxy problem

    Quote Originally Posted by raja.genupula View Post
    www.youtube.com/watch?v=zhkpmPK4GdE

    see that video . its belongs to your issue .
    As I said, I tried this and it hasn't worked.

  4. #4
    Join Date
    Oct 2011
    Location
    ZZ9 Plural Z Alpha
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Authenticated proxy problem

    Try this.

    Comment out everything in apt.conf and close any open terminals you havve. Open up ~/.bashrc in a text editor.
    Add this line to the bottom:

    Code:
    http_proxy=http://username:password@yourproxyaddress:proxyport
    Save, open a new terminal, and try running apt-get.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •