[librechroot]->mkarchroot->pacstrap uses system pacman.conf by default
<fauno> | ==> Creating 'root' copy for chroot [default] <fauno> | ==> Creating install root at /var/lib/archbuild/default/root <fauno> [...] <fauno> | error: failed retrieving file 'repo.db' from disk : Couldn't open file /var/lib/archbuild/default/fauno/repo/repo.db <fauno> | error: failed to update repo (download library error) <fauno> [...] <fauno> | Enter a selection (default=all): error: failed to prepare transaction (could not find database) <fauno> [...] <fauno> | ==> ERROR: Failed to install packages to new root <fauno> | ==> ERROR: Failed to install all packages <fauno> libretools should use a vanilla pacman.conf <lukeshu> it mostly does <fauno> it used my systemd pacman.conf <fauno> which is heavily modified <fauno> it's working now i removed [repo]
Perhaps it should default to
-A $CARCH. But at least it should use the
/usr/share/pacman/defaults/ pacman.conf for pacstrap.
Updated by lukeshu almost 5 years ago
- Related to Bug #501: [RFC] [libremakepkg]Uses the chroot makepkg.conf when downloading sources added