Re: Debian 12 to 13 Bacula update 9.6 to 15 failed at two steps

Pierre Bernhardt <[email protected]> Tue, 9 Jun 2026 20:22:39 +0200
Newsgroups gmane.comp.bacula.user
Message-ID <[email protected]>
Am 09.06.26 um 20:14 schrieb Martin Simmons:
 >>>>>> On Mon, 8 Jun 2026 20:18:04 +0200, Pierre Bernhardt said:Hello Martin,

 >> I suggest hiding $$ by the shell should do the trick.
 >> \$\$ could be used or maybe <<'END-OF-DATA' with ticks.
 >> But because I made the steps manually I did not test it.
 >> Maybe some others could find this helpfull.
 >
 > The update_postgresql_tables script in the Bacula sources uses \$\$, so I
 > think this is a problem specific to Debian's packaging.  They have modified
 > the installed update_postgresql_tables for use with their own upgrading code,
 > which is supposed to run automatically when the package is installed.  That
 > breaks the script if you try to run it yourself.

thank you for this information. I will report an bug to the debian
team.

Cheers