0

I was trying to run: sudo apt-get update

The response I received was:

E: Type 'sudo' is not known on line 1 in source list /etc/apt/sources.list
E: The list of sources could not be read.

My questions:

  1. What is sources.list?
  2. What happened?
  3. How do I repair/fix this? I have been using Ubuntu 20.04 and thought I would try upgrade to 22.04. I do not know that much about the inner workings of Ubuntu. I am past 60 and find it difficult to know the command line workings unless I can find it printed somewhere. I cannot remember seeing this anywhere. Can you help?
muru
  • 207,228

0 Answers0