Hi, Quoting Benjamin Drung (2019-10-23 13:01:52) > when I delete /usr/sbin/policy-rc.d as part of a custom hook, mmdebstrap > will fail: > > $ mmdebstrap -v --customize-hook='rm "$1/usr/sbin/policy-rc.d"' \ > --aptopt='Dir::Etc::Trusted > "/usr/share/keyrings/debian-archive-keyring.gpg"' \ > buster /tmp/buster.tar.xz > [...] > I: running --customize-hook in shell: sh -c 'rm > "$1/usr/sbin/policy-rc.d"' exec /tmp/mmdebstrap.kPFtRoxVVX > E: run_chroot failed: E: cannot unlink policy-rc.d: No such file or > directory > I: removing tempdir /tmp/mmdebstrap.kPFtRoxVVX... > > Please only try to remove /usr/sbin/policy-rc.d if it still exists.
whoops, indeed. Fixed in git! Out of interest: why would you delete policy-rc.d as part of a hook? Thanks! cheers, josch
signature.asc
Description: signature