Go version go1.10 detected, restic requires at least Go 1.8

Hi, it might very well be problem with my Go instalation. But there is wierd problem when i try to

brew upgrade restic
go run build.go
Go version go1.10 detected, restic requires at least Go 1.8
exit status 1
make: *** [restic] Error 1

Now i don’t believe i have any uncommon Go installation. It is basic brew go instalation. The problem actually started to happen when i updated Go in homebrew.

I asume it s something with Go output of the version?

↪ go version
go version go1.10 darwin/amd64

go1.10 is quite wierd.
Now i don’t know how to solve it or if i should report it somehow.

Obviously OSX platform.

Thanks for ideas!

It’s a bug in the build.go program we’re using to compile restic, it just did a prefix-match for >= go1.8, which go1.10 does not fulfill. It’s fixed in restic 0.8.3, to which your homebrew does not seem to have upgraded yet. It looks like 0.8.3 was uploaded yesterday: http://formulae.brew.sh/formula/restic

Can you retry now?

Oh this is strange. Brew is updated but it is still trying to download v0.8.0 of restic even though that seems 3 months old.

Even stranger is that when i deleted all cashes and everything brew say update to 0.8.3. but then downloads 0.8.0 instead

Error: restic 0.7.3 is already installed
To upgrade to 0.8.3, run "brew upgrade restic"
krisa at krisas-MacBook-Pro in ~
↪ brew upgrade restic
==> Upgrading 1 outdated package, with result:
restic/restic/restic 0.8.0
==> Upgrading restic/restic/restic
==> Downloading https://github.com/restic/restic/releases/download/v0.8.0/restic-0.8.0.tar.gz

Can’t figure it out. I don’t seem to have any brew doctor problems… Also nobody else seems to be having this problem so probably something is wrong on my side.

Whatever i will probably just grab the binary. But i would like the convenience of brew updating. Especially when the formula is so well maintained as this one.


Ah, you’ve probably at some point added our own homebrew formular, which was located at https://github.com/restic/homebrew-restic. Can you try running brew untap restic/restic, and then maybe uninstalling and re-installing it via brew?

This may be relevant for other people as well. I could break the repo so that an error occurs…

1 Like

Thats it!
I didn’t realize that i had it from tap probably before when restic was in main brew repo. I tried restic quite some time ago but i want to use it for real now.

Works like a charm!

Thank you!

1 Like