I am trying to update my Ubuntu desktop "Ubuntu 16.04.7 LTS" via APT behind corporate proxy but getting the following issue:
E: Syntax error /etc/apt/apt.conf:3: Extra junk at end of file
and here is my
$ cat /etc/apt/apt.conf Acquire::http::proxy “http://usr:email@example.com:8080/”; Acquire::https::proxy “http://usr:firstname.lastname@example.org:8080/”;
I have tried to search the same on Ask Ubuntu and found How to solve "Extra junk at end of file" when using apt? but this doesn't resolve the issue as I am already using the
; and still facing the same issue.
What should I do to fix the issue?