【问题标题】:How install saltslack in ubuntu 19.10如何在 ubuntu 19.10 中安装 saltslack
【发布时间】:2020-02-01 17:58:40
【问题描述】:

嗨,我在 ubuntu 19.10 中安装 saltslack 时遇到问题

我尝试从这个文档安装 https://docs.saltstack.com/en/latest/topics/tutorials/quickstart.html 并且无法安装 也许对于 ubuntu 请帮忙

sudo sh bootstrap_salt.sh
 *  INFO: Running version: 2020.01.29
 *  INFO: Executed by: sh
 *  INFO: Command line: 'bootstrap_salt.sh '

 *  INFO: System Information:
 *  INFO:   CPU:          GenuineIntel
 *  INFO:   CPU Arch:     x86_64
 *  INFO:   OS Name:      Linux
 *  INFO:   OS Version:   5.3.0-29-generic
 *  INFO:   Distribution: Ubuntu 19.10

 *  INFO: Installing minion
 *  INFO: Found function install_ubuntu_stable_deps
 *  INFO: Found function config_salt
 *  INFO: Found function preseed_master
 *  INFO: Found function install_ubuntu_stable
 *  INFO: Found function install_ubuntu_stable_post
 *  INFO: Found function install_ubuntu_restart_daemons
 *  INFO: Found function daemons_running
 *  INFO: Found function install_ubuntu_check_services
 *  INFO: Running install_ubuntu_stable_deps()
Hit:1  eoan InRelease
Get:2  eoan-updates InRelease [97.5 kB]
Get:3  eoan-backports InRelease [88.8 kB]
Get:4  eoan-security InRelease [97.5 kB]
Get:5  xenial InRelease [11.5 kB]
Ign:6 /saltstack/salt/ubuntu eoan InRelease
Get:7 /ubuntu eoan-updates/main amd64 Packages [197 kB]
Get:8  xenial/partner amd64 Packages [3,120 B]
Get:9  xenial/partner Translation-en [1,672 B]
Err:10 http://ppa.launchpad.net/saltstack/salt/ubuntu eoan Release
  404  Not Found [IP: 91.189.95.83 80]
Ign:11 apt/ubuntu/ubuntu14/latest trusty InRelease
Hit:12 apt/ubuntu/18.04/amd64/latest bionic InRelease
Err:13 apt/ubuntu/ubuntu14/latest trusty Release
  404  Not Found [IP: 13.226.145.74 80]
Get:14 ubuntu eoan-updates/universe amd64 Packages [92.0 kB]
Reading package lists...
 * ERROR: Failed to run install_ubuntu_stable_deps()!!!

【问题讨论】:

    标签: ubuntu


    【解决方案1】:

    在 Ubuntu 下,你应该从包管理器中安装,所以

    apt install salt-master
    

    对于主节点和

    apt install salt-minion
    

    为奴才。或者,您可以在 boostrap shell 脚本中添加“git”标签,以获取从 git 克隆的最新版本。

    【讨论】:

      猜你喜欢
      • 2021-03-29
      • 2020-07-04
      • 1970-01-01
      • 1970-01-01
      • 2021-05-08
      • 1970-01-01
      • 2020-07-06
      • 1970-01-01
      相关资源
      最近更新 更多