← Back to team overview

ubuntu-bacula team mailing list archive

[Bug 228693] Re: [SRU] bacula-director-pgsql postinstall broken

 

** Tags added: verification-done

** Tags removed: verification-failed verification-needed

-- 
[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 Committed
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