You are not logged in.

#1 2010-02-07 14:22:55

SemiBz
Member
From: Riga, Latvia
Registered: 2010-01-30
Posts: 80

[ pacman ] Download from server X, if not found, download from Y ?

So I was thinking about using some kind of prioritizing as the default ( Latvia ) server is missing some files. Is it possible to set the default server and if something is missing, try to get it from another, without interrupting the whole download/install process ?

Offline

#2 2010-02-07 14:37:08

ZaQ
Member
Registered: 2009-12-12
Posts: 106

Re: [ pacman ] Download from server X, if not found, download from Y ?

Edit /etc/pacman.d/mirrorlist  or make an own mirrorlist file

pacman starts at the top. If download breaks, pacman takes the next (uncommented) server in the list and so on...

Offline

#3 2010-02-07 14:37:26

sHyLoCk
Member
From: /dev/null
Registered: 2009-06-19
Posts: 1,197

Re: [ pacman ] Download from server X, if not found, download from Y ?

*confused*

Pick an updated mirror and stick to it. Everything's there. Obviously what you said is thedefault way pacman handles it. That's why there are several servers in mirrorlist. You could uncomment a few servers.


~ Regards,
sHy
ArchBang: Yet another Distro for Allan to break.
Blog | GIT | Forum (。◕‿◕。)

Offline

#4 2010-02-07 14:43:29

n0dix
Member
Registered: 2009-09-22
Posts: 956

Re: [ pacman ] Download from server X, if not found, download from Y ?

Like it said @ZaQ, if you have differents mirrors in your  mirrorlist, pacman should choice a different one if any failed.

Offline

#5 2010-02-07 15:32:18

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [ pacman ] Download from server X, if not found, download from Y ?

You can use something like Xyne's powerpill.

Offline

#6 2010-02-07 15:42:39

SemiBz
Member
From: Riga, Latvia
Registered: 2010-01-30
Posts: 80

Re: [ pacman ] Download from server X, if not found, download from Y ?

Will try to enable one or more alternate mirrors and see whether it works or not.

skottish wrote:

You can use something like Xyne's powerpill.

Have been reading about it but never actually tried - will give it a go smile

Offline

Board footer

Powered by FluxBB