Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
W:Ignoring file 'spotify.listsudo' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension, E:Type 'sudo' is not known on line 2 in source list /etc/apt/sources.list.d/spotify.list, E:The list of sources could not be read., W:Ignoring file 'spotify.listsudo' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension, W:Ignoring file 'spotify.listsudo' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension, E:The package lists or status file could not be parsed or opened.
So it got rid of the sportify file but now it wont update anymore when I go sudo apt-get update
Code:
shawn@shawn-Aspire-T690:~$ sudo apt-get update
[sudo] password for shawn:
E: Type 'sudo' is not known on line 2 in source list /etc/apt/sources.list.d/spotify.list
E: The list of sources could not be read.
shawn@shawn-Aspire-T690:~$
And in when I open the synaptic package manager i get this
Code:
E: Type 'sudo' is not known on line 2 in source list /etc/apt/sources.list.d/spotify.list
E: The list of sources could not be read.
Go to the repository dialog to correct the problem.
E: _cache->open() failed, please report.
You must have sudo at the beginning of line #2 in that file. You need to remove it. The contents of the file should look like the following (as stated in post #2):
You must have sudo at the beginning of line #2 in that file. You need to remove it. The contents of the file should look like the following (as stated in post #2):
Code:
deb http://repository.spotify.com stable non-free
Ok so I typed in cat /etc/apt/sources.list.d/spotify.list and it said "sudo apt-get update"
So I deleted all the spotify stuff using that awesome sudo rm thing u told me and i did the nano thing too and now its working and my computers updating again. And I really appreciate your help bro. Pss I dont think you would have a link to a proper spotify install guide for 32bit lxle?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.