Hi,
I am trying to install KStars 3.6.2 on macOS via homebrew and get a checksum mismatch. Can someone fix that please? Removing the file as instructed and retrying leads to the same error.
$> brew update && brew upgrade --greedy && brew cleanup
Already up-to-date.
==> Upgrading 1 outdated package:
kstars 3.6.1 -> 3.6.2
==> Upgrading kstars
==> Downloading https://www.indilib.org/jdownloads/kstars/kstars-3.6.2.dmg
######################################################################## 100.0%
==> Purging files for version 3.6.2 of Cask kstars
Error: kstars: SHA256 mismatch
Expected: d179cbfb95617932146fad180fcaff920c5fed9416a0a0ac8a8782c748758ba2
Actual: 70c52ac585bd43c5967cb072150c3638110421acab72e5826c8fb63a9dca5ffc
File: /Users/wouter/Library/Caches/Homebrew/downloads/c02208c5f813a8bce6c22884ddbdbba7e0db622ca48d1e43509073047ff15fa8--kstars-3.6.2.dmg
To retry an incomplete download, remove the file above.
This seems to happen regularly with updates. You can also do a
brew edit kstars
And substitute the expected checksum in place of the actual and rerun the update. Does sort of defeat the purpose of the cheksum however. It is helpful if you have an environment variable for EDITOR set to something like nano otherwise it defaults to vim.
I use homebrew for almost all software on macOS and therefore for KStars as well. The only time I do not use it is when the package is not available via homebrew, which doesn't happen often. It usually works very well for me and now I know how to solve checksum issues as well if they ever happen again.