rpm_check_debug vs depsolveがでたぞ

2014-10-03

vagrantにcookしてたら次のようなエラーが

================================================================================
Error executing action `install` on resource 'package[php-mysql]'
================================================================================

Chef::Exceptions::Exec

returned 1, expected 0

Resource Declaration:

In /home/vagrant/chef-solo/cookbooks-3/php/recipes/default.rb

11: package pkg do 12: action :install 13: end 14: end

Compiled Resource:

Declared in /home/vagrant/chef-solo/cookbooks-3/php/recipes/default.rb:11:in `block in from_file'

package("php-mysql") do action [:install] retries 0 retrydelay 2 packagename "php-mysql" version "5.4.33-2.el6.remi" cookbookname :php recipename "default" end

vagrantにsshしてyum install php-mysqlしてみる

Running rpm_check_debug
ERROR with rpm_check_debug vs depsolve:
libmysqlclient.so.16()(64bit) is needed by postfix-2:2.6.6-6.el6_5.x86_64
libmysqlclient.so.16(libmysqlclient_16)(64bit) is needed by postfix-2:2.6.6-6.el6_5.x86_64
 You could try running: rpm -Va --nofiles --nodigest
Your transaction was saved, rerun it with: yum load-transaction /tmp/yum_save_tx-2014-10-03-06-11Hr12mV.yumtx

衝突してるみたい。
とりあえずyum clean allしても直らん

結局問題になっているpackageをyum removeしてもう一度やったら入った。。。

#CentOS  #Vagrant  #chef-solo