pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/54116: pkg_add and others ignores proxy settings



>Number:         54116
>Category:       pkg
>Synopsis:       pkg_add and others ignores proxy settings
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Apr 12 08:55:00 +0000 2019
>Originator:     Thomas Schweikle
>Release:        7.2_STABLE NetBSD 7.2_STABLE (GENERIC.201904092300Z) amd64
>Organization:
>Environment:
NetBS local 7.2_STABLE NetBSD 7.2_STABLE (GENERIC.201904092300Z) amd64
>Description:
# setenv
no_proxy=localhost, 127.0.0.1
ftp_proxy=http://proxy-lb-muc.bfs.de:8080
http_proxy=http://proxy-lb-muc.bfs.de:8080
https_proxy=http://proxy-lb-muc.bfs.de:8080
gopher_proxy=http://proxy-lb-muc.bfs.de:8080

Proxy set. pkg_add shall connect to servers via proxy, but does not:
# pkg_add -u \*
pkg_add: Can't process https://nyftp.netbsd.org:443/pub/pkgsrc/packages/NetBSD/amd64/7.2/All/*: Connection timed out
pkg_add: Can't process https://ftp.netbsd.org:443/pub/pkgsrc/packages/NetBSD/amd64/7.2/All/*: Connection timed out

In tune no updates. Installing packages fails too.
>How-To-Repeat:
Install NetBSD.
Upgrade to 7.2 latest.
Try to install/upgrade pkgs.

Will fail if behind a firewall requiring to use proxys.
>Fix:


Home | Main Index | Thread Index | Old Index