删除原子时出现以下错误

删除原子时出现以下错误

我尝试使用以下方法从 ubuntu 16.04 卸载 atom

sudo apt remove atom || sudo apt remove --purge atom

命令和以下是错误,请帮我解决这个问题。

E: Malformed entry 1 in list file /etc/apt/sources.list.d/sublime-text.list (Suite)    
E: The list of sources could not be read.    
E: Malformed entry 1 in list file /etc/apt/sources.list.d/sublime-text.list (Suite)    
E: The list of sources could not be read.

运行以下命令时

cat /etc/apt/sources.list.d/sublime-text.list

这是输出:debhttps://download.sublimetext.com/apt/dev/

cat 命令的输出

答案1

使用文本编辑器打开该文件nano并添加空格,如下所示:

  1. sudo nano /etc/apt/sources.list.d/sublime-text.list

    deb https://download.sublimetext.com/ apt/dev/
    

然后运行sudo apt update,并重试。

相关内容