[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#823918: apt-get --solver dump doesn't add Preferences field to edsp file



On 10/05/16 15:09, David Kalnischkies wrote:
> > 'APT::Solver::aspcud::Preferences=-removed,-changed,-new,-count(solution,APT-Release:=/experimental/)'
>                 ^^^^^^
> 
> The preferences string is missing as it isn't sent – and it isn't sent because it
> doesn't apply to the specified solver: You requested 'dump' to resolve it, but
> the preferences string is for 'aspcud'.
> 
> So, seems to work as intended, doesn't it – or did I miss anything?

I see. YEs, it respect the spec. But as it is the this option
(APT::Solver::aspcud::Preferences) is actually useless because aspcud
will never receive this information, correct ? 

This command line comes from this bug #823906 . Maybe you should warn
the user that (s)he should use APT::Solver::Preferences instead ?

This make me think that maybe it would be worth adding the solver to
be called to the edsp file as well. Something like :

Solver: aspcud
Preferences: ...

This will make the edsp fully contained.

thanks for your quick reply.

p


Reply to: