Restic self-update is broken on riscv64

I’m playing around with a RISC-V board right now. It is a VisionFive2.

A Debian is running and I have installed restic as a test. After that a

restic self-update

but that failed. I have no idea if this is feasible, I am too little in the subject. I am more the user.

But, maybe as a suggestion.

root@starfive:~# restic self-update
writing restic to /usr/bin/restic
find latest release of restic at GitHub
latest version is 0.15.0
download SHA256SUMS
download SHA256SUMS.asc
GPG signature verification succeeded
Fatal: unable to update restic: unable to find file with suffix linux_riscv64.bz2
root@starfive:~# restic version
restic 0.12.1 compiled with go1.18.1 on linux/riscv64

hi,

nore sure, might be a known bug with a simple workaround
https://forum.restic.net/t/self-update-windows-started-failing-after-release-of-0-15/5836/3

@FrankM Doesn’t hurt trying the latest restic build from beta.restic.net - it includes a fix for the issue mentioned by @asdffdsa above.

We don’t provide riscv builds so far. As RISC-V support seems to be include since Go 1.14, it should be possible add support for it. Add linux/riscv64 builds by MichaelEischer · Pull Request #4180 · restic/restic · GitHub

1 Like

@MichaelEischer Thanks :+1: