Issue
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 rel="nofollow noreferrer">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?
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.
Answered By - Jarack Answer Checked By - Marilyn (WPSolving Volunteer)