冉:sudo apt-get update
输出:
.
.
.
Reading package lists... Done
W: Skipping acquire of configured file 'Sources' as repository 'https://download.sublimetext.com apt/stable/ InRelease' does not seem to provide it (sources.list entry misspelt?)
来源.list
deb http://security.ubuntu.com/ubuntu bionic-security main restricted
# deb-src http://security.ubuntu.com/ubuntu bionic-security main restricted
deb http://security.ubuntu.com/ubuntu bionic-security universe
# deb-src http://security.ubuntu.com/ubuntu bionic-security universe
deb http://security.ubuntu.com/ubuntu bionic-security multiverse
deb https://download.sublimetext.com/ apt/stable/
deb-src https://download.sublimetext.com/ apt/stable/
# deb-src http://security.ubuntu.com/ubuntu bionic-security multiverse
deb http://apt.postgresql.org/pub/repos/apt/ precise-pgdg main
如何解决?
编辑:我提到了 Unable to run Sublime Text 3 on Ubuntu 18.10但这没有帮助。
以编程方式使用
sed
,您可以运行此命令来注释以下deb-src
行download.sublimetext.com
:结果将是相同的。
以 root 身份通过 `nano` 打开 `/etc/apt/sources.list`。
点击Ctrl+ W,
deb-src https://download.sublimetext.com/ apt/stable/
在搜索栏输入,然后你可以#
在行首添加评论——你也可以完全删除该行。再次运行
sudo apt update
,看看你是否会得到同样的错误。