Skip to content

Conversation

@noelmcloughlin
Copy link
Contributor

@noelmcloughlin noelmcloughlin commented Jan 7, 2021

PR progress checklist (to be filled in by reviewers)

  • Changes to documentation are appropriate (or tick if not required)
  • Changes to tests are appropriate (or tick if not required)
  • Reviews completed

What type of PR is this?

Primary type

  • [build] Changes related to the build system
  • [chore] Changes to the build process or auxiliary tools and libraries such as documentation generation
  • [ci] Changes to the continuous integration configuration
  • [feat] A new feature
  • [fix] A bug fix
  • [perf] A code change that improves performance
  • [refactor] A code change that neither fixes a bug nor adds a feature
  • [revert] A change used to revert a previous commit
  • [style] Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc.)

Secondary type

  • [docs] Documentation changes
  • [test] Adding missing or correcting existing tests

Does this PR introduce a BREAKING CHANGE?

No.

Related issues and/or pull requests

Describe the changes you're proposing

Install libicu on centOS

Pillar / config required to test the proposed changes

Debug log showing how the proposed changes work

Documentation checklist

  • Updated the README (e.g. Available states).
  • Updated pillar.example.

Testing checklist

  • Included in Kitchen (i.e. under state_top).
  • Covered by new/existing tests (e.g. InSpec, Serverspec, etc.).
  • Updated the relevant test pillar.

Additional context

Error

[ERROR   ] Command '['systemd-run', '--scope', 'yum', '-y', '--disablerepo=*', '--enablerepo=pgdg11', 'install', 'postgresql11-server']' failed with return code: 1
[ERROR   ] stdout: Running scope as unit run-40351.scope.
Resolving Dependencies
--> Running transaction check
---> Package postgresql11-server.x86_64 0:11.10-1PGDG.rhel7 will be installed
--> Processing Dependency: postgresql11-libs(x86-64) = 11.10-1PGDG.rhel7 for package: postgresql11-server-11.10-1PGDG.rhel7.x86_64
--> Processing Dependency: postgresql11(x86-64) = 11.10-1PGDG.rhel7 for package: postgresql11-server-11.10-1PGDG.rhel7.x86_64
--> Processing Dependency: libicuuc.so.50()(64bit) for package: postgresql11-server-11.10-1PGDG.rhel7.x86_64
--> Processing Dependency: libicui18n.so.50()(64bit) for package: postgresql11-server-11.10-1PGDG.rhel7.x86_64
--> Running transaction check
---> Package postgresql11.x86_64 0:11.10-1PGDG.rhel7 will be installed
--> Processing Dependency: libicu for package: postgresql11-11.10-1PGDG.rhel7.x86_64
---> Package postgresql11-libs.x86_64 0:11.10-1PGDG.rhel7 will be installed
---> Package postgresql11-server.x86_64 0:11.10-1PGDG.rhel7 will be installed
--> Processing Dependency: libicuuc.so.50()(64bit) for package: postgresql11-server-11.10-1PGDG.rhel7.x86_64
--> Processing Dependency: libicui18n.so.50()(64bit) for package: postgresql11-server-11.10-1PGDG.rhel7.x86_64
--> Finished Dependency Resolution
Error: Package: postgresql11-server-11.10-1PGDG.rhel7.x86_64 (pgdg11)
           Requires: libicuuc.so.50()(64bit)
Error: Package: postgresql11-11.10-1PGDG.rhel7.x86_64 (pgdg11)
           Requires: libicu
Error: Package: postgresql11-server-11.10-1PGDG.rhel7.x86_64 (pgdg11)
           Requires: libicui18n.so.50()(64bit)
 You could try using --skip-broken to work around the problem
** Found 2 pre-existing rpmdb problem(s), 'yum check' output follows:
rpm-libs-4.11.3-40.el7.x86_64 has missing requires of rpm = ('0', '4.11.3', '40.el7')
rpm-python-4.11.3-40.el7.x86_64 has missing requires of rpm = ('0', '4.11.3', '40.el7')
[ERROR   ] retcode: 1
[ERROR   ] Error occurred installing package(s). Additional info follows:
errors:
    - Running scope as unit run-40351.scope.
      Resolving Dependencies
      --> Running transaction check
11:53
---> Package postgresql11-server.x86_64 0:11.10-1PGDG.rhel7 will be installed
      --> Processing Dependency: postgresql11-libs(x86-64) = 11.10-1PGDG.rhel7 for package: postgresql11-server-11.10-1PGDG.rhel7.x86_64
      --> Processing Dependency: postgresql11(x86-64) = 11.10-1PGDG.rhel7 for package: postgresql11-server-11.10-1PGDG.rhel7.x86_64
      --> Processing Dependency: libicuuc.so.50()(64bit) for package: postgresql11-server-11.10-1PGDG.rhel7.x86_64
      --> Processing Dependency: libicui18n.so.50()(64bit) for package: postgresql11-server-11.10-1PGDG.rhel7.x86_64
      --> Running transaction check
      ---> Package postgresql11.x86_64 0:11.10-1PGDG.rhel7 will be installed
      --> Processing Dependency: libicu for package: postgresql11-11.10-1PGDG.rhel7.x86_64
      ---> Package postgresql11-libs.x86_64 0:11.10-1PGDG.rhel7 will be installed
      ---> Package postgresql11-server.x86_64 0:11.10-1PGDG.rhel7 will be installed
      --> Processing Dependency: libicuuc.so.50()(64bit) for package: postgresql11-server-11.10-1PGDG.rhel7.x86_64
      --> Processing Dependency: libicui18n.so.50()(64bit) for package: postgresql11-server-11.10-1PGDG.rhel7.x86_64
      --> Finished Dependency Resolution
      Error: Package: postgresql11-server-11.10-1PGDG.rhel7.x86_64 (pgdg11)
                 Requires: libicuuc.so.50()(64bit)
      Error: Package: postgresql11-11.10-1PGDG.rhel7.x86_64 (pgdg11)
                 Requires: libicu
      Error: Package: postgresql11-server-11.10-1PGDG.rhel7.x86_64 (pgdg11)
                 Requires: libicui18n.so.50()(64bit)
       You could try using --skip-broken to work around the problem
      ** Found 2 pre-existing rpmdb problem(s), 'yum check' output follows:
      rpm-libs-4.11.3-40.el7.x86_64 has missing requires of rpm = ('0', '4.11.3', '40.el7')
      rpm-python-4.11.3-40.el7.x86_64 has missing requires of rpm = ('0', '4.11.3', '40.el7')
