How to Fix Error ¨The list of sources could not be read.¨
Hi there i wonder if anyone could help out with this query?
I accidentally managed to delete my software source now when I run the command line sudo apt-get update I get the following error line. 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. Any help would be greatly appreciated. Thanks. |
Start by checking what’s in line 1 of /etc/apt/sources.list.
|
|
Can you paste the output from the following command so that we can have a look at your software sources. Many thanks.
Code:
for i in /etc/apt/sources.list{,.d/*}; do echo file: $i; cat $i; echo ====; done |
All times are GMT -5. The time now is 03:17 PM. |