2017-10-06 36 views
0

我用這個命令錯誤而instaling的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易於得到更新 和得到這個錯誤

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教程和虛擬ENV。錯誤在哪裏以及如何解決?

回答

1

輸出顯示您已經在/etc/apt.sources.d之內離開了Percona版本.deb文件 - 掃描目錄中的文件。 將它從該文件夾移出到其他地方,關於Percona版本的消息將消失。

您涉及到您已安裝的PPA(與Percona存儲庫無關)的錯誤。您可以找到有關how you can remove it的信息,其中一個選項是sudo add-apt-repository --remove ppa:whatever/ppa