Comments (7)
Thanks for reporting a problem.
But, hmm,,, I'm sorry.
It seems that PROXY auto-detection mechanism with WPAD missed to detect the PROXY.
The full set version of WPAD needs JavaScript, but the current implementation does not have it.
It's implemented to be simplified by string search for finding PROXY URL.
So, it can not be resolve the any logic to select PROXYs.
I suggest two temporary solutions as below:
- Disable the PROXY auto-detection, if your network environment does not need PROXY.
- Set a PROXY manually, if your network environment needs PROXY.
You can use -p
option or APT_CYG_PROXY
environment variable, to configure these settings.
For details, see PROXY support section in the README.md
.
from apt-cyg.
Yes, that was it.
Setting
export APT_CYG_PROXY=none
fixes the issue. Weird, didn't change anything proxy related in while...
Thank you!
from apt-cyg.
Maybe, you can see the WPAD script in your environment by below command:
wget --no-verbose --no-proxy -q -O - wpad/wpad.dat
Check it up, if you feel weird.
from apt-cyg.
Just an emtpy line...
$ wget --no-verbose --no-proxy -q -O - wpad/wpad.dat
$
from apt-cyg.
How about below command: (-q option is replaced by -v option)
wget --no-verbose --no-proxy -v -O - wpad/wpad.dat
If your environment does not have the WPAD server, you will see result as below:
--2017-06-07 16:49:40-- http://wpad/wpad.dat
Resolving wpad... failed: Name or service not known.
wget: unable to resolve host address ‘wpad’
Otherwise, if your environment has the WPAD server but the WPAD script is not supplied, you will see result as below:
--2017-06-07 16:52:07-- http://wpad/wpad.dat
Resolving wpad... xxx.xxx.xxx.xxx
Connecting to wpad|xxx.xxx.xxx.xxx|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-06-07 16:52:07 ERROR 404: Not Found.
...
from apt-cyg.
No wapd:
wget --no-verbose --no-proxy -v -O - wpad/wpad.dat
--2017-06-07 11:01:43-- http://wpad/wpad.dat
Resolving wpad... failed: Name or service not known.
wget: unable to resolve host address ‘wpad’
To add insult, since exporting proxy none I was able to run dist-upgrade again and my issue went away. (I ensured APT_CYG_PROXY is not set anymore)
from apt-cyg.
Hmm,,,
I guess that when you had the problem, your environment has the WPAD server and the WPAD script, maybe...
But now, it doesn't have it, certainly.
Thanks.
from apt-cyg.
Related Issues (20)
- Feature request: autoremove HOT 1
- Suggest to install libiconv too. HOT 2
- Cygwin public key hardcoded in apt-cyg expired HOT 1
- cygwin.com package for apt-cyg HOT 4
- Support `provides:` parameter in `setup.ini`. HOT 1
- Support for specifying a specific version in the install command.
- All commands open "Error opening Help in Windows-based programs" page. HOT 1
- Set default installation path to /usr/bin or /usr/local/bin path HOT 1
- homepage: command not found HOT 1
- Bad GPG signature warnings again HOT 2
- Very Hard to Install and not working, getting error HOT 3
- Output capping [enhancement] HOT 1
- Installing specific version of the HOT 2
- updating setup.ini failed HOT 12
- The dependencies cannot be solved. HOT 2
- Type p of postinstall scripts must not be marked .done HOT 1
- /etc/postinstall/*.dash are required to be executed.
- Set timeout limit for mirror benchmark? HOT 5
- Removing orphaned auto-packages HOT 1
- Can't create '\\\\?\\C:\\usr\\bin\\free.exe' HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apt-cyg.