summaryrefslogtreecommitdiff
path: root/apt-pkg/contrib/error.cc
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2016-04-25 14:36:56 +0200
committerDavid Kalnischkies <david@kalnischkies.de>2016-04-25 15:35:52 +0200
commit69cea1ef2cfda3c4da79fd756a8edaf2be26998e (patch)
tree2d4487c0dac887ebdf94d7c59e3d74b74fba5f84 /apt-pkg/contrib/error.cc
parent3c7567a586690042fdd899c7e82543cb31a3b853 (diff)
give rc-status packages a pin of -1
It would previously return a pin of 0, which is an invalid value, but the intend is that versions which are only in the dpkg/status file can't be selected for installation (= can't be a candidate) which is what a negative pin assures. This helps with the communication to EDSP solvers as they neither know about the rc-state (yet) nor that they shouldn't choose this version. Ideally they shouldn't be told about such versions at all as there is nothing to be solved here, but we will get there eventually.
Diffstat (limited to 'apt-pkg/contrib/error.cc')
0 files changed, 0 insertions, 0 deletions