Description of problem: Unable to resolve dependencies when running `yum install spacewalk-postgresql`. Version-Release number of selected component (if applicable): spacewalk-postgresql-1.8.6-1 How reproducible: Every time. Steps to Reproduce: 1.`yum install spacewalk-postgresql` Actual results: --> Processing Dependency: /usr/bin/psql for package: spacewalk-postgresql-1.8.6-1.el6.noarch --> Finished Dependency Resolution Error: Package: spacewalk-postgresql-1.8.6-1.el6.noarch (spacewalk) Requires: /usr/bin/psql You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest Expected results: Successful dependency resolution and installation of all required packages. Additional info: System is running Postgresql 9.2.1 from Postgresql's YUM repository. /usr/bin/psql exists. It is a symlink: lrwxrwxrwx. 1 root root 28 Dec 7 14:12 /usr/bin/psql -> /etc/alternatives/pgsql-psql
Spacewalk assumes you use PostgreSQL distributed with the OS on which you install the server. If you install different rpms from different repositories, the results may be undefined as those packages may provide different paths or versions. If you don't like the Requires list in the spacewalk-postgresql package, just don't use it and install all its dependencies manually. The package is really just a list of Requires, it has no other content per se.
Thank you. Just wanted to confirm that using postgresql distributed with the OS works. I guess it did not work with /usr/bin/psql being a symlink.
This BZ closed some time during 2.5, 2.6 or 2.7. Adding to 2.7 tracking bug.