adamant-wire-59957
07/25/2024, 10:29 PMcurl -fsSL <https://get.pulumi.com> | sh
After it's downloaded, I just get:
We're sorry, but it looks like something might have gone wrong during installation.
If you need help, please join us on <https://slack.pulumi.com/>
miniature-musician-31262
07/25/2024, 10:31 PMcurl -IL <https://github.com/pulumi/pulumi/releases/download/v3.126.0/pulumi-v3.126.0-darwin-arm64.tar.gz>
?miniature-musician-31262
07/25/2024, 10:31 PMminiature-musician-31262
07/25/2024, 10:32 PMminiature-musician-31262
07/25/2024, 10:34 PMlinux-x64
, so the file is there -- and now that I look at your output, it actually does look like you were able to download it š¤miniature-musician-31262
07/25/2024, 10:35 PMadamant-wire-59957
07/25/2024, 10:35 PMadamant-wire-59957
07/25/2024, 10:35 PMadamant-wire-59957
07/25/2024, 10:36 PMadamant-wire-59957
07/25/2024, 10:36 PMminiature-musician-31262
07/25/2024, 10:37 PM/home/gareth/.pulumi/bin
adamant-wire-59957
07/25/2024, 10:38 PMtar.gz
to?adamant-wire-59957
07/25/2024, 10:38 PM.pulumi
but not bin
adamant-wire-59957
07/25/2024, 10:39 PMgzip: stdin: unexpected end of file
makes me think it couldn't access it once it was downloaded?miniature-musician-31262
07/25/2024, 10:39 PMminiature-musician-31262
07/25/2024, 10:39 PMminiature-musician-31262
07/25/2024, 10:40 PMTARBALL_DEST=$(mktemp -t pulumi.tar.gz.XXXXXXXXXX)
miniature-musician-31262
07/25/2024, 10:40 PMcurl
to get the download, you should be able to unpack the binary yourself and put it wherever you wantminiature-musician-31262
07/25/2024, 10:42 PMminiature-musician-31262
07/25/2024, 10:43 PMfuture-hairdresser-70637
07/25/2024, 10:43 PM.tar.gz
was corrupt?miniature-musician-31262
07/25/2024, 10:44 PMadamant-wire-59957
07/25/2024, 10:50 PM/tmp
there are a few things in there.. which I removed and did it again...
I am looking at the script to see exactly where it's going wrong.
So after running the command again in /tmp
there is:
⢠pulumi.ofoalhEnH9
⢠pulumi.tar.gz.OwEAHkMXoG/
There is nothing in the pulumi.tar.gz.OwEAHkMXoG/
directory...adamant-wire-59957
07/25/2024, 10:52 PMfuture-hairdresser-70637
07/25/2024, 10:54 PM/home/gareth/.pulumi/bin
directory?adamant-wire-59957
07/25/2024, 10:55 PM.pulumi/
does...
I have manually created bin
and even gave it 777
permissions... same issuefuture-hairdresser-70637
07/25/2024, 10:57 PM.tar.gz
itself? e.g.
wget <https://github.com/pulumi/pulumi/releases/download/v3.126.0/pulumi-v3.126.0-linux-x64.tar.gz>
future-hairdresser-70637
07/25/2024, 10:58 PMshasum -a 512 pulumi-v3.126.0-linux-x64.tar.gz
adamant-wire-59957
07/25/2024, 10:58 PMmkdir -p .pulumi/bin
as it does in the script, and bin
was created..
I'll try the above nowfuture-hairdresser-70637
07/25/2024, 10:58 PMbin
path, so it might be better to delete itfuture-hairdresser-70637
07/25/2024, 10:59 PMadamant-wire-59957
07/25/2024, 10:59 PM8e2e77529c78367f2c2a99a43d737d5849018c731c70f732114d414d8f5a4fd44476447880620eec08d22144fd7fec56fa8ad05670d696ade3f3cb44398e88ee pulumi-v3.126.0-linux-x64.tar.gz
future-hairdresser-70637
07/25/2024, 11:00 PMfuture-hairdresser-70637
07/25/2024, 11:00 PMfuture-hairdresser-70637
07/25/2024, 11:00 PMadamant-wire-59957
07/25/2024, 11:04 PMtar zxf pulumi-v3.126.0-linux-x64.tar.gz -C .pulumi/bin
??adamant-wire-59957
07/25/2024, 11:11 PMmkdir -p .pulumi/bin
and then tar zxf pulumi-v3.126.0-linux-x64.tar.gz -C .pulumi/bin
as per the script... I get the following... All looks good to mefuture-hairdresser-70637
07/25/2024, 11:13 PMfuture-hairdresser-70637
07/25/2024, 11:13 PM~/.pulumi/bin
so you could move the files from and delete pulumi
for a more authentic install :Dfuture-hairdresser-70637
07/25/2024, 11:14 PMfuture-hairdresser-70637
07/25/2024, 11:14 PMadamant-wire-59957
07/25/2024, 11:14 PMPATH
so I'd still love to get the script working..future-hairdresser-70637
07/25/2024, 11:14 PMfuture-hairdresser-70637
07/25/2024, 11:15 PMadamant-wire-59957
07/25/2024, 11:15 PMfuture-hairdresser-70637
07/25/2024, 11:15 PMfuture-hairdresser-70637
07/25/2024, 11:17 PMexport PATH=$PATH:/home/gareth/.pulumi/bin
(or .pulumi/bin/pulumi if you don't move the files) at the end of your ~/.bashrc
and you're doneadamant-wire-59957
07/25/2024, 11:20 PMdrwx------ 2 gareth gareth 4.0K Jul 26 09:17 pulumi.HyUVazJhxm
-rw------- 1 gareth gareth 0 Jul 26 09:17 pulumi.tar.gz.X7qUc6Rq0Y
Does that look correct for the temp tar.gz that was downloaded?future-hairdresser-70637
07/25/2024, 11:21 PMadamant-wire-59957
07/25/2024, 11:22 PMadamant-wire-59957
07/25/2024, 11:22 PMadamant-wire-59957
07/25/2024, 11:22 PMgzip: stdin: unexpected end of file
future-hairdresser-70637
07/25/2024, 11:22 PMfuture-hairdresser-70637
07/25/2024, 11:23 PMadamant-wire-59957
07/25/2024, 11:23 PMfuture-hairdresser-70637
07/25/2024, 11:23 PMadamant-wire-59957
07/25/2024, 11:24 PMfuture-hairdresser-70637
07/25/2024, 11:25 PMfuture-hairdresser-70637
07/25/2024, 11:25 PMfuture-hairdresser-70637
07/25/2024, 11:26 PMadamant-wire-59957
07/26/2024, 12:12 AMGITHUB_TOKEN
not being set? But I doubt it, cause as we said, it's downloading to somewhere... and wget
workedadamant-wire-59957
07/26/2024, 12:58 AMsnap
version of curl
...
So have removed snap
package, and added apt
package.
But now I get this: -bash: /snap/bin/curl: No such file or directory
adamant-wire-59957
07/26/2024, 1:00 AMadamant-wire-59957
07/26/2024, 1:00 AMadamant-wire-59957
07/26/2024, 1:00 AMfuture-hairdresser-70637
07/26/2024, 1:00 AMsnap
version does something weird/unexpected?adamant-wire-59957
07/26/2024, 1:01 AMadamant-wire-59957
07/26/2024, 1:01 AMadamant-wire-59957
07/26/2024, 1:01 AMfuture-hairdresser-70637
07/26/2024, 1:20 AMadamant-wire-59957
07/26/2024, 1:21 AMdry-keyboard-94795
07/26/2024, 8:04 AMadamant-wire-59957
07/26/2024, 8:34 AM