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

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



On Thu, Nov 18, 2010 at 15:14, Andres Mejia <mcitadel@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


Reply to: