Skip to content

mix local.rebar --force produces an unmatched checksum #12615

@gilacost

Description

@gilacost

Elixir and Erlang/OTP versions

❯ elixir -v
Erlang/OTP 25 [erts-13.2] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] [jit]

Elixir 1.14.4 (compiled with Erlang/OTP 25)

Operating system

macOS 13.0, BuildVersion: 22A380, ventura

Current behavior

❯ mix local.rebar --force 
** (Mix) Data does not match the given SHA-512 checksum.

Expected: 7a5907453f8f756a004e56af7ec7e835394eb4afbeeaa906d4eac2791f2b0d44b193c317c003f04545354fbe5f79e7b24fe3
c3055c16b9ec5bc5a4c4b4340f08
  Actual: dc559ace623406453c424debbcccb3eca3d40403920f6be0e240f5ec7e8f2836886fd3a3d6355e06d924781143f1275c3506
7e8ad7d1fe0995e35e74dedc6f17


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

Notes: This is affecting any action that uses setup-beam or any docker file that pulls rebar via mix as part of their building process. 😅

Expected behavior

A matching checksum between the downloaded rebar3 and the expected one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions