Actions
Bug #6662
closedrudder-reports has not sufficient dependency to postgresql's version
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:
Description
On a SLES11 System with the SUSE Repos included, if I install the rudder-reports rpm, it pulls in the too old 8.3 repo, however, the suggested version >= 8.4:
# zypper -v in --no-recommends rudder-reports Verbosity: 1 Non-option program arguments: 'rudder-reports' Initializing Target Checking whether to refresh metadata for RUDDER_304 Checking whether to refresh metadata for SLES11SP3 Loading repository data... Reading installed packages... Force resolution: No Selecting 'rudder-reports-1398866025:3.0.4.release-1.SLES.11.noarch' from repository 'RUDDER_304' for installation. Resolving package dependencies... Force resolution: No The following NEW packages are going to be installed: libpq5 9.1.15-0.3.1 postgresql 8.3.23-0.4.1 postgresql-init 9.1-0.6.14.1 postgresql-server 8.3.23-0.4.1 rsyslog-module-pgsql 5.10.1-0.11.1 rudder-reports 1398866025:3.0.4.release-1.SLES.11 The following packages are not supported by their vendor: libpq5 9.1.15-0.3.1 postgresql 8.3.23-0.4.1 postgresql-init 9.1-0.6.14.1 postgresql-server 8.3.23-0.4.1 rsyslog-module-pgsql 5.10.1-0.11.1 rudder-reports 1398866025:3.0.4.release-1.SLES.11 6 new packages to install.
It might be because the RPM is only asking for >= 8:
# rpm -q --requires -p ./noarch/rudder-reports-3.0.4.release-1.SLES.11.noarch.rpm postgresql-server >= 8 rsyslog >= 4 rsyslog-module-pgsql >= 4 /bin/sh /bin/sh rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadIsLzma) <= 4.4.2-1 # zypper wp 'postgresql-server >= 8' Loading repository data... Reading installed packages... S | Name | Type | Version | Arch | Repository --+---------------------+---------+--------------+--------+----------- | postgresql-server | package | 8.3.23-0.4.1 | x86_64 | SLES11SP3 | postgresql91-server | package | 9.1.15-0.3.1 | x86_64 | SLES11SP3 | postgresql91-server | package | 9.1.12-0.3.1 | x86_64 | SLES11SP3 | postgresql91-server | package | 9.1.9-0.3.1 | x86_64 | SLES11SP3
It could be solved by using >= 8.4, that would pull in the 9.1 available:
# zypper wp 'postgresql-server >= 8.4' Loading repository data... Reading installed packages... S | Name | Type | Version | Arch | Repository --+---------------------+---------+--------------+--------+----------- | postgresql91-server | package | 9.1.15-0.3.1 | x86_64 | SLES11SP3 | postgresql91-server | package | 9.1.12-0.3.1 | x86_64 | SLES11SP3 | postgresql91-server | package | 9.1.9-0.3.1 | x86_64 | SLES11SP3
Actions