You are not logged in.

#1 2026-05-29 23:49:24

bivan
Member
Registered: 2026-02-03
Posts: 23

[SOLVED] The pacstrap -M option doesn't seem to work

I installed Arch Linux by the latest archlinux-x86_64.iso with

pacstrap -icMK /mnt ...

, the issue: /mnt/etc/pacman.d/mirrorlist has all the "Server =" without # at the beginning, as /etc/pacman.d/mirrorlist (archlinux-x86_64.iso) but not as pacman-mirrorlist-20260406-1-any.pkg.tar.zst -> etc/pacman.d/mirrorlist, so I presume the title, a bug?

Last edited by bivan (2026-05-30 06:46:04)

Offline

#2 2026-05-30 00:19:01

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,519
Website

Re: [SOLVED] The pacstrap -M option doesn't seem to work

Cannot reproduce here.

# pacstrap -icMK /tmp/test base
[...]
# pacman -r /tmp/test -Qkk pacman-mirrorlist 
pacman-mirrorlist: 3 total files, 0 altered files
# head /tmp/test/etc/pacman.d/mirrorlist
##
## Arch Linux repository mirrorlist
## Generated on 2026-04-06
##

## Worldwide
#Server = https://fastly.mirror.pkgbuild.com/$repo/os/$arch
#Server = https://geo.mirror.pkgbuild.com/$repo/os/$arch
#Server = https://ftpmirror.infania.net/mirror/archlinux/$repo/os/$arch
#Server = https://mirror.rackspace.com/archlinux/$repo/os/$arch

Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2026-05-30 05:43:04

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,725

Re: [SOLVED] The pacstrap -M option doesn't seem to work

doesn't seem to work

Please don't paraphrase, https://bbs.archlinux.org/viewtopic.php?id=57855
What's the actual error?

Offline

#4 2026-05-30 06:45:06

bivan
Member
Registered: 2026-02-03
Posts: 23

Re: [SOLVED] The pacstrap -M option doesn't seem to work

I found! After pacstrap -icMK ... I did

pacstrap -U /mnt /home/!/Arch_Linux_KDE/.tar

(a modified yabridge package), the solution is to add M here also:

pacstrap -UM /mnt /home/!/Arch_Linux_KDE/.tar

Offline

Board footer

Powered by FluxBB