fink / scripts

Various scripts used to maintain Fink, the web site and the binary distribution. They are not intended for use by the general public.
155 stars 363 forks source link

Installations fails: MacBook Air: Mac 10.15.5 #54

Closed ouboub closed 3 years ago

ouboub commented 3 years ago

Hi I started my new MacBook (2019) yesterday, I downloaded the Installer, it downloads and installs Xcode but then then the following message pops up and I quote to use the 'java' command line tool you need to install a JDK click more info but when I do that I am informed that the adobe flash paler end of life bla bla but no download. I am stuck, what shall I do? regards

Uwe Brauer

dak180 commented 3 years ago

@ouboub please post the url that it sends you to; we rely on the system to send you somewhere sensible that you should be able to get to the right page within a few clicks because oracle is constantly revamping their site.

ouboub commented 3 years ago

@ouboub please post the url that it sends you to; we rely on the system to send you somewhere sensible that you should be able to get to the right page within a few clicks because oracle is constantly revamping their site.

that is the page https://www.adobe.com/products/flashplayer/end-of-life.html

so shall I simply visit the link you send me or wait till you upgrade the script?

dak180 commented 3 years ago

@ouboub likely the web page it initially sends you to is redirecting to the flash end of life page (not sure why given two different companies and products); is there any chance of getting that initial url?

dak180 commented 3 years ago

@ouboub since it seems unlikely that this will be fixed in the os try this updated script and let me know if that works for you.

ouboub commented 3 years ago

this is what happens: Checking for Java... Unable to find any JVMs matching version "1.6+". JDK is not installed, fetching... Fetching https://download.java.net/java/GA/15.0.2/0d1cfde4252546c6931946de8db48ee2/7/GPL/openjdk-15.0.2_osx-x64_bin.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0 curl: (22) The requested URL returned error: 404 Not Found error: Unable to fetch https://download.java.net/java/GA/15.0.2/0d1cfde4252546c6931946de8db48ee2/7/GPL/openjdk-15.0.2_osx-x64_bin.tar.gz

dak180 commented 3 years ago

@ouboub try the fixed url.

ouboub commented 3 years ago

Checking for Java... Unable to find any JVMs matching version "1.6+". JDK is not installed, fetching... Fetching https://download.java.net/java/GA/15.0.2/0d1cfde4252546c6931946de8db48ee2/7/GPL/openjdk-15.0.2_osx-x64_bin.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0 curl: (22) The requested URL returned error: 404 Not Found error: Unable to fetch https://download.java.net/java/GA/15.0.2/0d1cfde4252546c6931946de8db48ee2/7/GPL/openjdk-15.0.2_osx-x64_bin.tar.gz

ouboub commented 3 years ago

that is odd, I will check again, seems the same error

ouboub commented 3 years ago

@ouboub try the fixed url.

I am confused, both: this link and the changed script you posted, are identical, (using meld in Ubuntu) so there is no surprise that I obtain the same error. what do I miss

dak180 commented 3 years ago

@ouboub try clearing your browser's cache.

ouboub commented 3 years ago

@ouboub try clearing your browser's cache.

I did, I used a different browser even, but wether I download @ouboub try the fixed url.

or @ouboub since it seems unlikely that this will be fixed in the os try this updated script and let me know if that works for you.

it does not matter, I always obtain the same scripts

dak180 commented 3 years ago

@ouboub well, not sure why github is not doing the right thing for you (it works here) but try this finely crafted link.

ouboub commented 3 years ago

I am deeply sorry but this is the same file. Shall we proceed by email?

ouboub commented 3 years ago

@ouboub well, not sure why github is not doing the right thing for you (it works here) but try this finely crafted link.

Since it does not work. Can’t you make a branch and push ? So that I can pull the corrected script once and for all

dak180 commented 3 years ago

@ouboub it already is in a branch, dak180/scripts@f12528e90 being the relevant change.

ouboub commented 3 years ago

I cloned it with git (and also with hg and the hg-git plugin) I don't see this commit

git log --all

so the latest commits are from 2020 (I am a mercurial user, with basic git knowledge)

ouboub commented 3 years ago

"d" == dak180 notifications@github.com writes:

@ouboub it already is in a branch, dak180/scripts@f12528e90 being the relevant change.

Ok, now I understand this is a different repository

I was looking in

https://github.com/fink/scripts.git

But it in

https://github.com/dak180/scripts.git

Github, sigh

ouboub commented 3 years ago

@ouboub it already is in a branch, dak180/scripts@f12528e being the relevant change.

RESOLVED: when cloning that repository, and using its corresponding script, I can confirm that it now works, thanks a lot. I will close the issue now