add workaround for dpkg bug to docs

This commit is contained in:
Johannes 'josch' Schauer 2020-04-09 12:49:07 +02:00
parent 6b90cf7006
commit d29bdafb89
Signed by untrusted user: josch
GPG key ID: F2CBA5C78FBD83E1

View file

@ -5336,8 +5336,11 @@ https://bugs.debian.org/src:mmdebstrap
As of version 1.19.5, dpkg does not provide facilities preventing it from As of version 1.19.5, dpkg does not provide facilities preventing it from
reading the dpkg configuration of the machine running B<mmdebstrap>. reading the dpkg configuration of the machine running B<mmdebstrap>.
Therefore, until this dpkg limitation is fixed, a default dpkg configuration Therefore, until this dpkg limitation is fixed, a default dpkg configuration is
is recommended on machines running B<mmdebstrap>. recommended on machines running B<mmdebstrap>. If you are using B<mmdebstrap>
as the non-root user, then as a workaround you could run C<chmod 600
/etc/dpkg/dpkg.cfg.d/*> so that the config files are only accessible by the
root user.
Setting [trusted=yes] to allow signed archives without a known public key will Setting [trusted=yes] to allow signed archives without a known public key will
fail because of a gpg warning in the apt output. Since apt does not fail because of a gpg warning in the apt output. Since apt does not