diced / dvm

discord version manager for linux

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot update discord. thread 'main' panicked at 'could not read version file: malformed installation detected

pegasusearl opened this issue · comments

Installed from aur dvm, run from Manjaro Gnome.

dvm 1.1.9

USAGE:
    dvm <SUBCOMMAND>

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

SUBCOMMANDS:
    completions          get shell completions
    help                 Prints this message or the help of the given subcommand(s)
    install              install the latest <type> of discord
    install-open-asar    install openasar for <type> of discord
    remove               remove the installed <type> of discord
    run                  run discord with specific options
    show                 show all installed versions
    update               update to the latest <type> of discord

Trying to update discord with dvm update stable, at first there isn't an error. It just kinda... stuck. It says downloading but it doesn't show any progress or traffic. I have been waiting for a long time but the script didn't finish. So I stopped the process and restarted it again. But then it failed.

output of RUST_BACKTRACE=full dvm update stable:

info: found latest version stable:0.0.25
thread 'main' panicked at 'could not read version file: malformed installation detected: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/util.rs:9:6
stack backtrace:
   0:     0x564a1ee5e230 - <unknown>
   1:     0x564a1ee84b7c - <unknown>
   2:     0x564a1ee58c85 - <unknown>
   3:     0x564a1ee5fa81 - <unknown>
   4:     0x564a1ee5f753 - <unknown>
   5:     0x564a1ee60183 - <unknown>
   6:     0x564a1ee60077 - <unknown>
   7:     0x564a1ee5e754 - <unknown>
   8:     0x564a1ee5fda2 - <unknown>
   9:     0x564a1ee83433 - <unknown>
  10:     0x564a1ee83743 - <unknown>
  11:     0x564a1ec6c90e - <unknown>
  12:     0x564a1ec3584c - <unknown>
  13:     0x564a1ec408f6 - <unknown>
  14:     0x564a1ec48eee - <unknown>
  15:     0x564a1ec63aad - <unknown>
  16:     0x564a1ec5680e - <unknown>
  17:     0x564a1ec67e2b - <unknown>
  18:     0x564a1ec5e853 - <unknown>
  19:     0x564a1ec4a7f3 - <unknown>
  20:     0x564a1ec61169 - <unknown>
  21:     0x564a1ee524ea - <unknown>
  22:     0x564a1ec5e932 - <unknown>
  23:     0x7f512db4f790 - <unknown>
  24:     0x7f512db4f84a - __libc_start_main
  25:     0x564a1ec31085 - <unknown>
  26:                0x0 - <unknown>