[ERROR   ] User postgres is not available Group postgres is not available
[ERROR   ] Command '['systemd-run', '--scope', 'yum', '-y', '--disablerepo=*', '--enablerepo=pgdg11', 'install', 'postgresql11']' failed with return code: 1
[ERROR   ] stdout: Running scope as unit run-40359.scope.
Resolving Dependencies
--> Running transaction check
---> Package postgresql11.x86_64 0:11.10-1PGDG.rhel7 will be installed
--> Processing Dependency: postgresql11-libs(x86-64) = 11.10-1PGDG.rhel7 for package: postgresql11-11.10-1PGDG.rhel7.x86_64
--> Processing Dependency: libicu for package: postgresql11-11.10-1PGDG.rhel7.x86_64
--> Running transaction check
---> Package postgresql11.x86_64 0:11.10-1PGDG.rhel7 will be installed
--> Processing Dependency: libicu for package: postgresql11-11.10-1PGDG.rhel7.x86_64
---> Package postgresql11-libs.x86_64 0:11.10-1PGDG.rhel7 will be installed
--> Finished Dependency Resolution
Error: Package: postgresql11-11.10-1PGDG.rhel7.x86_64 (pgdg11)
           Requires: libicu
 You could try using --skip-broken to work around the problem
** Found 2 pre-existing rpmdb problem(s), 'yum check' output follows:
rpm-libs-4.11.3-40.el7.x86_64 has missing requires of rpm = ('0', '4.11.3', '40.el7')
rpm-python-4.11.3-40.el7.x86_64 has missing requires of rpm = ('0', '4.11.3', '40.el7')
[ERROR   ] retcode: 1
[ERROR   ] Error occurred installing package(s). Additional info follows:
errors:
    - Running scope as unit run-40359.scope.
      Resolving Dependencies
      --> Running transaction check
      ---> Package postgresql11.x86_64 0:11.10-1PGDG.rhel7 will be installed
      --> Processing Dependency: postgresql11-libs(x86-64) = 11.10-1PGDG.rhel7 for package: postgresql11-11.10-1PGDG.rhel7.x86_64
      --> Processing Dependency: libicu for package: postgresql11-11.10-1PGDG.rhel7.x86_64
      --> Running transaction check
      ---> Package postgresql11.x86_64 0:11.10-1PGDG.rhel7 will be installed
11:54
You could try using --skip-broken to work around the problem
** Found 2 pre-existing rpmdb problem(s), 'yum check' output follows:
rpm-libs-4.11.3-40.el7.x86_64 has missing requires of rpm = ('0', '4.11.3', '40.el7')
rpm-python-4.11.3-40.el7.x86_64 has missing requires of rpm = ('0', '4.11.3', '40.el7')
[ERROR   ] retcode: 1
[ERROR   ] Error occurred installing package(s). Additional info follows:
errors:
    - Running scope as unit run-40359.scope.
      Resolving Dependencies
      --> Running transaction check
      ---> Package postgresql11.x86_64 0:11.10-1PGDG.rhel7 will be installed
      --> Processing Dependency: postgresql11-libs(x86-64) = 11.10-1PGDG.rhel7 for package: postgresql11-11.10-1PGDG.rhel7.x86_64
      --> Processing Dependency: libicu for package: postgresql11-11.10-1PGDG.rhel7.x86_64
      --> Running transaction check
      ---> Package postgresql11.x86_64 0:11.10-1PGDG.rhel7 will be installed
      --> Processing Dependency: libicu for package: postgresql11-11.10-1PGDG.rhel7.x86_64
      ---> Package postgresql11-libs.x86_64 0:11.10-1PGDG.rhel7 will be installed
      --> Finished Dependency Resolution
      Error: Package: postgresql11-11.10-1PGDG.rhel7.x86_64 (pgdg11)
                 Requires: libicu
       You could try using --skip-broken to work around the problem
      ** Found 2 pre-existing rpmdb problem(s), 'yum check' output follows:
      rpm-libs-4.11.3-40.el7.x86_64 has missing requires of rpm = ('0', '4.11.3', '40.el7')
      rpm-python-4.11.3-40.el7.x86_64 has missing requires of rpm = ('0', '4.11.3', '40.el7')
[ERROR   ] State 'postgres_user.present' was not found in SLS 'postgres.manage'

@noelmcloughlin noelmcloughlin changed the title fix(cent7): postgres11 needs libicu installed fix(centOS): postgres11 needs libicu installed Jan 7, 2021
Copy link
Contributor

@vutny vutny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

@noelmcloughlin noelmcloughlin merged commit 6129918 into saltstack-formulas:master Jan 7, 2021
@noelmcloughlin noelmcloughlin deleted the cent7 branch January 7, 2021 22:54
@saltstack-formulas-travis

🎉 This PR is included in version 0.41.5 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants