Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] postgres.dev state fails on suse #307

Open
noelmcloughlin opened this issue Dec 15, 2020 · 0 comments
Open

[BUG] postgres.dev state fails on suse #307

noelmcloughlin opened this issue Dec 15, 2020 · 0 comments
Labels

Comments

@noelmcloughlin
Copy link
Member

noelmcloughlin commented Dec 15, 2020

Your setup

Formula commit hash / release tag

Versions reports (master & minion)

Pillar / config used

postgres:
  use_upstream_repo: True
  version: 11 # or 12

Bug details

Describe the bug

[ERROR   ] Command '['systemd-run', '--scope', 'zypper', '--non-interactive', '--no-refresh', 'install', '--auto-agree-with-licenses', '--name', '--force', '-
-force-resolution', '--from', 'pgdg-sles-11', 'postgresql11-devel', 'libpqxx']' failed with return code: 104
[ERROR   ] stdout: Loading repository data...
Reading installed packages...
Forcing installation of 'postgresql11-devel-11.10-1PGDG.sles15.x86_64' from repository 'pgdg-sles-11'.
[ERROR   ] stderr: Running scope as unit: run-r461c1fc282fc45818e44ebcc046ceff8.scope
Package 'libpqxx' not found in specified repositories.
[ERROR   ] retcode: 104
[ERROR   ] An error was encountered while installing package(s): Zypper command failure: Running scope as unit: run-r461c1fc282fc45818e44ebcc046ceff8.scope
Package 'libpqxx' not found in specified repositories.
local:
----------
          ID: install-postgres-dev-packages
    Function: pkg.installed
      Result: False
     Comment: An error was encountered while installing package(s): Zypper command failure: Running scope as unit: run-r461c1fc282fc45818e44ebcc046ceff8.scope
              Package 'libpqxx' not found in specified repositories.
     Started: 14:58:04.753630
    Duration: 50918.798 ms
     Changes:
----------
          ID: postgresql-ecg-altinstall
    Function: alternatives.install
        Name: ecg
      Result: True
     Comment: onlyif condition is false
     Started: 14:58:55.674642
    Duration: 1102.99 ms
     Changes:

Summary for local
------------
Succeeded: 1
Failed:    1
------------
Total states run:     2
Total run time:  52.022 s
vagrant@opensuse15:/srv/pillar/saltstack-formulas> sudo -s
opensuse15:/srv/pillar/saltstack-formulas # rpm -qa | grep -i postgre
postgresql11-server-11.10-1PGDG.sles15.x86_64
postgresql11-libs-11.10-1PGDG.sles15.x86_64
postgresql11-11.10-1PGDG.sles15.x86_64
opensuse15:/srv/pillar/saltstack-formulas # zypper in postgresql11-devel
Loading repository data...
Reading installed packages...
Resolving package dependencies...

Problem: nothing provides clang10-devel needed by postgresql11-devel-11.10-1PGDG.sles15.x86_64
 Solution 1: do not install postgresql11-devel-11.10-1PGDG.sles15.x86_64
 Solution 2: break postgresql11-devel-11.10-1PGDG.sles15.x86_64 by ignoring some of its dependencies

Choose from above solutions by number or cancel [1/2/c/d/?] (c): c
opensuse15:/srv/pillar/saltstack-formulas # zypper in clang10-devel
Loading repository data...
Reading installed packages...
'clang10-devel' not found in package names. Trying capabilities.
No provider of 'clang10-devel' found.
Resolving package dependencies...

Nothing to do.

Steps to reproduce the bug

Expected behaviour

Attempts to fix the bug

Additional context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant