Checksum issue with MiniRepo

Hey everyone!

I have a private MiniRepo registry and whenever I try to mix deps.get I always get the following error.

** (RuntimeError) Checksum mismatch against registry
    (hex) lib/hex/scm.ex:153: Hex.SCM.update/1
    (mix) lib/mix/dep/fetcher.ex:61: Mix.Dep.Fetcher.do_fetch/3
    (mix) lib/mix/dep/converger.ex:190: Mix.Dep.Converger.all/9
    (mix) lib/mix/dep/converger.ex:201: Mix.Dep.Converger.all/9
    (mix) lib/mix/dep/converger.ex:123: Mix.Dep.Converger.all/7
    (mix) lib/mix/dep/converger.ex:108: Mix.Dep.Converger.all/4
    (mix) lib/mix/dep/converger.ex:51: Mix.Dep.Converger.converge/4
    (mix) lib/mix/dep/fetcher.ex:16: Mix.Dep.Fetcher.all/3

I’m not sure why the checksums would be wrong. Any ideas?

Apologies but pinging @wojtekmach. I’m stumped at this point.

I am also seeing this. Minirepo was working from the clone instructions, but then this started happening randomly.

I believe deleting the rebar.lock file solved this in my case. Not 100% sure about that.

Thanks for posting your findings.

Unfortunately I gave up on MiniRepo due to this issue. Hopefully this can help someone else.

Sorry to hear that. If anyone runs into this (or any other issue) please create an issue on github, ideally with a way to reproduce it, and I’ll be happy to look into it.