On Wed, Nov 16, 2022 at 01:11:51PM +0100, Helmut Grohne wrote:
> On Wed, Nov 16, 2022 at 12:34:40PM +0100, Andrea Bolognani wrote:
> > Can you please tell me how you created the very minimal chroot in
> > which you reproduced the issue? A fresh one created today with
> > cowbuilder still contains mount, and even adding
> > 
> >   DEBOOTSTRAPOPTS="--variant=minbase"
> > 
> > to pbuilderrc doesn't change this. I just want to make sure there are
> > no other commands that need the same treatment.
> 
> I'm using mmdebstrap rather than debootstrap. While debootstrap's
> --variant=minbase includes all "Priority: required" packages, you still
> have to depend on them according to policy. mmdebstrap provides two
> smaller variants "essential", which really is only essential packages
> and "apt", which includes the apt package in addition to essential
> packages. The apt variant is the one I use most often. It recently got
> rid of adduser, which also exhibits bugs here and there. These days,
> sbuild can deal with such minimal chroots.

Okay, adding

  DEBOOTSTRAP="mmdebstrap"
  DEBOOTSTRAPOPTS="--variant=apt"

to my pbuilder configuration did the trick.

I'm going to make sure that there are no other missing Build-Depends,
and address this bug as part of the upcoming 8.9.0-1 upload.

Cheers :)

-- 
Andrea Bolognani <e...@kiyuko.org>
Resistance is futile, you will be garbage collected.

Attachment: signature.asc
Description: PGP signature

Reply via email to