Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Can't download archive install #118

Open
Adzz opened this issue Apr 15, 2020 · 4 comments
Open

[BUG] Can't download archive install #118

Adzz opened this issue Apr 15, 2020 · 4 comments
Assignees
Labels

Comments

@Adzz
Copy link

Adzz commented Apr 15, 2020

Environment

  • Elixir & Erlang/OTP versions (elixir --version): elixir 1.10.2 erlang 22.2.8
  • Operating system: unix

Current behavior

When I try this:

mix archive.install https://github.com/riverrun/phauxth_installer/raw/master/archives/phauxth_new.ez

I get this:

** (Mix) fetching from URIs require a checksum to be given

Could not run archive.install for:

    https://github.com/riverrun/phauxth_installer/raw/master/archives/phauxth_new.ez

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

    mix archive.install ./phauxth_new.ez

Am I doing something wrong?

@Adzz Adzz added the bug label Apr 15, 2020
@riverrun
Copy link
Owner

Thanks for raising this issue. It looks like the way archives are installed has changed recently. I will look into this at the weekend and get back to you soon.

@fnchooft
Copy link

fnchooft commented Apr 23, 2020

It is not only your package -> i had the same issue with "mix eqc.install --mini". Seems to be something more generic.
tony612/eqc_ex@43759ba - maybe this points into the right direction.

@riverrun
Copy link
Owner

The way mix archive.install works has changed, and so you cannot install directly from a url anymore.

I need to look into this further, but for the time being, you will still be able to install the archive by downloading the archive and then running mix archive.install ./phauxth_new.ez.

@dsignr
Copy link

dsignr commented May 7, 2021

mix archive.install ./phauxth_new.ez

Still fails with ** (Mix) Installation failed: invalid archive file unfortunately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants