Skip to content

Upstream Packaging: /bin/bash: initdb: command not found #160

Closed
@noelmcloughlin

Description

@noelmcloughlin

Deploy of postfix 9.6 on Ubuntu fails.

Replication

Output:


      ID: postgresql-client-libs
Function: pkg.installed
  Result: True
 Comment: 2 targeted packages were installed/updated.
 Started: 22:29:56.822971
Duration: 14458.556 ms
 Changes:   
          ----------
          libpq-dev:
              ----------
              new:
                  9.6.4-0ubuntu0.17.04.1
              old:
          libpq5:
              ----------
              new:
                  9.6.4-0ubuntu0.17.04.1
              old:
          postgresql-client:
              ----------
              new:
                  1
              old:
          postgresql-client-9.6:
              ----------
              new:
                  9.6.4-0ubuntu0.17.04.1
              old:
          postgresql-client-common:
              ----------
              new:
                  179
              old:

      ID: postgresql-server
Function: pkg.installed
  Result: True
 Comment: 3 targeted packages were installed/updated.
 Started: 22:30:11.289041
Duration: 31987.267 ms
 Changes:   
          ----------
          postgresql-9.6:
              ----------
              new:
                  9.6.4-0ubuntu0.17.04.1
              old:
          postgresql-common:
              ----------
              new:
                  179
              old:
          postgresql-contrib:
              ----------
              new:
                  9.6+179
              old:
          postgresql-contrib-9.6:
              ----------
              new:
                  9.6.4-0ubuntu0.17.04.1
              old:
          postgresql-plpython:
              ----------
              new:
                  1
              old:
          postgresql-plpython-9.6:
              ----------
              new:
                  9.6.4-0ubuntu0.17.04.1
              old:
          sysstat:
              ----------
              new:
                  11.4.3-1
              old:

      ID: postgresql-cluster-prepared
Function: cmd.run
    Name: initdb --pgdata=/var/lib/pgsql/data
  Result: False
 Comment: Command "initdb --pgdata=/var/lib/pgsql/data" run
 Started: 22:30:43.280835
Duration: 289.877 ms
 Changes:   
          ----------
          pid:
              13734
          retcode:
              127
          stderr:
              /bin/bash: initdb: command not found
          stdout:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions