How to use Proxy with Boot-Repair ?

Asked by YannUbuntu

to be able to connect to the Internet, some users have to specify a proxy server.
Since “sudo … “ executes with the root environment, “export http_proxy=…” does not work.

Question information

Language:
English Edit question
Status:
Solved
For:
Boot-Repair Edit question
Assignee:
No assignee Edit question
Solved by:
YannUbuntu
Solved:
Last query:
Last reply:
Revision history for this message
YannUbuntu (yannubuntu) said :
#1

1. In a terminal, type “sudo su –“
2. Then type “export http_proxy=…”
3. Then type “/usr/bin/boot-repair”

Revision history for this message
YannUbuntu (yannubuntu) said :
#2

( export http_proxy=http://username:<email address hidden>:port )

Revision history for this message
YannUbuntu (yannubuntu) said :
#3

Alternative:

sudo su -
HTTP_PROXY=http://username:<email address hidden>:port
export http_proxy

Thanks Saurabh (bug #1316424)