The $http_proxy variable in your terminal overrides the http::proxy variable in /etc/apt/conf file and the connection is not established if the http_proxy variable in the terminal is set to [proxy]:[port] instead of http://[proxy]:[port]. To check this out do the following:
- Type: echo $http_proxy in the terminal
- If it is something like this: 10.1.1.30:8080, then type: http_proxy="http://10.1.1.30:8080" . (we're just adding the 'http://' before the content of the variable)
No comments:
Post a Comment
Any query, doubt, problem or feedback is heartily invited.
Note: Only a member of this blog may post a comment.