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

Switch from "master" to "main" breaks update script #109

Closed
PieterBoeren opened this issue Feb 6, 2024 · 1 comment
Closed

Switch from "master" to "main" breaks update script #109

PieterBoeren opened this issue Feb 6, 2024 · 1 comment

Comments

@PieterBoeren
Copy link

The recent switch from "master" to "main", breaks the update script (satellite-update):

Your configuration specifies to merge with the ref 'refs/heads/master' from the remote, but no such ref was fetched.

I manually fixed it by navigating to /usr/local/src/companion-satellite and do a git checkout main and re-run the script. This probably should be documented somewhere...

@Julusian
Copy link
Member

This can be fixed by running the line:

sudo sh -c "cd /usr/local/src/companion-satellite && git fetch --all && git reset --hard && git checkout main"

Or you can flash the latest image instead, this also means the os will get an update to the latest release.

I don't think it is a good idea to rename the branch back now, so hopefully this command will be sufficient.

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

2 participants