gpt4 book ai didi

linux - Debian Wheezy 机器上的 Puppet 未满足的依赖关系 : Facter

转载 作者:太空宇宙 更新时间:2023-11-04 03:54:48 25 4
gpt4 key购买 nike

我尝试在 Raspberry Pi 上创建 Puppet master 服务器,但每次尝试安装包“puppetmaster-passenger”时都会收到以下错误:

pi@raspberrypi ~ $ sudo apt-get install puppetmaster-passenger

The following packages have unmet dependencies:
puppetmaster-passenger : Depends: puppetmaster-common (= 3.6.2-1puppetlabs1) but it is not going to be intalled
Depends: facter (>= 1.7.0) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

我正在使用全新安装的 Debian Wheezy 7.5 并运行 apt-get update。我认为问题在于,facter 的依赖项之一是 dmidecode,但 ARM 软件不支持 dmidecode。我找到了一个删除对旧版本 puppet 的依赖性的指南,但没有任何最新的内容(最新的: http://blog.csanchez.org/2014/01/23/installing-puppet-3-in-a-beaglebone-or-raspberry-pi/ )。这对于将 Raspberry Pi 设置为 Puppet 主服务器意味着什么?如果解决这个问题我需要做的就是重新编译而不依赖依赖项,有人可以给我关于如何做到这一点的建议吗?这是包含所有因素版本的目录:http://apt.puppetlabs.com/pool/precise/main/f/facter/ (我需要运行 >= 1.7.0 的版本)

最佳答案

确保您已配置 puppetlabs APT 存储库:

例如cat/etc/apt/sources.list.d/puppetlabs.list:

# Puppetlabs products
deb http://apt.puppetlabs.com wheezy main
deb-src http://apt.puppetlabs.com wheezy main

# Puppetlabs dependencies
deb http://apt.puppetlabs.com wheezy dependencies
deb-src http://apt.puppetlabs.com wheezy dependencies

您只需几个步骤即可安装 puppet:

  1. wget http://apt.puppetlabs.com/puppetlabs-release-wheezy.deb
  2. dpkg -i puppetlabs-release-wheezy.deb
  3. apt-get update
  4. apt-get install puppetmaster-passenger

关于linux - Debian Wheezy 机器上的 Puppet 未满足的依赖关系 : Facter,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25125039/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com