Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I tried to reinstall sopcast with the following command:

sudo tee -a /etc/apt/sources.list

but nothing happened, then I try the next command:

sudo apt-key adv --keyserver --recv-keys CD30EE56

and I get the following error:

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

Could anyone please help me?

share|improve this question
i have ubuntu 12.04 – petros Aug 5 '12 at 4:56

You have append the second command to the sources.list with tee. Edit your sources.list with sudo nano /etc/apt/sources.list. Remove the "sudo ..." line (should be the last) save and exit Ctrl+O Ctrl+X

Then update your sources with sudo apt-get update and you should be fine again.

share|improve this answer
Hey German thanks for your answer!When i write " sudo nano /etc/apt/sources.list. " it opens the file on terminal but there is nothing there,how i can read the file?the note in the end of the page doesn't help – petros Aug 5 '12 at 5:17
try again without the dot at the end: "sudo nano /etc/apt/sources.list" – Germar Aug 5 '12 at 5:20
That works perfect,Thanks a lot man!!! – petros Aug 5 '12 at 5:24

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.