summaryrefslogtreecommitdiff
path: root/apt-pkg/statechanges.cc
Commit message (Collapse)AuthorAgeFilesLines
* allow all dpkg selections to be set via apt-mark and libaptDavid Kalnischkies2015-11-041-27/+61
| | | | | | As we have support for 'hold', we need support for undoing a hold which in effect means that we implemented most other states as well, just that they weren't exposed in the interface directly so far.
* provide public interface to hold/unhold packagesDavid Kalnischkies2015-11-041-0/+130
We had this code lying around in apt-mark for a while now, but other frontends need this (and similar) functionality as well, so its high time that we provide a public interface in libapt for this stuff.