安装percona时出错

时间:2017-10-06 04:15:03

标签: ubuntu percona

我使用此命令

wget https://repo.percona.com/apt/percona-release_0.1-4.$(lsb_release -sc)_all.deb
dpkg -i percona-release_0.1-4.$(lsb_release -sc)_all.deb

sudo apt-get update 并犯了这个错误

N: Ignoring file 'percona-release_0.1-4.xenial_all.deb.1' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'percona-release_0.1-4.xenial_all.deb' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
W: The repository 'http://ppa.launchpad.net/mc3man/trusty-media/ubuntu xenial Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch http://ppa.launchpad.net/mc3man/trusty-media/ubuntu/dists/xenial/main/binary-amd64/Packages  404  Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.

我使用https://www.percona.com/doc/percona-server/LATEST/installation/apt_repo.html教程和虚拟环境。错误在哪里以及如何解决?

1 个答案:

答案 0 :(得分:1)

输出显示您已将Percona版本.deb文件保留在/etc/apt.sources.d内 - 目录将被扫描以查找文件。 将其从该文件夹移到其他地方,关于Percona版本的消息将消失。

您遇到的错误与您安装的PPA(与Percona存储库无关)有关。您可以找到有关how you can remove it的信息,其中一个选项是sudo add-apt-repository --remove ppa:whatever/ppa