[Piuparts-devel] Bug#802499: testing plugin packages during upgrades
Daniel Pocock
daniel at pocock.pro
Tue Oct 20 18:36:10 UTC 2015
On 20/10/15 20:06, Andreas Beckmann wrote:
> On 2015-10-20 19:50, Daniel Pocock wrote:
>> a) sets of related packages:
>> package foo : a package with an init script
>> package foo-plugin:
>> - has a dependency on foo
>
>> b) scenarios to test would be something like:
>> upgrade runs foo-plugin/postinst before foo/postinst
>
> With foo in unpacked, but unconfigured state? That should not happen
> unless there is a bug in apt/dpkg (or you have circular dependencies).
>
During an upgrade from wheezy to jessie, I saw it happen with
ganglia-monitor and ganglia-modules-linux
Note that in alphabetical order
ganglia-modules-linux < ganglia-monitor
and maybe that is why dist-upgrade ran the scripts in that order.
The details are explained in
https://bugs.debian.org/791403
Regards,
Daniel
More information about the Piuparts-devel
mailing list