jayjanssen / percona-xtradb-cluster-tutorial

NOTE: This repo has been rehomed here: https://github.com/percona/xtradb-cluster-tutorial
75 stars 22 forks source link

puppet failed to install sysbench #23

Closed lefred closed 12 years ago

lefred commented 12 years ago

notice: /Stage[main]/Percona::Cluster::Packages/Package[Percona-XtraDB-Cluster-client.x8664]/ensure: created err: /Stage[main]/Misc/Package[sysbench]/ensure: change from absent to present failed: Execution of '/bin/rpm -i --oldpackage /vagrant/modules/misc/files/sysbench-0.5-3.el6.x86_64.rpm' returned 1: error: Failed dependencies: libaio.so.1()(64bit) is needed by sysbench-0.5-3.el6.x86_64 libaio.so.1(LIBAIO_0.1)(64bit) is needed by sysbench-0.5-3.el6.x86_64 libaio.so.1(LIBAIO_0.4)(64bit) is needed by sysbench-0.5-3.el6.x86_64

it's needed or to install libaio before it (it uses rpm -i and not yum) or install it after we have installed all percona packages has they also need libaio (maybe the easiest way to fix it)

jayjanssen commented 12 years ago

See if https://github.com/jayjanssen/percona-xtradb-cluster-tutorial/tree/issue_23 fixes the issue for you.

jayjanssen commented 12 years ago

https://github.com/jayjanssen/percona-xtradb-cluster-tutorial/commit/67858731092854ddddd6edd21df3c400372e3870