I keep getting the error:
E: The repository 'http://apt.llvm.org/bionic bionic Release' does not have a Release file.
when I try to install llvm. At the bottom of the source file (/etc/apt/sources.list
), it is (what I think should be) the repository
...
deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-9 main
I'm not sure if it hasn't been sourced correctly or if it's missing anything. Any suggestion would be welcomed. Thanks.
grep "apt.llvm" /etc/apt/sources.list /etc/apt/sources.list.d/*
? – Kulfy Feb 17 '20 at 16:23deb https://apt.llvm.org/bionic/ llvm-toolchain-bionic-10 main
instead ofdeb https://apt.llvm.org/bionic/ bionic llvm-toolchain-bionic-10 main
. Tip: Never add 3rd party repositories in sources.list. Instead put them in something.list in /etc/apt/sources.list.d – Kulfy Feb 17 '20 at 17:27sudo bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)"
that modifies the source file. There's probably some way to modify the command in order to achieve what you're suggesting but I'm just not familiar with it. Thanks. – afernandezody Feb 17 '20 at 18:35