重复sources.list条目

时间:2018-06-03 14:50:52

标签: elasticsearch ubuntu-14.04

我错误地安装了elasticsearch

$sudo apt-get install -y elasticsearch


W: Duplicate sources.list entry https://artifacts.elastic.co/packages/6.x/apt/ stable/main amd64 Packages (/var/lib/apt/lists/artifacts.elastic.co_packages_6.x_apt_dists_stable_main_binary-amd64_Packages)
    W: Duplicate sources.list entry https://artifacts.elastic.co/packages/6.x/apt/ stable/main amd64 Packages (/var/lib/apt/lists/artifacts.elastic.co_packages_6.x_apt_dists_stable_main_binary-amd64_Packages)
    W: Duplicate sources.list entry https://artifacts.elastic.co/packages/6.x/apt/ stable/main i386 Packages (/var/lib/apt/lists/artifacts.elastic.co_packages_6.x_apt_dists_stable_main_binary-i386_Packages)
    W: Duplicate sources.list entry https://artifacts.elastic.co/packages/6.x/apt/ stable/main i386 Packages (/var/lib/apt/lists/artifacts.elastic.co_packages_6.x_apt_dists_stable_main_binary-i386_Packages)
    W: You may want to run apt-get update to correct these problems
    E: Sub-process /usr/bin/dpkg returned an error code (1)

知道如何修复???

0 个答案:

没有答案