Hi, On Mon, Oct 7, 2024, at 05:44, Joachim Zobel wrote: > I am trying to run > > sudo piuparts --fake-essential-packages ca-certificates --testdebs-repo > 'https://dl.cloudsmith.io/public/volkszaehler/volkszaehler-org- > project/deb/debian' -d bullseye > /var/cache/pbuilder/result/vzlogger_0.8.8_amd64.deb > > This fails with > > Setting up ca-certificates (20210119) ... > /var/lib/dpkg/info/ca-certificates.postinst: 44: cannot create /dev/null: > Permission denied > sed: can't read /dev/null: Permission denied > > The postinstall script tries to write errors to /dev/null on the line 44. > > This might be #1064842, but I'm unsure if essential packages are even allowed > to write /dev/null. What I actually need is that the certificate of the > testbeds-repo is accepted. So if --fake-essential-packages ca-certificates is > the wrong way please consider this a wishlist bug to provide a better way.
It looks like your /tmp is mounted nodev, which prevents debootstrap and piuparts from creating /dev/null and friends when trying to use the chroot. In this situation, both debootstrap and piuparts should be bind-mounting /dev/null from the host system instead. Could you attach a full log of the piuparts run, so that we can more usefully debug what happened? Thanks, -- Nicolas Dandrimont
signature.asc
Description: PGP signature