🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #188

Bug#1150362: Missing link to pg_verifybackup

#188
From: 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
Technical Details
Message-ID: <NM625-4m2R-3@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Ernesto Hernández-Novich <emhn@usb.ve>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1150362: Missing link to pg_verifybackup
Date: Fri, 09 Oct 2026 01:50:01 +0200
Message-ID: <NM625-4m2R-3@gated-at.bofh.it>
X-Original-To: submit@bugs.debian.org
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Thu Oct  8 23:43:10 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.451
Reply-To: Ernesto Hernández-Novich <emhn@usb.ve>, 1150362@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: team+postgresql@tracker.debian.org
X-Debian-Pr-Message: report 1150362
X-Debian-Pr-Package: postgresql-client-common
X-Debian-Pr-Source: postgresql-common
X-Gm-Message-State: AFuF++n9Wb3StdWOw7ZIEOWByX4iUSgXmt7VKD3BVh/nwKndLjwnvhSt
	W5fCV8p9+JORRwJPGpDRsYu3LHysmcvXJZTI/4f9oN3A6y9bDnlbxIIYK6rHnV5OlRZ40kFY707
	C7MHH
X-Gm-Gg: AYBFou1r7Sa1exFIHrZ760k6QpjfcZGif/2+XaXQGTZCNikUbtpKV5Djv4+I3cWtrya
	e0i+egZx7Pkd7kYkLORLGkHqMjRIh470hkM6KMyz32LlXHvXZu/F0acu1wRPQdsvGZ38DtHWnwf
	+1/40to5QqecwcXY6xLoSUnqxZBQaB/5t04RZn+apeqUztl+0fCiNE/96iG7O4LVoKV3YIABQ11
	MrBMOkbqEFn0l1i9VxZjKCiGxs5SwmdXNopPteRBsRKiDLpQQlj2Acg4RRkAqEeYfA53xnKCz3X
	gVmXRAsIk7o6cH90GqqJ26880pbfhq/BCMCswA8e4g6q99JAzuFMnXMKnzVKH5mr3S/TgU/PmMW
	MkHXZq3sNbcMrkvl9P14BSR/ZBk2Xqt89r8e5BgohPU1yKpPwPwmBQpc/D2JxgBfQPWeqZ3VEuF
	KeAhkwqQCgxJltmnVh3PUIJuTVC+zGkptsgRNJZbCHENxCAswpRn7RQg1gdKxURElRSOJphVENa
	E3qSikQqMoRwMjX9wnacad3e70qqfi8qqPs
X-Received: by 2002:a05:620a:4109:b0:93e:4bbf:cc11 with SMTP id af79cd13be357-93ebd1f628bmr30099085a.30.1791502864641;
        Thu, 08 Oct 2026 16:41:04 -0700 (PDT)
Organization: Universidad «Simón Bolívar»
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
User-Agent: Evolution 3.56.2-0+deb13u1 
MIME-Version: 1.0
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1995786
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 86
Sender: robomod@news.nic.it
X-Original-Date: Thu, 08 Oct 2026 16:41:02 -0700
X-Original-Message-ID: <f6a340d055affa98c57e1c5bb86a6dca4e35c857.camel@usb.ve>