arch-nspawn bug

Problems with packages? Post here, using [tags] of the package name.

arch-nspawn bug

Postby MrBlumi » Sun Jan 07, 2024 6:35 pm

Currently there is a bug in the `/usr/bin/arch-nspawn` script.

``` console
382 | # shellcheck_disable=2016
383 | host_mirrors=($(pacman-conf --repo extra Server 2> /dev/null | sed -r 's#(.*/)extra/os/.*#\1$repo/os/$arch#'))
```

The regular expression matches the repository structure of the non ARM based Arch Linux mirrors (.../$repo/os/$arch). Thus when entering a chroot environment with arch-nspawn you end up with a mirrolist like that...
[code]
Server = [url]http://mirror.archlinuxarm.org/aarch64/extra[/url]
[/code]
This happens e.g. when you create a fresh chroot with mkarchroot ;)

I suppose there are similar issues arising in lines 387 and 396 where regular expressions also use the non ARM based Arch Linux mirror structure
MrBlumi
 
Posts: 1
Joined: Sun Jan 07, 2024 5:43 pm

Return to Packages

Who is online

Users browsing this forum: No registered users and 9 guests