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.
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
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.