Re: Debian 12 to 13 Bacula update 9.6 to 15 failed at two steps
Martin Simmons <[email protected]> Tue, 9 Jun 2026 19:14:39 +0100
| Newsgroups | gmane.comp.bacula.user |
|---|---|
| Message-ID | <[email protected]> |
>>>>> On Mon, 8 Jun 2026 20:18:04 +0200, Pierre Bernhardt said: > > Here are $$ used in do $$ ... end $$ clause. > These are replaced by the schell with a pid and the step could not > finished. > The manual processing by copy & paste from the script to the psql > console where fine. > > 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. __Martin