Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Instructions missing #3

Open
Manamama opened this issue Oct 26, 2022 · 0 comments
Open

Instructions missing #3

Manamama opened this issue Oct 26, 2022 · 0 comments

Comments

@Manamama
Copy link

Manamama commented Oct 26, 2022

I am "semi-tech savvy" and I have been using mvt-android for some time now, which has helped me here.
Still, I spent close to half hour troubleshooting the upgrades etc., so my tips:

  1. Instead of "here are the install" do tell the users what to do with them, as they are not that obvious - a one-liner or another script would help.
  2. As I thought it would be quicker to just clone and compile I went this route, but then I have run into small snags, so here are solutions the other potential users:
    A. Probably the quickest and most fool-proof way to upgrade one's Go is via
git clone https://github.com/udhos/update-golang
cd update-golang
sudo ./update-golang.sh

B. If you then have run into:
bash: /usr/bin/go: No such file or directory
then the most elegant
hash -r
may help.

C. The obvious:

go: updates to go.mod needed; to update it:
	go mod tidy
make: *** [Makefile:70: linux] Error 1

->
go mod tidy
, another line which may be good to also include in this script here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant