我想获得Spotify Linux应用程序,但是我必须已经填写了相对简单的说明,因为现在我什么也不能更新,并且不断收到通知,告诉我发生了重大错误。
有人可以帮我删除它或修复它吗?我是Ubuntu的新手,还是一个新手,但是了解一些基本知识,因此请在任何帮助下进行详细介绍:)
我在14.04上运行双启动
C:~$ sudo apt-get purge spotify
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.
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
我不知道这是怎么发生的(也许有人可以启发我),但是解决方案很简单。
以根用户身份打开/etc/apt/sources.list.d/spotify.list
gksu gedit /etc/apt/sources.list.d/spotify.list
从文件中删除所有信息,并将其替换为
deb http://repository.spotify.com stable non-free
保存文件并更新源
sudo apt-get update
现在您可以安装spotify
sudo apt-get install spotify-client
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句