clojars

http://clojars.org discussion and “support”, see http://status.clojars.org for status.
pithyless 2020-06-04T17:14:29.023700Z

Any ideas why this may be happening?

❯ clj -Sforce -Sdeps '{:deps {meander/epsilon {:mvn/version "0.0.421"}}}'
Error building classpath. Could not transfer artifact meander:epsilon:jar:0.0.421 from/to clojars (<https://repo.clojars.org/>): Range Not Satisfiable (416)
I can fetch earlier versions:
❯ clj -Sforce -Sdeps '{:deps {meander/epsilon {:mvn/version "0.0.411"}}}'
Downloading: meander/epsilon/0.0.411/epsilon-0.0.411.pom from clojars
As far as I can tell, the version does exist and others can download it: https://clojars.org/meander/epsilon. I'm based out of Europe; any chance some cache or cdn is stale?

2020-06-04T17:15:17.024300Z

I'll try to purge it from the CDN and see if that helps, one sec

2020-06-04T17:18:40.024700Z

@pithyless I purged the jar and pom, can you try again?

pithyless 2020-06-04T17:19:29.024900Z

still no-go

2020-06-04T17:19:43.025100Z

Is that the full output?

pithyless 2020-06-04T17:20:05.025500Z

yes

alexmiller 2020-06-04T17:21:25.026400Z

you might need to rm -rf ~/.m2/repository/meander/epsilon - there is some repo metadata that gets cached

2020-06-04T17:22:53.027200Z

Thanks @alexmiller! If that doesn't work, I can purge the signatures/checksums as well in case the issue is with one of them

pithyless 2020-06-04T17:25:06.028300Z

That fixed it. Thanks @alexmiller and @tcrawley for the fast response!

2020-06-04T17:25:14.028700Z

My pleasure!

pithyless 2020-06-04T17:26:48.030100Z

"Have you tried turning it off and on again?" Clojars is such a solid and stable silent partner in everyday development, I never even considered it might be a caching issue until I ruled everything else out. 🙂

2020-06-04T17:26:57.030300Z

heh