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.


I found something interesting


The mirrorlist file is being butchered by I believe by

sudo cp -v /etc/pacman.d/mirrorlist root/etc/pacman.d/

arch-nspawn $CHROOT/root pacman -Syy

cat root/etc/pacman.d/mirrorlist
Server = http://mirror.archlinuxarm.org/aarch64/extra

why I don't know at this point

Tried with systemd-nspawn

sudo cp -v /etc/pacman.d/mirrorlist root/etc/pacman.d/
'/etc/pacman.d/mirrorlist' -> 'root/etc/pacman.d/mirrorlist'

sudo systemd-nspawn -bD /home/Builder/root

pacman -Syy
:: Synchronizing package databases...
custom 11.5 KiB 287 KiB/s 00:00 [#############################################] 100% core 227.4 KiB 412 KiB/s 00:01 [#############################################] 100% extra 9.5 MiB 3.65 MiB/s 00:03 [#############################################] 100% alarm 58.2 KiB 118 KiB/s 00:00 [#############################################] 100% aur 12.0 KiB 28.2 KiB/s 00:00 [#############################################] 100%
[root@root ~]#

cat root/etc/pacman.d/mirrorlist
#
# Arch Linux ARM repository mirrorlist
# Generated on 2023-02-06
#

## Geo-IP based mirror selection and load balancing
Server = http://mirror.archlinuxarm.org/$arch/$repo

### Mirrors by country

### Denmark
## Aalborg
# Server = http://dk.mirror.archlinuxarm.org/$arch/$repo

### Germany
## Aachen
# Server = http://de3.mirror.archlinuxarm.org/$arch/$repo
## Berlin
# Server = http://de.mirror.archlinuxarm.org/$arch/$repo
## Coburg
# Server = http://de4.mirror.archlinuxarm.org/$arch/$repo
## Falkenstein
# Server = http://eu.mirror.archlinuxarm.org/$arch/$repo
# Server = http://de5.mirror.archlinuxarm.org/$arch/$repo

### Greece
## Athens
# Server = http://gr.mirror.archlinuxarm.org/$arch/$repo

### Hungary
## Budapest
# Server = http://hu.mirror.archlinuxarm.org/$arch/$repo

### Japan
## Tokyo
#Server = http://jp.mirror.archlinuxarm.org/$arch/$repo

### Singapore
# Server = http://sg.mirror.archlinuxarm.org/$arch/$repo

### Taiwan
## Hsinchu
# Server = http://tw2.mirror.archlinuxarm.org/$arch/$repo
## New Taipei City
# Server = http://tw.mirror.archlinuxarm.org/$arch/$repo

### United Kingdom
## London
#Server = http://uk.mirror.archlinuxarm.org/$arch/$repo

### United States
## California
#Server = http://ca.us.mirror.archlinuxarm.org/$arch/$repo
## Florida
#Server = http://fl.us.mirror.archlinuxarm.org/$arch/$repo
## New Jersey
#Server = http://nj.us.mirror.archlinuxarm.org/$arch/$repo

What in arch-spawn causes the mirrorlist file to be changed/truncated?

If I could run pacman -Syy from systemd-nspawn command line and then have it exit it would fix my issue.

Otherwise I guess I will have to have a look at the arch-spawn script

--
Hindi madali ang maging ako

Reply via email to