Project

General

Profile

Bug #6662

rudder-reports has not sufficient dependency to postgresql's version

Added by Janos Mattyasovszky almost 6 years ago. Updated over 5 years ago.

Status:
Released
Priority:
N/A
Assignee:
Matthieu CERDA
Category:
Server components
Target version:
Severity:
User visibility:
Effort required:
Priority:

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

Related issues

Related to Rudder - Bug #6745: Error message when loading rudderRejected2015-06-11Actions
Related to Rudder - Bug #7470: Error when installing rudder : /opt/rudder/bin/rudder-upgrade: line 573: /opt/rudder/bin/rpmvercmp: No such file or directoryReleasedBenoît PECCATTE2015-11-27Actions
#1

Updated by Nicolas CHARLES almost 6 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

#2

Updated by Alexis MOUSSET over 5 years ago

  • Related to Bug #6745: Error message when loading rudder added
#3

Updated by Alexis MOUSSET over 5 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
#4

Updated by Alexis MOUSSET over 5 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.

PR https://github.com/Normation/rudder-packages/pull/683

#5

Updated by Alexis MOUSSET over 5 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Alexis MOUSSET to Matthieu CERDA
#6

Updated by Alexis MOUSSET over 5 years ago

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100
#7

Updated by Matthieu CERDA over 5 years ago

#8

Updated by Vincent MEMBRÉ over 5 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.

#9

Updated by Jonathan CLARKE over 5 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

Also available in: Atom PDF