New answers tagged rpm
Answer from James O'Gorman is absolutely right. One more scenario to add, which I recently encountered, is you need to tell directories owned by RPM package in %files section with a line "%dir /dir/path", so that it will remember all files and directories in RPM database when installed and can be removed (unless contents of the dir not own by that package) ...
Alternative solution: Download the rpm from http://repo.percona.com/testing/centos/7/RPMS/x86_64/ Manually install the rpm sudo rpm -i Percona-Server-server-56-5.6.22-rel71.0.el6.x86_64.rpm
You can install/activate the percona repo with yum install http://www.percona.com/downloads/percona-release/redhat/0.1-3/percona-release-0.1-3.noarch.rpm Now you can use yum install Percona-Server-server-56-5.6.22-rel71.0.el6.x86_64.rpm to install the wanted package (and keep it up2date with yum)
You can set up an x86_64 chroot (assuming the cpu can do both x86_64/ix86), or you can attempt a cross compiler to build x86_64 on ix86. The issue is often that ix86 gcc tools do not support x86_64.
See the %install section of the spec file.
You need to: Clear your yum cache. yum clean all Resync your installed packages with what's in the repos. yum distro-sync
Top 50 recent answers are included