Score:-1

E: Type 'sudo' is not known on line 2 in source list /etc/apt/sources.list.d/steam.list

jp flag
sudo apt-get -f install
sudo apt-get update
sudo apt-get autoremove
sudo apt-get dist-upgrade
E: Type 'sudo' is not known on line 2 in source list /etc/apt/sources.list.d/steam.list
E: The list of sources could not be read.
E: Type 'sudo' is not known on line 2 in source list /etc/apt/sources.list.d/steam.list
E: The list of sources could not be read.
E: Type 'sudo' is not known on line 2 in source list /etc/apt/sources.list.d/steam.list
E: The list of sources could not be read.
E: Type 'sudo' is not known on line 2 in source list /etc/apt/sources.list.d/steam.list
E: The list of sources could not be read.
E: Type 'sudo' is not known on line 2 in source list /etc/apt/sources.list.d/steam.list
E: The list of sources could not be read.
E: Type 'sudo' is not known on line 2 in source list /etc/apt/sources.list.d/steam.list
E: The list of sources could not be read.
E: Type 'sudo' is not known on line 2 in source list /etc/apt/sources.list.d/steam.list
E: The list of sources could not be read.
guiverc avatar
cn flag
The directory `/etc/apt/sources.list.d/` is empty on a new Ubuntu (or *flavor*) install, so a user has added an incorrectly formatted file `steam.list` there. The error messages tells you the line and file that needs correction (*note: subsequent lines were not read so may contain errors as well; it stops reading at first line with error so scan the whole file for issues*)
Score:-3
jp flag
sudo rm -r /etc/apt/sources.list.d/steam.list
sudo apt-get update
sudo apt-get install curl
curl -s http://repo.sinew.in/keys/enpass-linux.key | sudo apt-key add
echo "deb http://repo.sinew.in/ stable main" | sudo tee /etc/apt/sources.list.d/enpass.list
sudo apt-get update
sudo apt-get install enpass
in flag
What does this have to do with your question? It looks to be completely unrelated aside from the removal of the offending list file …
user535733 avatar
cn flag
This seems a rather severe solution to the question that you asked. You merely needed to delete one line to undo your mistake. Everything else on this list of commands seems irrelevant to your question, and perhaps counterproductive to future readers.
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.