I probably sent a reply only to "Henning". Now posting to the list. "Henning" <arch@qupfer.de> wrote:
Hi,
I hope this is (one) of the correct places to request some help.
I followd this Wiki article (https://wiki.archlinux.org/title/DeveloperWiki:Building_in_a_clean_chroot) and failed on the classical way and I have no clue why :-) I add some example output on the buttom.
Maybe related. The "arch machine" with this error is a VM, running via incus on an arch host. The VM use ext4, the host btrfs. On the arch host itself, the command work as expected. Only inside the VM it fails. If I comment out "DownloadUser = alpm" in /etc/pacman.conf, it works. But this is also enabled on the (working) host, without any problems. (same default pacman.conf)
Thanks Henning ################################################################### [henning@archlinux ~]$ sudo rm -rf test/ [henning@archlinux ~]$ mkdir test [henning@archlinux ~]$ mkarchroot test/root base-devel ==> Creating install root at /home/henning/test/root ==> Installing packages to /home/henning/test/root :: Synchronizing package databases... error: could not open file /home/henning/test/root/var/lib/pacman/sync/download-AIUAX3/core.db.part: Permission denied error: failed to setup a download payload for core.db error: failed to synchronize all databases (failed to retrieve some files) ==> ERROR: Failed to install packages to new root ==> ERROR: Failed to install all packages
In summary, his issue seems to me similar to https://lists.archlinux.org/archives/list/arch-general@lists.archlinux.org/m... and other posts in that thread. Which was only posted by me, and one other poster. -- u34