-1

I was trying to install Moonlight, but following the commands didn't work.

Now I don't care about that any more, but my Software Center and Update Center kept on crashing. I managed to get rid of them through the terminal, but reinstalling them is proving to be a problem I keep on running into.

Output from the terminal, which is as I think a piece of information left over from the attempt to install moonlight.

E: Type 'echo' is not known on line 2 in source list /etc/apt/sources.list.d/mono-xamarin.list E: The list of sources could not be read.

How to I get rid of this and reinstall my Software/Update Center?

0

1 Answer 1

1

Delete the second line from /etc/apt/sources.list.d/mono-xamarin.list

sudo sed -i.bak '2d' /etc/apt/sources.list.d/mono-xamarin.list

sudo apt-get autoremove

sudo apt-get update

If you don't care about Moonlight -- Delete /etc/apt/sources.list.d/mono-xamarin.list

sudo rm /etc/apt/sources.list.d/mono-xamarin.list

sudo apt-get autoremove

sudo apt-get update

For GUI repository selection

sudo software-properties-gtk

enter image description here

Select as per your need and run sudo apt-get update

2
  • Thanks man. getting rid of Moonlight helped get rid of the hang-up. Do you know of any other reliable opensource versions of Silverlight?
    – forrest
    Mar 17, 2015 at 15:01
  • I'm afraid to say that I don't. And I'd like to say that show your gratitude as vote or acceptance.
    – kevy
    Mar 17, 2015 at 16:42

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