• Bug#1063777: Error: pg_wrapper: pgbench was not found in /usr/lib/postg

    From Jochen Sprickerhof@21:1/5 to All on Mon Feb 12 17:30:02 2024
    Package: postgresql-client
    Version: 16+257
    Severity: normal

    Hi Christoph,

    on a fresh system:

    # apt install postgresql-client
    $ pgbench
    Error: pg_wrapper: pgbench was not found in /usr/lib/postgresql/16/bin

    The executable is in postgresql-16. So I would propose to either move /usr/bin/pgbench to postgresql or /usr/lib/postgresql/16/bin/pgbench to postgresql-client-16.

    Cheers Jochen


    -- System Information:
    Debian Release: trixie/sid
    APT prefers unstable
    APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental') Architecture: amd64 (x86_64)

    Kernel: Linux 6.6.13-amd64 (SMP w/8 CPU threads; PREEMPT)
    Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
    Shell: /bin/sh linked to /usr/bin/dash
    Init: systemd (via /run/systemd/system)
    LSM: AppArmor: enabled

    Versions of packages postgresql-client depends on:
    ii postgresql-client-16 16.2-1

    postgresql-client recommends no packages.

    postgresql-client suggests no packages.

    -- no debconf information

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Christoph Berg@21:1/5 to All on Mon Feb 12 19:00:01 2024
    Control: forwarded -1 https://salsa.debian.org/postgresql/postgresql/-/issues/1

    Re: Jochen Sprickerhof
    The executable is in postgresql-16. So I would propose to either move /usr/bin/pgbench to postgresql or /usr/lib/postgresql/16/bin/pgbench to postgresql-client-16.

    Ack.

    This has already been filed as https://salsa.debian.org/postgresql/postgresql/-/issues/1 .

    I guess I should give it another try, the alternative symlink farms
    were simplified a few postgresql-common versions back.

    Christoph

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)