Apt-get update with an @ in password error

You need to escape special characters. So place a \ in front of the @ like so:

export http_proxy=http://deepak:Deepak\@[email protected]:3128

Alernatively you can also use %40.


Click on

  1. Dash home
  2. Search for System Settings
  3. Select Network
  4. Select Network Proxy
  5. Select Manual method
  6. Set you proxy and port

Kudos You are Done if you set right


If your password or username contains @ you can percent-encode (also referred as URL encoding) it as %40 in the proxy url. For more special characters see here