ubuntu-bacula team mailing list archive
-
ubuntu-bacula team
-
Mailing list archive
-
Message #00031
[Bug 228693] Re: [SRU] bacula-director-pgsql postinstall broken
This bug was fixed in the package bacula - 2.2.8-5ubuntu7.2
---------------
bacula (2.2.8-5ubuntu7.2) hardy-proposed; urgency=low
* Applied upstream's 2.2.8-strippath.patch, modified to compile
cleanly on hardy. (http://bacula.svn.sourceforge.net/viewvc/bacula?view=rev&revision=6867)
- Fix strippath bug that created a buffer overrun and crash the FD.
(LP: #227613)
[Ante Karamatic]
* Export $HOME in /etc/bacula/scripts/make_catalog_backup_awk.
- Thanks to Hanno Stock. (LP: #227410)
* debian/bacula-director-pgsql.postinst
- Really compare versions. (LP: #228693)
* debian/bacula-directory-pgsql.postinst:
- grant all privileges to new user on the new new database.
* patches/ubuntu_grant_privileges.patch
- test if $USER and $db_name are set in grant_postgresql_privileges.
-- Chuck Short <zulcss@xxxxxxxxxx> Fri, 21 Nov 2008 08:15:06 -0500
** Changed in: bacula (Ubuntu Hardy)
Status: Fix Committed => Fix Released
--
[SRU] bacula-director-pgsql postinstall broken
https://bugs.launchpad.net/bugs/228693
You received this bug notification because you are a member of Ubuntu
Bacula, which is subscribed to bacula in ubuntu.
Status in “bacula” source package in Ubuntu: Fix Released
Status in bacula in Ubuntu Hardy: Fix Released
Status in bacula in Ubuntu Intrepid: Fix Released
Bug description:
Binary package hint: bacula-director-pgsql
The install of bacula-director-pgsql (2.2.8-5ubuntu7) on Hardy is failing with the following message:
# apt-get install bacula-director-pgsql
....
Unpacking bacula-director-pgsql (from .../bacula-director-pgsql_2.2.8-5ubuntu7_amd64.deb) ...
Setting up bacula-director-pgsql (2.2.8-5ubuntu7) ...
dpkg: --compare-versions takes three arguments: <version> <relation> <version>
....
....
....
It looks like maybe in bacula-director-pgsql.postinst:
if dpkg --compare-versions lt 2.2.8-5ubuntu1
should be:
if dpkg --compare-versions "$2" lt 2.2.8-5ubuntu1
At least that's what it looks like in bacula-director-mysql.postinst