🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.dist
1 messages
1 total messages Started by Ernesto Hernández-Novich Thu, 08 Oct 2026 23:50
Bug#1150362: Missing link to pg_verifybackup
#188
Author: Ernesto Hernández-Novich
Date: Thu, 08 Oct 2026 23:50
86 lines
5326 bytes
Package: postgresql-client-common
Version: 293.pgdg13+1
Severity: normal

Dear Maintainer,

I ran into an error while trying to run `barman verify-backup`
as user `barman`. BARMAN uses `pg_verifybackup` matching the
particular PostgreSQL version. However, it didn't find any

   $ barman verify-backup example 20261008T010002
   Verifying backup '20261008T010002' on server ['example']
   Calling pg_verifybackup
   ERROR: pg_verifybackup not found
   $ which pg_verifybackup
   $ echo $?
   1

Now, BARMAN works fine, because, for instance

   $ which pg_receivewal
   /usr/bin/pg_receivewal
   $ ls -l /usr/bin/pg_receivewal
   lrwxrwxrwx 1 root root 37 Jul 16 04:08 /usr/bin/pg_receivewal ->
   ../share/postgresql-common/pg_wrapper
   $ which pg_basebackup
   /usr/bin/pg_basebackup
   $ ls -l /usr/bin/pg_basebackup
   lrwxrwxrwx 1 root root 37 Jul 16 04:08 /usr/bin/pg_basebackup ->
   ../share/postgresql-common/pg_wrapper

I went ahead and

   # cd /usr/bin/
   ln -s ../share/postgresql-common/pg_wrapper pg_verifybackup

fixing the issue

   $ which pg_verifybackup
   /usr/bin/pg_verifybackup
   $ barman verify-backup example 20261008T010002
   Verifying backup '20261008T010002' on server ['example']
   Calling pg_verifybackup
   backup successfully verified

Since this package is actually built from `postgresql-common` source,
I believe adding

   usr/share/postgresql-common/pg_wrapper usr/bin/pg_verifybackup

to `debian/postgresql-client-common.links` will fix this bug.

I am aware I'm reporting the package on the PGDG version of the
package, but the vanilla Debian package also has it. Being the same
maintainer, I trust this bug will be fixed for PGDG packages too :)

-- System Information:
Debian Release: 13.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500,
'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.111+deb13-amd64 (SMP w/14 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.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-common depends on:
ii  netbase  6.5
ii  perl     5.40.1-6+deb13u1

postgresql-client-common recommends no packages.

postgresql-client-common suggests no packages.

-- no debconf information

-- 
Prof. Ernesto Hernández-Novich - MYS-220C - @iamemhn
Geek by nature, Linux by choice, Debian of course.
If you can't aptitude it, it isn't useful or doesn't exist.
GPG Key Fingerprint = 0064 ADF5 EB5C DE16 99C1 6C56 F2A3 86B5 A757 E5A1
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads