为什么我想更新 ubuntu 20.04 时在终端中出现存储库错误?
Why do i get repository error in terminal when i want to update ubuntu 20.04?
当我在终端中使用 sudo apt update 命令查看是否有新的软件包更新时,我收到如下存储库错误:
E: The repository 'http://ppa.launchpad.net/skunk/pepper-flash/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.
我该如何解决?
- 打开终端。
- 然后:
cd /etc/apt
- 然后:
grep -Ril "pepper-flash" .
- 然后清除或评论您在上一步收到的文件中与“pepper-flash”repo 相关的条目。
- 然后
sudo apt update
假设您检测到存储库定义在
sources.list.d/skunk-ubuntu-pepper-flash-focal.list.save
sources.list.d/skunk-ubuntu-pepper-flash-focal.list
然后运行命令sudo rm sources.list.d/skunk-ubuntu-pepper-flash-focal.list*
当我在终端中使用 sudo apt update 命令查看是否有新的软件包更新时,我收到如下存储库错误:
E: The repository 'http://ppa.launchpad.net/skunk/pepper-flash/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.
我该如何解决?
- 打开终端。
- 然后:
cd /etc/apt
- 然后:
grep -Ril "pepper-flash" .
- 然后清除或评论您在上一步收到的文件中与“pepper-flash”repo 相关的条目。
- 然后
sudo apt update
假设您检测到存储库定义在
sources.list.d/skunk-ubuntu-pepper-flash-focal.list.save
sources.list.d/skunk-ubuntu-pepper-flash-focal.list
然后运行命令sudo rm sources.list.d/skunk-ubuntu-pepper-flash-focal.list*