Hi, The RPM isn’t actually looking at the file but at the file specs of all available RPM’s. You need to install and rpm that provides the binary /usr/bin/psql in it’s metadata. You could build an metadata-only-rpm that depends on all the postgresql-9.x-stuff and provides the necessary files in it’s metadata and secretly creates symlinks underneath.
Met vriendelijke groet, Andreas Dijkman Oracle Technical Consultant Phone: +31(0)50-210 0132 | Mobile: +31(0)6-8115 2982 Cygnis<http://www.cygnis.nl/> | Stationsweg 3B | 9726 AC Groningen Op maandag afwezig On 23 Jul, 2014, at 23:42 , Boyd, Robert <robert.b...@peoplefluent.com<mailto:robert.b...@peoplefluent.com>> wrote: I tried changing the link for /usr/bin/psql to directly link to the binary. That didn't help. I tried removing the link and copying the binary to /usr/bin/psql -- that didn't help either. I take it this means that the error message I'm getting isn't telling me the truth about what the real error is. Robert Boyd Sr. Systems Engineer PeopleFluent p. 919-645-2972 | c. 919-306-4681 e. robert.b...@peoplefluent.com<mailto:robert.b...@peoplefluent.com> -----Original Message----- From: Boyd, Robert Sent: Wednesday, July 23, 2014 5:33 PM To: 'spacewalk-list@redhat.com<mailto:spacewalk-list@redhat.com>' Subject: RE: [Spacewalk-list] upgrading postgres (8.4 > 9.x) on the spacewalk server ? I'm attempting an install of spacewalk 2.2 using postgresql-9.3. I installed and manually configured postgresql. When I attempt to install spacewalk I get this error: yum install spacewalk-postgresql ... many dependencies resolved ... etc ... Error: Package: spacewalk-postgresql-2.2.2-1.el6.noarch (spacewalk) Requires: /usr/bin/psql However there is clearly something there: [root ~]# ll /usr/bin/psql lrwxrwxrwx. 1 root root 28 Jul 21 12:35 /usr/bin/psql -> /etc/alternatives/pgsql-psql [root ~]# ll /etc/alternatives/pgsql-psql lrwxrwxrwx. 1 root root 23 Jul 21 12:35 /etc/alternatives/pgsql-psql -> /usr/pgsql-9.3/bin/psql [root ~]# ll /usr/pgsql-9.3/bin/psql -rwxr-xr-x. 1 root root 447560 Mar 18 03:19 /usr/pgsql-9.3/bin/psql What is this package expecting to find there? Is a symbolic link not good enough? Can I fake it out by copying over the real binary or changing the link to point directly to the binary instead of an intermediate link? Robert Boyd Sr. Systems Engineer PeopleFluent p. 919-645-2972 | c. 919-306-4681 e. robert.b...@peoplefluent.com<mailto:robert.b...@peoplefluent.com> _______________________________________________ Spacewalk-list mailing list Spacewalk-list@redhat.com<mailto:Spacewalk-list@redhat.com> https://www.redhat.com/mailman/listinfo/spacewalk-list
_______________________________________________ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list