【问题标题】:About install jenkins on my local ubuntu 17.10 machine关于在我的本地 ubuntu 17.10 机器上安装 jenkins
【发布时间】:2018-09-14 17:25:48
【问题描述】:

我正在尝试在本地安装 jenkins 我尝试以下步骤:-

1) wget -q -O - https://pkg.jenkins.io/debian/jenkins-ci.org.key |须藤 apt-key 添加 -
2) 回声 deb https://pkg.jenkins.io/debian-stable 二进制/ |须藤三通 /etc/apt/sources.list.d/jenkins.list
3) sudo apt-get 更新

然后我得到这个错误:-
E:列表文件 /etc/apt/sources.list.d/elastic- 中的条目 1 格式错误 5.4.1.list(套件)
E: 无法读取源列表。

我试图改变这个文件的模式,但我做不到。这只是可读文件。

在 elastic-5.4.1.list 我发现这个东西:-
德布https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch- 5.4.1.deb

【问题讨论】:

  • 如果您只想运行 Jenkins,请下载 WAR 并从命令行运行。

标签: elasticsearch jenkins


【解决方案1】:

您的 elasticsearch apt 源文件 (elastic-5.4.1.list) 不正确。它必须具有以下格式:

deb https://artifacts.elastic.co/packages/6.x/apt stable main

修复该行后,请确保更新您的 apt 存储库:

apt-get update

详情请参阅文档:https://www.elastic.co/guide/en/elasticsearch/reference/current/deb.html

【讨论】:

    猜你喜欢
    • 2019-04-01
    • 1970-01-01
    • 1970-01-01
    • 2018-09-16
    • 2018-10-07
    • 1970-01-01
    • 1970-01-01
    • 2018-09-01
    • 2018-10-24
    相关资源
    最近更新 更多