Project

General

Profile

Actions

Bug #6662

closed

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

Added by Janos Mattyasovszky over 9 years ago. Updated over 9 years ago.

Status:
Released
Priority:
N/A
Assignee:
Matthieu CERDA
Category:
Server components
Target version:
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

Related issues 2 (0 open2 closed)

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
Actions #1

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

Actions #2

Updated by Alexis Mousset over 9 years ago

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

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
Actions #4

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.

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

Actions #5

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
Actions #6

Updated by Alexis Mousset over 9 years ago

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

Updated by Matthieu CERDA over 9 years ago

Actions #8

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.

Actions #9

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

Also available in: Atom PDF