簡體   English   中英

嘗試更新 ubuntu 時出現錯誤:無法獲取 http://ppa.launchpad.net/linuxmint-tr/araclar/ubuntu/dists/focal/InRelease 403 Forbidden

[英]Getting error when tried to update ubuntu :Failed to fetch http://ppa.launchpad.net/linuxmint-tr/araclar/ubuntu/dists/focal/InRelease 403 Forbidden

我嘗試使用以下方法更新 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/

這給了 output:

/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 $?

如果一切順利,那就好了。 否則,只需將其復制回來。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM