Saturday, June 1, 2013

Install httrack using brew on Mac

Typed
brew install httrack
Then I got:-
==> Downloading http://download.httrack.com/httrack-3.46.1.tar.gzAlready downloaded: /Library/Caches/Homebrew/httrack-3.46.1.tar.gz
Error: SHA1 mismatch
Expected: be6328d2ff3cbabd21426b7acc54edcf1ebb76e0
Actual: 237fca7a9c5c63b53c5d0134dac6e5714422384c
Archive: /Library/Caches/Homebrew/httrack-3.46.1.tar.gz
(To retry an incomplete download, remove the file above.)
So I did:-
brew update
Then I got:-
error: The following untracked working tree files would be overwritten by merge:     Library/Formula/libmusicbrainz.rbPlease move or remove them before you can merge.AbortingError: Failure while executing: git pull -q origin refs/heads/master:refs/remotes/origin/master
To fix it, I did:-
cd /usr/local
git fetch origin
git reset --hard origin/master
After that, I could run "brew update" and "brew install httrack" again with no problem. 

Refs
http://forum.httrack.com/readmsg/25812/25794/index.html
http://apple.stackexchange.com/questions/36862/install-homebrew-package-and-ignore-md5-hash
http://stackoverflow.com/questions/10762859/brew-update-the-following-untracked-working-tree-files-would-be-overwritten-by

1 comment:

  1. No comments?! Well, you saved me with this post! Thanks

    ReplyDelete