[Aptitude-devel] Bug#836567: Bug#836567: aptitude: [PATCH] aborts on encountering new DepCompareOp flags

Manuel A. Fernandez Montecelo manuel.montezelo at gmail.com
Fri Feb 17 20:49:24 UTC 2017


2017-02-17 3:34 GMT+01:00 Aaron M. Ucko <amu at alum.mit.edu>:
> "Manuel A. Fernandez Montecelo" <manuel.montezelo at gmail.com> writes:
>
>> In practice the %-operation would probably achieve the same, but I think
>> that this way is easier to understand.
>
> That's fair, and I agree that it should be equivalent in practice.
> As a matter of style, though, I might declare comp_mask as
>
>     static const int comp_mask;

OK, I will do that.


>> Patch attached.  I will try to get it into the next release.
>
> Sounds good.
>
>> Aaron, it would be great if you could test it and check that it fixes
>> the problem.  I never stumbled upon this problem, even if I use
>> multi-arch in most of my systems.
>
> I'm not sure what specifically about my installation triggered this
> behavior.  FWIW, when aptitude 0.8.5-1 hit testing three weeks ago, I
> decided to try switching back to a stock build, and haven't seen any
> trouble on this front since.  However, it's probably still best to
> defend against the possibility, so please do proceed here.

Yeah, that's my feeling as well.  I haven't experience it either at
any point in time, but it must happen in some combinations, which will
be annoying for users if they happen in stable systems and don't get
updates for months/years...


Cheers.
-- 
Manuel A. Fernandez Montecelo <manuel.montezelo at gmail.com>



More information about the Aptitude-devel mailing list