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

Bug#803471: apt: the edsp output does not contain the APT-Candidiate field even if an exact version was requested



Package: apt
Version: 1.0.10.2
Severity: normal

Hi,

The EDSP spec says that the Install field containing the installation
request does not contain version numbers. Instead, packages can contain
the APT-Candidate field set to Yes to denote that this version should be
selected for installation.

Nevertheless, when I do:

	apt-get --simulate install --solver dump -o APT::Solver::Strict-Pinning=false ghc=7.10.2-2

or

	apt-get --simulate install --solver dump -o APT::Solver::Strict-Pinning=false ghc/experimental

then the resulting /tmp/dump.edsp does not contain any such field and
thus the solver is not told which version of ghc to install.

This is even though the second command tells me:

	Selected version '7.10.2-2' (Debian:experimental [amd64]) for 'ghc'

Please make it so that specifying ghc=7.10.2-2 or ghc/experimental on
the apt command line both mark the right package stanza in the EDSP
output with APT-Candidate:Yes.

I found this bug through bug #795827 but did not manage to find a
followup bug that described this problem. CC-ing Ralf as the submitter
of that bug and as the maintainer of apt-cudf in Debian.

Thanks!

cheers, josch


Reply to: