ZeroConf trouble (curl/64bit)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

ZeroConf trouble (curl/64bit)

Torsten Bergmann
Using ZeroConf on a fresh Ubuntu machine:

  wget -O- https://get.pharo.org/64 | bash

works but

curl https://get.pharo.org/64 | bash

as mentioned on https://get.pharo.org/64/ gives an error:


  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   237  100   237    0     0    556      0 --:--:-- --:--:-- --:--:--   555
bash: line 1: syntax error near unexpected token `newline'
bash: line 1: `<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">'


The 32 bit curl works

Reply | Threaded
Open this post in threaded view
|

Re: ZeroConf trouble (curl/64bit)

Pharo Smalltalk Developers mailing list
On 02/01/19 5:16 PM, Torsten Bergmann wrote:
> Using ZeroConf on a fresh Ubuntu machine:
>
>    wget -O- https://get.pharo.org/64 | bash
>
> works but
>
> curl https://get.pharo.org/64 | bash

Does curl -L help?

HTH .. Subbu

Reply | Threaded
Open this post in threaded view
|

Re: ZeroConf trouble (curl/64bit)

Sven Van Caekenberghe-2
In reply to this post by Torsten Bergmann
Last login: Sat Dec 29 19:43:53 on ttys003
prometheus:2018-12-17 sven$ cd /tmp
prometheus:tmp sven$ curl get.pharo.org/64/70+vm | bash
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  3054  100  3054    0     0  23470      0 --:--:-- --:--:-- --:--:-- 23492
Downloading the latest 70 Image:
    http://files.pharo.org/get-files/70/pharo64.zip
Pharo.image
Downloading the latest pharoVM:
        http://files.pharo.org/get-files/70/pharo64-mac-stable.zip
pharo-vm/Pharo.app/Contents/MacOS/Pharo
Creating starter scripts pharo and pharo-ui
prometheus:tmp sven$ ./pharo Pharo.image printVersion
[version] 'Pharo7.0.0' 'Pharo-7.0.0+rc1.build.95.sha.e5eda48cff58fbdbe71ad02dbc9540d8d3e94875 (64 Bit)'

And indeed

prometheus:tmp sven$ curl -L get.pharo.org/64 | bash
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   232  100   232    0     0   3406      0 --:--:-- --:--:-- --:--:--  3411
100 11324  100 11324    0     0   115k      0 --:--:-- --:--:-- --:--:--  115k
Downloading the latest 61 Image:
    http://files.pharo.org/get-files/61/pharo64.zip
Pharo.image
Downloading the latest pharoVM:
        http://files.pharo.org/get-files/61/pharo64-mac-stable.zip
pharo-vm/Pharo.app/Contents/MacOS/Pharo
Downloading PharoV61.sources:
        http://files.pharo.org/get-files/61/sources.zip
Creating starter scripts pharo and pharo-ui
prometheus:tmp sven$ ./pharo Pharo.image printVersion
[version] 6.0 #60546


> On 2 Jan 2019, at 12:46, Torsten Bergmann <[hidden email]> wrote:
>
> Using ZeroConf on a fresh Ubuntu machine:
>
>  wget -O- https://get.pharo.org/64 | bash
>
> works but
>
> curl https://get.pharo.org/64 | bash
>
> as mentioned on https://get.pharo.org/64/ gives an error:
>
>
>  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
>                                 Dload  Upload   Total   Spent    Left  Speed
> 100   237  100   237    0     0    556      0 --:--:-- --:--:-- --:--:--   555
> bash: line 1: syntax error near unexpected token `newline'
> bash: line 1: `<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">'
>
>
> The 32 bit curl works
>


Reply | Threaded
Open this post in threaded view
|

Re: ZeroConf trouble (curl/64bit)

Torsten Bergmann
Subbu wrote:
>>Does curl -L help?


Yes - the documented

    curl https://get.pharo.org/64 | bash

as mentioned on https://get.pharo.org/64/ FAILS
while

    curl -L https://get.pharo.org/64 | bash

as well as

    curl get.pharo.org/64 | bash

work.

Anyone able to change the template/docu on https://get.pharo.org/64 ?

Thx
T.