Score:1

Messed up my sudo apt update

li flag

I seem to have messed up the sudo apt update command in Terminal.

sudo apt update:

E: Invalid value set for option Signed-By regarding source https://downloads.plex.tv/repo/deb/ public (not a fingerprint)
E: The list of sources could not be read.

cat /etc/apt/sources.list:

E:

I'm just starting to figure out Ubuntu (complete beginner).

Can someone please help me understand what I've done and how I can fix this?

Armir Saraci ASaraci avatar
li flag
``` asaraci@Saraci1:~$ cat /etc/apt/source.list cat: /etc/apt/source.list: No such file or directory ```
Armir Saraci ASaraci avatar
li flag
I have updated the question with the output but the output was blank
ChanganAuto avatar
us flag
Use the GUI "Software &Updates" instead. The additional sources you added are at Other... tab. Remove the one mentioned in your error message.
KK Patel avatar
in flag
Which Ubuntu version are you using ?
Armir Saraci ASaraci avatar
li flag
I am using 22.10
Armir Saraci ASaraci avatar
li flag
@Nmath - I have update the question, the result does not change
Armir Saraci ASaraci avatar
li flag
@ChanganAuto - i have tried that as well, but it is not opening and am not able to remove the file mentioned in the error message
Artur Meinild avatar
vn flag
Does this answer your question? [How do I restore the default repositories?](https://askubuntu.com/questions/124017/how-do-i-restore-the-default-repositories)
Score:2
in flag

First you need to add key for Plexmedia server. You can do it by executing below command in terminal.

curl https://downloads.plex.tv/plex-keys/PlexSign.key | sudo apt-key add -

You need to generate source list file which is messed up.

You need to edit /etc/apt/source.list file and place below content for Ubuntu 22.10 version. You can do it by executing below command in terminal.

sudo nano /etc/apt/source.list

Place below content in editor and save it.

###### Ubuntu Main Repos
deb http://archive.ubuntu.com/ubuntu/ kinetic main restricted universe multiverse 

###### Ubuntu Update Repos
deb http://archive.ubuntu.com/ubuntu/ kinetic-security main restricted universe multiverse 

After that you should able to run sudo apt update without any error.

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.