phauxth icon indicating copy to clipboard operation
phauxth copied to clipboard

[BUG] Can't download archive install

Open Adzz opened this issue 4 years ago • 4 comments

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 avatar Apr 15 '20 21:04 Adzz

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.

riverrun avatar Apr 16 '20 03:04 riverrun

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

fnchooft avatar Apr 23 '20 11:04 fnchooft

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.

riverrun avatar May 11 '20 08:05 riverrun

mix archive.install ./phauxth_new.ez

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

dsignr avatar May 07 '21 23:05 dsignr