Safe node update failure

I went to update my AWS instance to 0.40.0 and got this error…

ubuntu@ip-172-31-30-36:~$ safe node bin-version
safe_network 0.39.0
ubuntu@ip-172-31-30-36:~$ safe node update
Starting logging to stdout
Checking target-arch... x86_64-unknown-linux-musl
Checking current version... v0.39.0
Checking latest released version... vsafe_api-v0.39.0
 ERROR 2021-11-16T12:55:16.849688Z [sn/src/bin/sn_node.rs:L149]:
	 ➤ Updating node failed: SemVer(ParseError("lexer error: UnexpectedChar('_')"))

Ubuntu 20.04 on an AWS free tier t2 micro.

EDIT:
A work around is to rm-rf ~/.safe - which is rarely a bad idea at this stage and reinstall.

ubuntu@ip-172-31-30-36:~$ rm -rf ~/.safe
ubuntu@ip-172-31-30-36:~$ curl -so- https://sn-api.s3.amazonaws.com/install.sh | bash
=> Downloading Safe CLI package from 'https://sn-api.s3.eu-west-2.amazonaws.com/sn_cli-latest-x86_64-unknown-linux-musl.tar.gz'...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 9577k  100 9577k    0     0  23.3M      0 --:--:-- --:--:-- --:--:-- 23.3M
=> Unpacking Safe CLI to '/home/ubuntu/.safe/cli'...
=> Adding statement to '/home/ubuntu/.bashrc' profile to have Safe CLI binary path in the $PATH
=> Profile '/home/ubuntu/.bashrc' already contains a statement to set Safe CLI in the $PATH
ubuntu@ip-172-31-30-36:~$ safe node install
Latest release found: Safe Network v0.40.0/Safe API v0.39.0 vsafe_api-v0.39.0
Downloading https://github.com/maidsafe/safe_network/releases/download/safe_api-v0.39.0/sn_node-0.40.0-x86_64-unknown-linux-musl.tar.gz...
[00:00:00] [========================================] 10.12MB/10.12MB (0s) Done
Creating '/home/ubuntu/.safe/node' folder
Installing sn_node binary at /home/ubuntu/.safe/node ...
Setting execution permissions to installed binary '/home/ubuntu/.safe/node/sn_node'...
Done!
ubuntu@ip-172-31-30-36:~$ safe node bin-version
safe_network 0.40.0
2 Likes