Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Getting error while installing LLVM Ubuntu nightly packages

I have Ubuntu 16.04 server and want to install LLVM packages there.
I run bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)" command from https://apt.llvm.org, but get an error

Err:32 https://apt.llvm.org/xenial llvm-toolchain-xenial-14/main amd64 Packages
  404  Not Found
Fetched 200 kB in 2s (89.5 kB/s)
Reading package lists... Done
W: The repository 'http://apt.llvm.org/xenial llvm-toolchain-xenial-14 Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch https://apt.llvm.org/xenial/dists/llvm-toolchain-xenial-14/main/binary-amd64/Packages  404  Not Found
E: Failed to fetch https://apt.llvm.org/xenial/dists/llvm-toolchain-xenial-14/main/binary-all/Packages  404  Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.

Now I can’t even run sudo apt-get update and get the very same error.
How can I fix this or revert back?

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

Looking at the LLVM website, 16.04 reached EOL in 2021, so packages from the LLVM source were disabled.

I’d recommend updating to LTS.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading