简体   繁体   English

Debian Wheezy机器上的木偶未满足依赖项:事实

[英]Puppet on a Debian Wheezy machine Unmet Dependencies: Facter

I am attempting to create a Puppet master server on a Raspberry Pi, but every time I attempt to install the package "puppetmaster-passenger" I get the following error: 我试图在Raspberry Pi上创建Puppet主服务器,但是每次尝试安装软件包“ 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.

I'm working with a brand new installation of Debian Wheezy 7.5 and have run apt-get update. 我正在使用全新安装的Debian Wheezy 7.5,并已运行apt-get更新。 I believe the issue is that one of the dependencies of facter is dmidecode, but dmidecode is not supported on ARM software. 我认为问题在于,factorer的依赖项之一是dmidecode,但ARM软件不支持dmidecode。 I've found a guide for removing the dependency for older versions of puppet, but nothing very recent (most recent: http://blog.csanchez.org/2014/01/23/installing-puppet-3-in-a-beaglebone-or-raspberry-pi/ ). 我找到了删除旧版本puppet依赖项的指南,但最近没有更新(最新版本: http//blog.csanchez.org/2014/01/23/installing-puppet-3-in-a- beaglebone-or-raspberry-pi / )。 What does this mean for getting the Raspberry Pi setup as a Puppet master server? 将Raspberry Pi设置为Puppet主服务器意味着什么? If all I need to do to solve this issue is recompile facter without the dependency, could someone give me advice on how to do that? 如果我要解决此问题所需要做的只是重新编译事实而不依赖项,有人可以给我一些建议吗? Here is a directory with all of the facter versions: http://apt.puppetlabs.com/pool/precise/main/f/facter/ (I'll need to run a version >= 1.7.0) 这是包含所有事实版本的目录: http : //apt.puppetlabs.com/pool/precise/main/f/facter/ (我需要运行> = 1.7.0版本)

Make sure you've configured puppetlabs APT repositories: 确保已配置puppetlabs APT存储库:

eg cat /etc/apt/sources.list.d/puppetlabs.list : 例如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

You can simply install puppet in few steps: 您只需几个步骤即可安装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

Try this please, I hope this command will surely work for you. 请尝试此操作,希望此命令一定能为您工作。

sudo apt-get install puppet=3.7.1-1puppetlabs1 puppet-common=3.7.1-1puppetlabs1 sudo apt-get install puppet = 3.7.1-1puppetlabs1 puppet-common = 3.7.1-1puppetlabs1

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM