[pkg-bacula-devel] Upgrade error to 7.4.3+dfsg-2
Sven Hartge
sven at svenhartge.de
Wed Jul 20 11:01:45 UTC 2016
On 20.07.2016 11:59, Carsten Leonhardt wrote:
>> I used dpkg directly and must have always had the packages in the right
>> order, so that bacula-director-common got extracted _before_
>> bacula-director-mysql. This of course masks this obvious error.
>
> that must be the reason why my local upgrade tests worked as well...
Now, what is the correct dependency declaration?
a)
Package: bacula-director-mysql
Conflicts: bacula-director, bacula-director-common (<= 7.4.3+dfsg-2~)
or:
b)
Package: bacula-director-mysql
Replaces: bacula-director-common (<= 7.4.3+dfsg-3)
Breaks: bacula-director-common (<= 7.4.3+dfsg-3)
Package: bacula-director-common
Depends: bacula-director-mysql (>= 7.4.3+dfsg-3) |
bacula-director-sqlite3 (>= 7.4.3+dfsg-3) | bacula-director-pgsql (>=
7.4.3+dfsg-3)
Solution (b) would be the one the policy shows in 7.6.1 "Overwriting
files in other packages". But we don't totally replace
bacula-director-common, we just take over one file.
This is a bit ouside of my packaging experience until now, so I am not
really sure what exactly to do (without further embarrasing myself).
Grüße,
Sven.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-bacula-devel/attachments/20160720/0052cd1d/attachment.sig>
More information about the pkg-bacula-devel
mailing list