Comment 5 for bug 1464030

Revision history for this message
Steve Langasek (vorlon) wrote : Re: [Bug 1464030] Re: apparmor-easyprof-ubuntu installed on 15.04/edge, but it shouldn't be

On Tue, Jun 23, 2015 at 08:21:22PM -0000, Jamie Strandboge wrote:
> I interpreted (incorrectly?) this as needing to adjust the system-image
> seed to have 'click-apparmor' appear after ubuntu-core-security-apparmor
> in the seed list. I did this in r2340 of ~ubuntu-core-dev/ubuntu-
> seeds/ubuntu.vivid/ yesterday. Image build r98 for ubuntu-
> core/15.04/edge still has apparmor-easyprof-ubuntu installed after a
> 'snappy update'. Should I be doing something different? (I did also make
> the change for the wily seed)

Yes, sorry, I was somewhat deliberately vague here because it's not as
simple as the ordering in the seed file. (I had previously believed this to
be the case, but Colin set me straight recently.) What's really required is
to make sure the package you need is *topologically* before the package that
carries the ORed dependency. I don't know a good way to determine this
without introspection of the apt commands being run as part of the live
build.