尝试更新ubuntu时出错:获取失败http://ppa.launchpad.net/linuxmint-tr/arac



我尝试使用更新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 -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

我该怎么办,有什么建议吗?

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

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

这对我有效:

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

如果一切顺利,那就好。否则,就把它抄回来。

相关内容

  • 没有找到相关文章

最新更新