【发布时间】:2021-03-31 05:07:21
【问题描述】:
我尝试使用以下方法更新 Ubuntu:
sudo apt update
但我收到如下错误:
E: Failed to fetch http://ppa.launchpad.net/linuxmint-tr/araclar/ubuntu/dists/focal/InRelease 403 Forbidden [IP: 91.189.95.85 80]
E: The repository 'http://ppa.launchpad.net/linuxmint-tr/araclar/ubuntu focal InRelease' is not signed.
N: Updating from such a repository can't be done securely and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://ppa.launchpad.net/thopiekar/pygame/ubuntu focal Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
为了解决这个问题,我通过运行以下命令 grep 了所有启用的二进制源:
grep -r --include '*.list' '^deb ' /etc/apt/sources.list /etc/apt/sources.list.d/
它给出了输出:
/etc/apt/sources.list:deb http://in.archive.ubuntu.com/ubuntu/ focal-updates main restricted
/etc/apt/sources.list:deb http://in.archive.ubuntu.com/ubuntu/ focal-updates main restricted
/etc/apt/sources.list:deb http://in.archive.ubuntu.com/ubuntu/ focal universe
/etc/apt/sources.list:deb http://in.archive.ubuntu.com/ubuntu/ focal-updates universe
/etc/apt/sources.list:deb http://in.archive.ubuntu.com/ubuntu/ focal-updates multiverse
/etc/apt/sources.list:deb http://in.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
/etc/apt/sources.list:deb http://security.ubuntu.com/ubuntu focal-security main restricted
/etc/apt/sources.list:deb http://security.ubuntu.com/ubuntu focal-security universe
/etc/apt/sources.list:deb http://security.ubuntu.com/ubuntu focal-security multiverse
/etc/apt/sources.list.d/windscribe-repo.list:deb https://repo.windscribe.com/ubuntu bionic main
/etc/apt/sources.list.d/google-chrome.list:deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
/etc/apt/sources.list.d/sublime-text.list:deb https://download.sublimetext.com/ apt/stable/
/etc/apt/sources.list.d/thopiekar-ubuntu-pygame-focal.list:deb http://ppa.launchpad.net/thopiekar/pygame/ubuntu focal main
/etc/apt/sources.list.d/linuxmint-tr-ubuntu-araclar-focal.list:deb http://ppa.launchpad.net/linuxmint-tr/araclar/ubuntu focal main
/etc/apt/sources.list.d/swi-prolog-ubuntu-stable-focal.list:deb http://ppa.launchpad.net/swi-prolog/stable/ubuntu focal main
我该怎么办,有什么建议吗?
【问题讨论】:
-
请注意,Stack Overflow 是针对编程问题而不是关于使用或设置 Linux 的问题。请查看What topics can I ask here? 了解更多详情。问题可能适用于Super User 或Ask Ubuntu,但在发布之前请查看他们的帮助。