Score:0

Trouble with apt — "The list of sources could not be read"

af flag

I am using Ubuntu 20.04.3 LTS.

~ sudo apt update
E: Conflicting values set for option Signed-By regarding source https://apt.kitware.com/ubuntu/ focal: /usr/share/keyrings/kitware-archive-keyring.gpg !=
E: The list of sources could not be read.

As a total newbie, I have no idea what to do. Any guidance would be most appreciated. Hopefully, a similar question has been asked in the past and one of you can kindly link to it. My search for duplicates was not very successful.

Knud Larsen avatar
by flag
https://apt.kitware.com/ : If you really think you still need this cmake repo, please run the script `kitware-archive.sh`
af flag
@KnudLarsen Thank you. If I recall correctly, I had the same error message when I tried to run the script `kitware-archive.sh`. Eventually, I managed to solve the problem.
Score:0
af flag

Finally, I solved the problem by commenting the following line in file /etc/apt/sources.list.

deb [signed-by=/usr/share/keyrings/kitware-archive-keyring.gpg] https://apt.kitware.com/ubuntu/ focal main # disabled on upgrade to focal
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.