[buildd-tools-devel] apt-get option to keep dummy packages

David Kalnischkies kalnischkies+debian at gmail.com
Thu Nov 18 14:37:13 UTC 2010


On Thu, Nov 18, 2010 at 15:14, Andres Mejia <mcitadel at gmail.com> wrote:
> The way the apt and aptitude resolvers work in sbuild is that a dummy package
> is created which has all Build-Depends and Build-Conflicts listed as Depends
> and Conflicts for the dummy package. This dummy package is then forced to be
> installed using 'dpkg --force-depends --force-conflicts'. Afterwards, at least
> in the case with apt, an 'apt-get -yf install' is run to resolve system
> dependencies. The result that's expected is that all build dependencies are
> installed.
>
> What happens in some situations is that apt removes the dummy package instead.
> We want apt-get to refuse to give a solution resulting in the dummy package
> being removed.

Have you tried setting the dummy package on hold with dpkg?

And could you give an example in which APT does that
even if another solution would be available?


Best regards

David Kalnischkies



More information about the Buildd-tools-devel mailing list