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
Updated by Nicolas CHARLES over 9 years ago
- Assignee set to Matthieu CERDA
- Target version set to 2.10.15
Hi Janos,
Thank you for this comprehensive bug report; Matthieu will fix this
Updated by Alexis Mousset over 9 years ago
- Related to Bug #6745: Error message when loading rudder added
Updated by Alexis Mousset over 9 years ago
- Status changed from New to In progress
- Assignee changed from Matthieu CERDA to Alexis Mousset
- Target version changed from 2.10.15 to 3.0.6
Updated by Alexis Mousset over 9 years ago
- Pull Request set to https://github.com/Normation/rudder-packages/pull/683
Rudder >= 3.0 requires postgresql-server >= 8.4, fixing the packages.
Updated by Alexis Mousset over 9 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Alexis Mousset to Matthieu CERDA
Updated by Alexis Mousset over 9 years ago
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
Applied in changeset rudder-packages|521ca765661af10dd229eed36fdfaf7196f2bbb0.
Updated by Matthieu CERDA over 9 years ago
Applied in changeset rudder-packages|a1f4600bda257bc387b61050e7e98cb5eed34953.
Updated by Vincent MEMBRÉ over 9 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 3.0.6 and 3.1.0~rc1 which were released on the 16th June 2015.
- Announcement 3.0 3.1
- Changelog 3.0 3.1
- Download information: https://www.rudder-project.org/site/get-rudder/downloads/
Updated by Jonathan CLARKE almost 9 years ago
- Related to Bug #7470: Error when installing rudder : /opt/rudder/bin/rudder-upgrade: line 573: /opt/rudder/bin/rpmvercmp: No such file or directory added
Actions