Bug 885236 - Unable to install spacewalk-postgresql
Summary: Unable to install spacewalk-postgresql
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Spacewalk
Classification: Community
Component: Installation
Version: 1.8
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Jan Pazdziora
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: space27
TreeView+ depends on / blocked
 
Reported: 2012-12-07 21:10 UTC by Ryan
Modified: 2017-09-28 17:56 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-12-07 21:30:54 UTC
Embargoed:


Attachments (Terms of Use)

Description Ryan 2012-12-07 21:10:49 UTC
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

Comment 1 Jan Pazdziora 2012-12-07 21:30:54 UTC
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.

Comment 2 Ryan 2012-12-07 22:01:24 UTC
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.

Comment 3 Eric Herget 2017-09-28 17:56:49 UTC
This BZ closed some time during 2.5, 2.6 or 2.7.  Adding to 2.7 tracking bug.


Note You need to log in before you can comment on or make changes to this bug.