[Piuparts-devel] Bug#1084234: piuparts: Cannot create /dev/null

Joachim Zobel jz-2017 at heute-morgen.de
Mon Oct 7 05:44:20 BST 2024


Package: piuparts
Version: 1.4.4
Severity: normal

Dear Maintainer,

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.



-- System Information:
Debian Release: trixie/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, arm64

Kernel: Linux 6.10.11-amd64 (SMP w/12 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages piuparts depends on:
ii  debsums          3.0.2.1
ii  libjs-sphinxdoc  7.4.7-3
ii  lsb-release      12.1-1
ii  lsof             4.95.0-1.1
ii  mount            2.40.2-8
ii  piuparts-common  1.4.4
ii  python3          3.12.6-1
ii  python3-debian   0.1.49

Versions of packages piuparts recommends:
ii  adequate     0.16.18+b1
ii  debootstrap  1.0.137

Versions of packages piuparts suggests:
pn  docker.io  <none>
pn  schroot    <none>

-- no debconf information



More information about the Piuparts-devel mailing list