I got the following error after configuring proxy in /etc/apt/apt.conf as Acquire::http::proxy http://192.168.96.0:8080:

e: syntax error /etc/apt/apt.conf:2: extra junk at end of file.

and I don't have the proxy authentication. How do I fix this?

link|improve this question
1  
Please post the contents of /etc/apt/apt.conf – Jorge Castro Feb 20 at 23:21
feedback

1 Answer

It looks like you forget ";" at the end of line.

Try this:

Acquire::http::proxy http://192.168.96.0:808;

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.