0

I typed the command

sudo gedit /etc/bash.bashrc 

And typed the export statement as

export http_proxy="username: password@proxyhost:port"

But after saving it gave a warning message as

set document meta data failed 
gedit spell language not supported
gedit encoding not supported
gedit position not supported

When I try apt-get update it still shows proxy authentication error

abu_bua
  • 10,783

1 Answers1

0

You can try installing cntlm to automatically handle your proxy settings:

supo apt install cntlm
sudo nano /etc/cntlm.conf 

From here edit the following fields to give your credentials:

Username username
Domain proxydomain
Paswword pwd 

[...]

Proxy proxyaddress:3128
Noproxy localhost, 127.0.0.*, 10.*, 192.168.*
Listen proxyport
avazula
  • 165
  • 2
  • 12