0

I am currently a newbie in ubuntu. I have ubuntu 14.04 and want to update it via terminal. I use proxy server (which requires authentication ie username and password)to access internet. I can easily surf internet but when it comes to Ubuntu software centre or an update through terminal, i am unable to do it.Terminal always gives 'error 407 proxy authentication required' and then fails. Please help me with this.

Prashant Kumar
  • 615
  • 2
  • 7
  • 16
  • what command do you use for using terminal with proxy??? – scarface_90 Apr 28 '15 at 12:10
  • i did this which i found from a link in askubuntu.com " i edited apt.conf by using

    sudo vi /etc/apt/apt.conf There are already 4 lines of code starting with Acquire key word, edit it like this:

    Acquire::http::Proxy "http://username:password@proxyhost:port/"; Acquire::https::Proxy "https://username:password@proxyhost:port/"; Acquire::ftp::Proxy "ftp://username:password@proxyhost:port/"; Acquire::http::Proxy "http://username:password@proxyhost:port/";"

    – Prashant Kumar Apr 29 '15 at 14:09

0 Answers0