IndyNaessens
[RESOLVED] Installing elixir - ubuntu 18.04 - Sources disagree on hashes
Hi,
I’m using ubuntu 18.04 and wanted to install elixir using the erlang-solutions repo.
After doing the following:
- apt install ./erlang-solutions_2.0_all.deb
- apt update
- apt install elixir
I get the following warnings:
W: Sources disagree on hashes for supposely identical version '1:22.1.6-1' of 'erlang-base:amd64'.
W: Sources disagree on hashes for supposely identical version '1:22.1.6-1' of 'erlang-base:amd64'.
W: Sources disagree on hashes for supposely identical version '1:22.1.6-1' of 'erlang-crypto:amd64'.
...
Do you want to continue? [Y/n]
When doing Yes I get the following error for each package:
Hash Sum mismatch
Hashes of expected file:
- SHA256:427e1cc8355eb9b4de298d49241573fbaa73c3a05740f9838d7256ab8c0ad46a
- SHA1:7fb2075530976f473d00d1b274a07278d5897307 [weak]
- MD5Sum:8d042325c1a031a6e77a9b174ed73bf6 [weak]
- Filesize:8044980 [weak]
I guess the erlang-solutions repo is at fault here. Can anyone help me out?
Marked As Solved
IndyNaessens
Issue is fixed. I just did
apt update && apt install elixir
Now everything went as expected. Does anyone know why my issue happened?
Popular in Questions
Hi everyone!
I need implement if…else if…else condition from my elixir code, and anymore of this control flow structures not work proper...
New
In Ruby, I can go:
User.find_by(email: "foobar@email.com").update(email: "hello@email.com")
How can I do something similar in Elixir? ...
New
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
Hi there,
I am working with Ecto-Postgresql and I need to call all of the records from a specific table but the table has 40,000 record...
New
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
I have a another noob question about loop. Since elixir is immutable, while loop is not directly possible.
total = 10
while total != 0
...
New
I’m currently trying to understand how to join three tables using Ecto. All the examples I’ve seen use 2, so maybe I’m just missing somet...
New
Hello, I have map which I want to convert it to string like this:
the map:
%{last_name: "tavakkoli", name: "shahryar"}
the string I ne...
New
Hi all
I want to have a unix time, from the current time plus 1 hour.
DateTime.now + 1 hour
How to get it in elixir?
Thanks
New
ExUnit now has describe blocks which is a welcome addition coming from RSpec. In the docs, it states that nested hierarchies of describe ...
New
Other popular topics
Hi! May someone helps me, please!
I have two apps into an umbrella project: the first one is Database, which manages queries, and the se...
New
Using vs code and installed ElixirLS: support and debugger.
And I got an error popped up on start up says
Failed to run ‘elixir’ comma...
New
I wanted to check elixir version in phoenix because i found that my elixir is 1.5 but when i use Enum.chunk_by it said the function is un...
New
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
Hello all!
I am typing this post from my new MacBook Pro with the M1 chip. I’m loving it so far, and will probably use it as my daily dr...
New
As promised, the first release candidate of Phoenix 1.3.0 is out! This release focuses on code generators with improved project structure...
New
When I run the Plug and I recompile I wind up having to use Ctrl C to quit iex and start again. Witht the help of rlwrap I can use the cu...
New
Hi,
I am new to Elixir. I am trying to use the DateTime component to insert a date into MySQL however the there seems to be no way to fo...
New
ExUnit now has describe blocks which is a welcome addition coming from RSpec. In the docs, it states that nested hierarchies of describe ...
New
Currently suffering from paralysis by [HTTP client] analysis. This is rather unusual in Elixirland as there tends to be consensus on the ...
New







