deno: deno upgrade error: No such file or directory (os error 2)

MACHINE: WSL 2 (Ubuntu 20.04) OS: Ubuntu 20.04

Current version: 1.2.3

What’s wrong

dev@Raspberry:~$ deno upgrade
Checking for latest version
downloading https://github.com/denoland/deno/releases/download/v1.3.0/deno-x86_64-unknown-linux-gnu.zip
Version has been found
Deno is upgrading to version 1.3.0
downloading https://github-production-release-asset-2e65be.s3.amazonaws.com/133442384/c3e0d480-dd82-11ea-837c-81e79e8669bd?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20200817%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20200817T130905Z&X-Amz-Expires=300&X-Amz-Signature=649fcd47675f065db1f1c92b223489d8645ec52e03f3c566d20bc9a116a2ad22&X-Amz-SignedHeaders=host&actor_id=0&repo_id=133442384&response-content-disposition=attachment%3B%20filename%3Ddeno-x86_64-unknown-linux-gnu.zip&response-content-type=application%2Foctet-stream
Version has been found
Deno is upgrading to version 1.3.0
error: No such file or directory (os error 2)

What’s expected. Succesful upgrade.

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 24 (5 by maintainers)

Most upvoted comments

We do not maintain the Deno snap. cc @Lukewh

Still getting this error on Ubuntu 20.04.2 LTS, trying to upgrade from v1.12.2 to v1.13.1:

Looking up latest version Found latest version 1.13.1 Checking https://github.com/denoland/deno/releases/download/v1.13.1/deno-x86_64-unknown-linux-gnu.zip 31.3 MiB / 31.3 MiB (100.0%) Deno is upgrading to version 1.13.1 error: No such file or directory (os error 2)

same error

I first installed it with pacman after that, an error will be reported when using deno upgrade

[root@archlinux working]# uname -a
Linux archlinux 5.8.8-arch1-1 #1 SMP PREEMPT Wed, 09 Sep 2020 18:59:45 +0000 x86_64 GNU/Linux
[root@archlinux working]# deno -V
deno 1.4.1

https://pastebin.ubuntu.com/p/Q9fmsGRdSz/

how do i paste it here.

Create a gist, and share the link here.