-
Notifications
You must be signed in to change notification settings - Fork 684
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
after wget and lynx, apt-cyg should fallback to curl too, if available #99
Comments
alas |
And what if I prefer
|
it is not about "preference", it is about "practicality" . Most of the installations (across globes) we have encountered has only curl installed, no wget/lynx. In that case if one has this apt-cyg script, then atleast apt-cyg should be able to download either fallback or atleast download wget using curl or the pure bash code. That is, in this way one can be able to download most of the apt-cyg pre-requisites using apt-cyg script itself. It is about self-bootstrapping flexibly . |
I was testing this tool, because I was unaware of the requirements of apt-cyg I just install the base packages giving by cygwin in the default installation, so the default package curl is already installed but not lynx/wget so why no change this @zaxebo1 you could do a fork of this project and change the script |
if we go by that above logic, as wget,lynx are not in base install, then we should drop the support of wget and lynx too from apt-cyg proposal: |
|
Guys, the point is that apt-cyg needs something to download with. It doesn't matter what it is. I thought curl was in base because I seem to recall it being used during cygwin base installation and for a long time I cursed the installer because it would install curl and NOT wget, which I prefer. For me, the issue was that I ended up in a situation where I had neither wget or lynx. So in order to use apt-cyg, I had to go back to the GUI installer, which kind of feels like defeating the purpose. At least it was only one-time thing. But bottom line, to be completely fair, a robust piece of software should not just go "Oop! Kablooey!" because something it expects to be there isn't there. It should either explain the problem or work around it. And right now, if you don't have wget or lynx, apt-cyg goes the "kablooey" route. |
https://github.com/kou1okada/apt-cyg simply checks at startup if It's not much to ask from a user to install a few prerequisites one-time with the GUI installer, and |
@svnpenn Sorry I added a constructive comment to your code. Didn't mean to brutally assault your ego. Jeebus Crips. |
I vote for including |
I really think you should include curl. I don't care if you include other fallbacks (wget->lynx->curl->/dev/tcp) - but you should do something before the world starts forking the heck out of this repo. This is a great tool but its broken (i.e. when i instruct newbs on how to use it and if need to tell them to go back to setup - its a fail) |
The maintainer doesn't care. I give up. Which fork should I use? |
Here is how you can get
Now you have |
i agree - using setup in silent mode may be a better bigger picture solution for feel free to use my fork - i don't have any plans to remove it till |
apt-cyg downloads packages using wget and falls back to lynx. I will request to kindly make apt-cyg fallback to "curl" too, if available.
even if curl is not available then it should fallback to the following script(which is pure bash)
http://superuser.com/a/496572
The text was updated successfully, but these errors were encountered: