You are not logged in.

#1 2015-11-19 12:37:09

Arcnoob
Member
Registered: 2015-11-19
Posts: 2

[SOLVED] Updating mirror list during pacstrap

So I'm finally installing arch;

I ran pacstrap with the default list, and I'm getting an average of 5 Kbps
I've now edited /etc/paceman.d/mirrorlist to contain only geographically close servers
I assume paceman reads it once when called and not in between each download so my only option is to stop it and launch again.

Will pacstrap survive it?

Last edited by Arcnoob (2015-11-20 01:52:20)

Offline

#2 2015-11-19 12:53:08

bstaletic
Member
Registered: 2014-02-02
Posts: 658

Re: [SOLVED] Updating mirror list during pacstrap

Sure, I interrupted pacman a lot of times. At this point interrupt pacstrap and use the following

pacman -r /mnt -b /mnt/var/lib/pacman --cachedir /mnt/var/cache/pacman/pkg --logfile /mnt/var/log/pacman.log --gpgdir /mnt/etc/pacman.d/gnupg -S --needed base

Some of these may be unneccessary, though they do no harm. I also think you could just restart pacstrap with no harm, though it's not advised.

Explanation for the pacman command:
-r sets root dir
-b sets pacman db path
--needed won't reinstall already installed packages
The rest should be obvious.

Offline

#3 2015-11-20 01:51:52

Arcnoob
Member
Registered: 2015-11-19
Posts: 2

Re: [SOLVED] Updating mirror list during pacstrap

Thanks!

I went with the "you could just restart" (curiosity and laziness combined) and it went well.

Also, what a nice introduction to the community having a question answered so quickly smile

Cheers!

Offline

Board footer

Powered by FluxBB