Solution 1:

For future users: get the newer version/a working link from https://julialang.org/downloads/

# go to your user folder
cd ~
# get julia
wget https://julialang-s3.julialang.org/bin/linux/x64/1.3/julia-1.3.0-linux-x86_64.tar.gz
# extract the file (eXtract File as options)
tar xf julia-1.3.0-linux-x86_64.tar.gz
# Create a shortcut (a soft link) that's places in a globally accessible folder
sudo ln -s ~/julia-1.3.0/bin/julia /usr/local/bin/julia

Now you can run julia anywhere.

Solution 2:

It seems like you have broken packages. To fix the problem, you might want to try entering this into the terminal:

sudo sh -c "apt-get update;apt-get dist-upgrade;apt-get autoremove;apt-get autoclean"

Also enter this into the terminal:

sudo apt --fix-broken install

This should fix up your broken packages. Now try installing Julia again.