Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

1 Answer 1

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.