petrus-jvrensburg

petrus-jvrensburg

Error installing rebar3

I’m using the GitHub - erlef/setup-beam: Set up your BEAM-based GitHub Actions workflow (Erlang, Elixir, Gleam, ...) github action for Continuous Integration. I ran into this error for the first time today:

Run erlef/setup-beam@v1
Parsing version file at .tool-versions
Installing Erlang/OTP OTP-25.3 - built on ubuntu-22.04
Using Elixir v1.14.4 (built for Erlang/OTP 25)
Installing Elixir v1.14.4-otp-25
Running mix local.rebar,--force
  /home/runner/work/_temp/.setup-beam/elixir/bin/mix local.rebar --force
  ** (Mix) Data does not match the given SHA-512 checksum.
  
  Expected: 7a5907453f8f756a004e56af7ec7e835394eb4afbeeaa906d4eac2791f2b0d44b193c317c003f04545354fbe5f79e7b24fe3c3055c16b9ec5bc5a4c4b4340f08
    Actual: dc559ace623406453c424debbcccb3eca3d40403920f6be0e240f5ec7e8f2836886fd3a3d6355e06d924781143f1275c35067e8ad7d1fe0995e35e74dedc6f17

Any idea what might be causing it?

Marked As Solved

petrus-jvrensburg

petrus-jvrensburg

Aah… bumping the Elixir version in my .tool-versions file fixed it for me. This is what my .tool-versions currently looks like:

elixir 1.14.5-otp-25
erlang 25.3

Also Liked

perzanko

perzanko

I’m seeing the same error locally

mix do local.hex --force, local.rebar --force
* creating /Users/perzanko/.asdf/installs/elixir/1.14.2-otp-25/.mix/archives/hex-2.0.6
** (Mix) Data does not match the given SHA-512 checksum.

Expected: 7a5907453f8f756a004e56af7ec7e835394eb4afbeeaa906d4eac2791f2b0d44b193c317c003f04545354fbe5f79e7b24fe3c3055c16b9ec5bc5a4c4b4340f08
  Actual: dc559ace623406453c424debbcccb3eca3d40403920f6be0e240f5ec7e8f2836886fd3a3d6355e06d924781143f1275c35067e8ad7d1fe0995e35e74dedc6f17


Could not fetch rebar3 at:

    https://repo.hex.pm/installs/1.13.0/rebar3-3.15.2

Please download the file above manually to your current directory and run:

    mix local.rebar rebar3 ./rebar3
kevinlang

kevinlang

Here’s the tracking issue. Looks like they are looking into it. :+1:

vish198910

vish198910

Similar issue for me too

mix local.rebar --force is giving this issue too

** (Mix) Could not install Rebar because Mix could not verify authenticity of metadata file at “https://repo.hex.pm/installs/rebar3-1.x.csv”. This may happen because a proxy or some entity is interfering with the download or because you don’t have a public key to verify the download.

You may try again later or check if a new public key has been released in our public keys page: Public keys - Elixir

Where Next?

Popular in Questions Top

srinivasu
How to handle excepions in elixir? Suppose i have A, B, C ,D, E modules. and each module has get() function. A.get() method will call th...
New
gshaw
What is the idiomatic way of matching for not nil in Elixir? E.g., First way: defp halt_if_not_signed_in(conn, signed_in_account) when...
New
ycv005
I have followed this StackOverflow post to install the specific version of Erlang. And When I am running mix ecto.setup then getting fol...
New
SoCreat
i’m a new one to elixir which editor can i use vs code? or atom? Thanks! :smiley:
New
Jim
As a follow up to my earlier question: I have the code compiling and running but not getting a successful login from the rest server. ...
New
sacepums
Hey guys. I'm new to elixir and im really stocked about it. But I ran into a bit of problem - I need to convert a date sting, for examp...
New
stefanchrobot
What’s the safe way to decode a JSON string into a struct? I want to avoid calling String.to_atom. Jason.decode can give me a map with st...
New
mgjohns61585
Could someone help me? I'm making my first elixir program, number guessing game. I can't figure out how to convert the user's guess from ...
New
belgoros
I’m not a pro in using Regex and can’t figure out why the following behaviour happens, especially if we take into account the difference ...
New
sabri
Can someone explain the settings of pool_size of Ecto in config file? and what is the recommend size? Thanks
New

Other popular topics Top

Brian
What is the proper way to load a module from a file in to IEX? In the python world, doing something like this pretty standard: from ....
New
yurko
Here are few pieces of (common) Linux knowledge that we use for reasonably small one server apps. We use Ubuntu but this should work for ...
New
shahryarjb
Hello, I get Persian date from my client and convert it to normal calendar like this: def jalali_string_to_miladi_english_number(persi...
New
William
I would like to know that is there any online source for learning Phoenix Framework for building E-Commerce Store? Any advantage on build...
New
itssasanka
Hi all, Trying to get some more clarity over utc_datetime and naive_datetime for Ecto: https://hexdocs.pm/ecto/Ecto.Schema.html#module-...
New
_russellb
I want to try my hand at web scraping. What tools/libraries do I need to use. I’m hoping to turn this into something professional so don’...
New
grych
Hi folks, Few months ago I have announced the proof-of-concept of the library to manipulate the browsers DOM objects directly from Elixi...
639 49522 488
New
malloryerik
Hi, this is for people who, like me, have had some friction using .html.heex templates in VSCode. The solution seems to be, in a hyphena...
New
vertexbuffer
Hello, can anybody help here..? I have a list of players and I what to delete an element, but every for loop the list is reverting to ori...
New
johnnyicon
Hi all, I've just started learning Elixir and Phoenix Framework, so please pardon my n00bness at this stage. I'm trying to use Postg...
New

We're in Beta

About us Mission Statement