elixir-lang / elixir-lang.github.com

Website for Elixir
elixir-lang.org
354 stars 822 forks source link

remove the "apt-key is deprecated" warning #1605

Closed RooSoft closed 2 years ago

RooSoft commented 2 years ago

Trying to install elixir on a Raspberry pi using the official instructions leads to an error.

The sudo apt-key add erlang_solutions.asc command issues this message:

Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).

It's just a warning, but things go wrong starting from that point...

It seems that this is the new way to import the key

cat erlang_solutions.asc | gpg --dearmor > erlang_solutions.gpg
sudo install -o root -g root -m 644 erlang_solutions.gpg /etc/apt/trusted.gpg.d/

And from that point on, it installs successfully.

RooSoft commented 2 years ago

More on that...

From the repository, apt install elixir installs these versions by default

Erlang/OTP 23 [erts-11.1.8] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:1]

Elixir 1.10.3 (compiled with Erlang/OTP 22)

I would have expected at least Elixir 1.13.x and OTP 24...

Is there something I could do to help push those versions up a notch?

josevalim commented 2 years ago

We don’t maintain those packages, but you can reach out to the maintainers. :) thanks for the PR!

josevalim commented 2 years ago

:green_heart: :blue_heart: :purple_heart: :yellow_heart: :heart:

RooSoft commented 2 years ago

We don’t maintain those packages, but you can reach out to the maintainers. :) thanks for the PR!

Sent a message to Erlang Solutions on their website...

Hoping they'll answer in a timely fashion, this outdated package isn't a good look.