cuddly-magician-97620
07/10/2023, 1:16 PM$ curl -sSL <https://get.pulumi.com> | sh
=== Upgrading Pulumi v3.73.0 to v3.74.0 ===
+ Downloading <https://get.pulumi.com/releases/sdk/pulumi-v3.74.0-linux-x64.tar.gz>...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 136M 100 136M 0 0 34.3M 0 0:00:03 0:00:03 --:--:-- 34.3M
+ Extracting to /home/lech/.pulumi/bin
gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now
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/>
Worse than that, once I have installed manually from backup (setting up new laptop), and then run the script to update, the script has wiped out my existing install...
$ pulumi version
bash: /home/lech/.pulumi/bin/pulumi: No such file or directory
salmon-account-74572
07/10/2023, 2:44 PMsalmon-account-74572
07/10/2023, 2:46 PMcurl -fsSL <https://get.pulumi.com> | sh
(add the -f
parameter to your curl
command)?echoing-dinner-19531
07/10/2023, 2:58 PM-f
just changes the fail mode, the worrying thing here is "gzip: stdin: unexpected end of file".
This looks just like https://github.com/pulumi/pulumi/issues/9660. I suspect you have curl installed via snap, and that seems to have issues writing to /tmp which the install script uses.salmon-account-74572
07/10/2023, 3:05 PMcuddly-magician-97620
07/10/2023, 4:50 PM