我使用以下命令
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.debsudo 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教程和虚拟环境。错误在哪里,如何解决它?
发布于 2017-10-20 22:33:45
输出显示您将Percona版本的.deb文件留在了/etc/apt.sources.d中-将扫描该目录中的文件。把它从那个文件夹移到其他地方,关于Percona版本的消息就会消失。
出现的错误与您已安装的PPA相关(与Percona存储库无关)。您可以找到sudo add-apt-repository --remove ppa:whatever/ppa选项之一的how you can remove it的相关信息
https://stackoverflow.com/questions/46598175
复制相似问题