Score:0

Can't upgrade or update

in flag
Eve

Whenever i enter the command "sudo apt-get upgrade" or "sudo apt-get update" it will always respond with:

E: Malformed line 1 in source list /etc/apt/sources.list (type)

E: The list of sources could not be read. (edit) @matigo I don't know how to find /etc/apt/sources.list

Soren A avatar
mx flag
So what is the content of the file /etc/apt/sources.list ? Especially the first couple of lines.
in flag
Could you [edit] your question to include the contents of the `/etc/apt/sources.list` file? This will make it much more likely that someone can let you know *exactly* what needs to be done ...
Nmath avatar
ng flag
Also tell us what version and flavor of Ubuntu you are using. It is generally also helpful to post the entire output of problematic commands.
Eve avatar
in flag
Eve
@Nmath i think it's ubuntu 20.04 and i have no idea about what flavor of ubuntu it is.
pLumo avatar
in flag
Please run `head -n1 /etc/apt/sources.list` and copy-paste output to your question (edit the question, not in comments.)
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.