Bug#564781: [mk-build-deps] Nudge aptitude ...

James McCoy jamessan at debian.org
Sat Mar 19 18:04:12 UTC 2016


On Thu, Mar 10, 2016 at 12:12:50PM +0000, Osamu Aoki wrote:
> aptitude used to mass remove packages.  It got better these days.
> 
> It looks like it is due somewhat by improved aptitude dependency resolver but
> also improved archive maintenance of testing.

I'm not sure if the above has changed, but from a simple test the
suggested workaround makes things worse for apt.  “apt-get -f install”
is the "magic" command to make apt fix things up.

Adding in the package names just makes apt focus on that specific
package, which is already in the "install" state so there's nothing to
do.

On the other hand, “apt install /path/to/build-deps.deb” does do the
right thing.

In the end, it would probably be better to start coming up with an
interface that describes the ways various scripts try to drive the
different package management tools.  Then a relevant implementation
could be provided for each tool that is supported.

Cheers,
-- 
James
GPG Key: 4096R/331BA3DB 2011-12-05 James McCoy <jamessan at debian.org>



More information about the devscripts-devel mailing list