无法从 Ubuntu 16.04 LTS 中删除 Sublime Text

无法从 Ubuntu 16.04 LTS 中删除 Sublime Text

我正在使用 Ubuntu 16.04 LTS,其中出现了以下消息:-

An error occurred, please run Package Manager from the right-click from 
the right click window or apt-get in a terminal to see what is wrong. The 
error message was:'Error: Opening the cache (E:Malformed line 1 in source
list /etc/apt/sources.list.d/sublime-text.list(type), E:the list of sources
could not be read.)'.

我尝试使用 Ubuntu 软件甚至sudo apt-get remove sublime-text在终端中运行来删除 Sublime Text。但我仍然无法删除 Sublime Text。

当我运行时sudo apt-get update,出现以下消息:-

E: Malformed line 1 in source list /etc/apt/sources.list.d/sublime-text.list (type)
E: The list of sources could not be read.

我该如何解决这个问题?

相关内容