Package: bacula Severity: normal Tags: patch
Hi, The attached patch fixes this by adding the appropriate dependency on bacula-common. It also fixes #545313 and #545473. Regards, Stephen -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (500, 'testing'), (500, 'stable'), (200, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.30-2-686 (SMP w/2 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages bacula depends on: ii bacula-client 3.0.2-3 network backup, recovery and verif ii bacula-common 3.0.2-3.1 network backup, recovery and verif ii bacula-server 3.0.2-3 network backup, recovery and verif bacula recommends no packages. Versions of packages bacula suggests: ii bacula-doc 2.4.4-1 Documentation for Bacula -- no debconf information -- debsums errors found: debsums: no md5sums for bacula
diff -urN bacula-3.0.2.prev/debian/bacula.preinst bacula-3.0.2/debian/bacula.preinst --- bacula-3.0.2.prev/debian/bacula.preinst 1970-01-01 01:00:00.000000000 +0100 +++ bacula-3.0.2/debian/bacula.preinst 2009-11-08 18:55:17.000000000 +0100 @@ -0,0 +1,41 @@ +#! /bin/bash +# preinst script for bacula +# + +set -e + +# summary of how this script can be called: +# * <new-preinst> `install' +# * <new-preinst> `install' <old-version> +# * <new-preinst> `upgrade' <old-version> +# * <old-preinst> `abort-upgrade' <new-version> +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + + install | upgrade) + # /usr/share/doc/bacula is now a symlink, make sure it + # can be created when unpacking + if [ -d /usr/share/doc/bacula ]; then + rm -rf /usr/share/doc/bacula + fi + ;; + + abort-upgrade) + ;; + + *) + echo "preinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 diff -urN bacula-3.0.2.prev/debian/control bacula-3.0.2/debian/control --- bacula-3.0.2.prev/debian/control 2009-11-08 16:45:31.000000000 +0100 +++ bacula-3.0.2/debian/control 2009-11-08 14:33:15.000000000 +0100 @@ -18,8 +18,10 @@ Package: bacula Architecture: all -Depends: bacula-server, bacula-client +Depends: bacula-server, bacula-client, bacula-common (>= ${source:Version}) Suggests: bacula-doc +Breaks: bacula-common (<< 3.0.2-3.1) +Replaces: bacula-common (<< 3.0.2-3.1) Description: network backup, recovery and verification - meta-package Bacula is a set of programs to manage backup, recovery and verification of computer data across a network of computers of different kinds. diff -urN bacula-3.0.2.prev/debian/rules bacula-3.0.2/debian/rules --- bacula-3.0.2.prev/debian/rules 2009-11-08 16:45:31.000000000 +0100 +++ bacula-3.0.2/debian/rules 2009-11-08 17:35:33.000000000 +0100 @@ -170,7 +177,6 @@ dh_install -pbacula-console -pbacula-console-qt cp $(DEFAULTINSTALLDIR)/usr/sbin/bconsole debian/bacula-console/usr/sbin/bacula-console cp debian/tmp-build-$(DEFAULTVARIANT)/src/qt-console/.libs/bat debian/bacula-console-qt/usr/bin/bat - ln -s bacula-common debian/bacula-common/usr/share/doc/bacula ######### dbconfig-common stuff