freebsd-update behind a proxy

Two things.

Does #freebsd-update -v debug fetch give you any clues?

Also you did not mention how you set the environment variable. As root, before you run #freebsd-update fetch install did you run this: #setenv HTTP_PROXY [url=http://username:password@proxy-host]http://username:password@proxy-host:port[/url]
 
I know this is replying to an old thread, but in 10.2-RELEASE it works for me if I create the following two system variables first:
(Substitute the fields "username", "password","proxy" and "port" with the appropriate values for your environment)

Code:
export HTTP_PROXY_AUTH="basic:*:username:password"
export HTTP_PROXY=http://proxy:port
Then it works perfectly:
Code:
freebsd-update fetch
[root@freebsd ~]# freebsd-update fetch
src component not installed, skipped
Looking up update.FreeBSD.org mirrors... 4 mirrors found.
Fetching metadata signature for 10.2-RELEASE from update5.freebsd.org... done.
Fetching metadata index... done.
Fetching 2 metadata files... done.
Inspecting system... done.
Preparing to download files... done.
Fetching 90 patches.....10....20....30....40....50....60....70....80....90 done.
Applying patches... done.
Hope it helps ;) I was not able to find the information anywhere, but looking at phttpget(8) source helped me to find out how this should be set up ;-) And... man phttpget gives you the clue, too.
 
Last edited by a moderator:
Back
Top