"Type 'debo' is not known on line 1 in source list /etc/apt/sources.list.d/spotify.list" [duplicate]

Edit the /etc/apt/sources.list.d/spotify.list

sudo nano /etc/apt/sources.list.d/spotify.list

Make sure all lines begin with "deb" or "deb-src" or are comments (they start with "#"), there should be at least one that says "debo" which is a typing error.


The most direct solution is using:

sudo sed -i'.bk' 's/^ *debo /deb /' /etc/apt/sources.list.d/spotify.list

It would remove the extra "o" in your sources type. It is important that you notify the one that provided that file or instructions to create it, so they fix the issue.