saltstack-formulas / postgres-formula

http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html
Other
77 stars 283 forks source link

fix(centOS): postgres11 needs libicu installed #308

Closed noelmcloughlin closed 3 years ago

noelmcloughlin commented 3 years ago

PR progress checklist (to be filled in by reviewers)


What type of PR is this?

Primary type

Secondary type

Does this PR introduce a BREAKING CHANGE?

No.

Related issues and/or pull requests

Describe the changes you're proposing

Install libicuon centOS

Pillar / config required to test the proposed changes

Debug log showing how the proposed changes work

Documentation checklist

Testing checklist

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'
saltstack-formulas-travis commented 3 years ago

:tada: This PR is included in version 0.41.5 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: