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'?

I noticed such error message yesterday when running apt update inside a 
chroot - so perhaps this is not specific to mmdebstrap but is tied to 
apt or dpkg, especially the latter seeing major changes recently.


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private

Attachment: signature.asc
Description: signature

Reply via email to