Score:0

22.04.1 LTS - Err: https://llvm.org/apt/xenial llvm-toolchain-xenial Release

mm flag

I am trying to update LLVM latest source list with the latest packages from the repositories.

when doing llvm-config --version I get: 14.0.0

When doing sudo apt update OR sudo apt-get update I get the below error.

Hit:10 https://apt.llvm.org/xenial llvm-toolchain-xenial-3.9 InRelease  
Ign:7 https://llvm.org/apt/xenial llvm-toolchain-xenial InRelease       
Ign:9 https://llvm.org/apt/xenial llvm-toolchain-xenial-3.9 InRelease
Err:11 https://llvm.org/apt/xenial llvm-toolchain-xenial Release
  Redirection from https to 'http://apt.llvm.org/xenial/dists/llvm-toolchain-xenial/Release' is forbidden

How to resolve this issue ?

ru flag
talk to llvm.org? They're trying to downgrade from https connection to http which is not permitted, so the question then is why do you have https:// in there when they don't want that to work
us flag
Also, Xenial is 16.04 while you are using 22.04. You have added packages for a wrong version of Ubuntu.
Victor avatar
mm flag
@ArchismanPanigrahi thank you. I will start by removing them.
Victor avatar
mm flag
I was able to resolve this issue by restoring my VM to a date prior to installing LLVM packages. To re-install LLVM I followed the LLVM page https://apt.llvm.org/. I followed the instructions under headings 'Automatic installation script' and 'Default packages'.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.