[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 Tue, May 10, 2016 at 02:07:25PM +0200, Pietro Abate wrote:
> sudo APT_EDSP_DUMP_FILENAME=/tmp/dump.edsp apt-get -s --solver dump -o
> 'APT::Solver::Strict-Pinning=false' -o
> 'APT::Solver::aspcud::Preferences=-removed,-changed,-new,-count(solution,APT-Release:=/experimental/)'
                ^^^^^^
> build-dep qgis
> 
> will generate a file dump.edsp with the following header :
> 
> ---
> Request: EDSP 0.5
> Architecture: amd64
> Architectures: amd64 i386
> Install: builddeps:essentials:amd64 builddeps:qgis:amd64
> Strict-Pinning: no
> 
> ---
> 
> The preferences passed on the commnd line are missing :
> 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?


Best regards

David Kalnischkies

Attachment: signature.asc
Description: PGP signature


Reply to: