Pocket <poc...@columbus.rr.com> wrote:

> 
> 
> On 5/4/25 3:12 PM, Doug Newgard wrote:
> > On 5/4/25 8:20 AM, Pocket wrote:
> >> I am getting this error when running is there a way to fix this?
> > 
> > We aren't the ones to be asking. Arch is x86_64 only, ArchLinuxARM is a 
> > separate distro with it's own repositories.
> 
> 
> This is what I believe is breaking the mirrorlist
> 
>  From arch-nspawn
> 
> # shellcheck disable=2016
> host_mirrors=($(pacman-conf --repo extra Server 2> /dev/null | sed -r 
> 's#(.*/)extra/os/.*#\1$repo/os/$arch#'))
> 
> for host_mirror in "${host_mirrors[@]}"; do
>       if [[ $host_mirror == *file://* ]]; then
>               host_mirror=$(echo "$host_mirror" | sed -r 
> 's#file://(/.*)/\$repo/os/\$arch#\1#g')
>               for m in "$host_mirror"/pool/*/; do
>                       in_array "$m" "${cache_dirs[@]}" || cache_dirs+=("$m")
>               done
>       fi
> done
> 
> # {{{ functions
> copy_hostconf () {
>       unshare --fork --pid gpg --homedir "$working_dir"/etc/pacman.d/gnupg/ 
> --no-permission-warning --quiet --batch --import --import-options 
> import-local-sigs "$(pacman-conf GpgDir)"/pubring.gpg >/dev/null 2>&1
>       pacman-key --gpgdir "$working_dir"/etc/pacman.d/gnupg/ --import-trustdb 
> "$(pacman-conf GpgDir)" >/dev/null 2>&1
> 
>       printf 'Server = %s\n' "${host_mirrors[@]}" 
>  >"$working_dir/etc/pacman.d/mirrorlist"
> 
>       [[ -n $pac_conf ]] && cp "$pac_conf" "$working_dir/etc/pacman.conf"
>       [[ -n $makepkg_conf ]] && cp "$makepkg_conf" 
> "$working_dir/etc/makepkg.conf"
> 
> I don't know why that is there, I expected arch-nspawn to just spawn a 
> container.
> 
> 
> -- 
> Hindi madali ang maging ako
> 

I don't know enough to answer you, other then pointing you to
https://wiki.archlinux.org/title/DeveloperWiki:Building_in_a_clean_chroot .
Have you read it, or do you feel you can manage without it?
In case you followed it, do qoute in full the exect, and 1st, command that 
didn't work for you, as well as the exact and full output you were given 
for the failure.
I think you will do better if you follow the article step by step, even if 
you have enough knowledge to take a different route. You would do better 
following the article step by step because it will help possible helpers 
here to compare the output you will hopefully qoute in full to their 
expectations about successful output during the process.

--
u34

Reply via email to