W: 目标包(Packages)在 /etc/apt/sources.list:51 和 /etc/apt/sources.list.d/sublime-text.list:1 中配置多次

W: 目标包(Packages)在 /etc/apt/sources.list:51 和 /etc/apt/sources.list.d/sublime-text.list:1 中配置多次

冉:sudo apt-get update

输出:

.
.
.
Reading package lists... Done
W: Target Packages (Packages) is configured multiple times in /etc/apt/sources.list:51 and /etc/apt/sources.list.d/sublime-text.list:1

来源列表

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

如何解决?

编辑:我已经提到我该如何修复 apt 错误“W:目标包...被多次配置”?但这并没有什么帮助。

相关内容