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'm having a problem with Software Center since I tried to add Spotify repositories to sources.list. It doesn't open at all.

I tried reinstalling Software Center, but it sends this error:

E:Type «http://repository.spotify.com» is not known on line 59 in source list /etc/apt/sources.list

I'm not sure if this is the real problem, but apart from this everything seems to be ok.

share|improve this question
up vote 1 down vote accepted

Edit /etc/apt/sources.list to fix the broken lines.

To do this, run this command in a Terminal with Ctrl+Alt+T:

sudo -H gedit /etc/apt/sources.list

Find and comment or delete line 59. It should look like:

deb http://repository.spotify.com ...

Save the file and quit the text editor. Then run this command in a terminal:

sudo apt-get update
share|improve this answer

Your Answer

 
discard

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.