Hi Daniel, Quoting Daniel Baumann (2019-02-27 05:18:53) > with previous version of mmdebstrap, I used to do: > > sudo mmdebstrap sid sid http://deb.debian.org/debian > > which then automatically uses 'root mode'. > > Now I get this instead: > > ---snip--- > I: automatically chosen mode: root > I: chroot architecture amd64 is equal to the host's architecture > I: running apt-get update... > done > Get:1 http://deb.debian.org/debian sid InRelease [242 kB] > Get:2 http://deb.debian.org/debian sid/main amd64 Packages [8366 kB] > Fetched 8608 kB in 2s (4984 kB/s) > Reading package lists... > W: Download is performed unsandboxed as root as file > '/root/sid/var/lib/apt/lists/partial/deb.debian.org_debian_dists_sid_InRelease' > couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission > denied) > apt-get update failed at /usr/bin/mmdebstrap line 569. > ---snap--- > > Looking at the manpage I coudn't find anything obvious that I'm doing > wrong. If there is, maybe the default behaviour could be made more > user-friendly to 'just work'[tm]? Or is there a bug in 'root mode'?
hrm... this is odd. The commandline you quote works fine for me and a very similar one runs fine in the qemu testsuite and CI. The former executes mmdebstrap as root in a qemu virtual machine and the latter directly on the host. Both evidently work fine: https://ci.debian.net/packages/m/mmdebstrap/ Could you try to reproduce the error inside a minimal chroot? Currently, I'm not able to reproduce it. What you tried should indeed 'just work'[tm]. Something is broken. Thanks! cheers, josch
signature.asc
Description: signature