[buildd-tools-devel] Bug#865541: Bug#865541: sbuild --apt-distupgrade should not remove build-essential

Raphael Hertzog hertzog at debian.org
Mon Jun 26 18:22:01 UTC 2017


On Mon, 26 Jun 2017, Johannes Schauer wrote:
> > Because when I wrote that script, I was probably not aware that
> > --apt-distupgrade was the default.
> 
> so does the existence of that option help your use-case somehow?

I modified Kali's build script to pass it, yes. But my request remains.

> > I understand this. But you can react differently to the failure in the
> > various places where you are calling "$resolver->distupgrade".
> 
> What do you mean exactly here?

I mean that you can turn it into a warning in Sbuild/Build.pm and an
error into bin/sbuild-update.

> So how do you want to solve the issue now for kali? By just passing
> --no-apt-distupgrade and upgrading the chroots manually from time to time like
> the Debian and Ubuntu buildds do it?

That's what I will do, yes. But I believe that this should be avoidable
and letting sbuild dist-upgrade the chroot should have been enough and
should not have the current downsides.

Cheers,
-- 
Raphaël Hertzog ◈ Debian Developer

Support Debian LTS: https://www.freexian.com/services/debian-lts.html
Learn to master Debian: https://debian-handbook.info/get/



More information about the Buildd-tools-devel mailing list