【问题标题】:Getting error when tried to update ubuntu :Failed to fetch http://ppa.launchpad.net/linuxmint-tr/araclar/ubuntu/dists/focal/InRelease 403 Forbidden尝试更新 ubuntu 时出错:无法获取 http://ppa.launchpad.net/linuxmint-tr/araclar/ubuntu/dists/focal/InRelease 403 Forbidden
【发布时间】: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 UserAsk Ubuntu,但在发布之前请查看他们的帮助。

标签: linux ubuntu apt


【解决方案1】:

根据https://launchpad.net/~linuxmint-tr/+archive/ubuntu/focalbase你需要运行:

sudo add-apt-repository ppa:linuxmint-tr/focalbase

sudo apt-get update 

【讨论】:

【解决方案2】:

这对我有用:

sudo mv /etc/apt/sources.list.d/linuxmint-tr-ubuntu-araclar-focal.list* /tmp/
sudo apt update
echo $?

如果一切顺利,那就好了。否则,只需将其复制回来。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2019-03-17
    • 1970-01-01
    • 2017-10-20
    • 1970-01-01
    • 2016-01-31
    • 2016-03-10
    • 1970-01-01
    相关资源
    最近更新 更多