You are not logged in.
My bandwidth is slow and expensive so i use delta package as per this Arch Wiki.
But, for anumber of reasons the delta mirror only provide small number of delta package, and it's geographically far away from where i live so it's kind of slower.
Here's my /etc/pacman.d/mirrorlist:
Server = http://suro.ubaya.ac.id/archlinux/$repo/os/$arch
Server = http://delta.archlinux.fr/$repo/os/$archFirst line is nearest Arch mirror dan second line is delta package mirror.
What i want to achieve with that mirrorlist is Arch download update with delta package if available, if there is no delta package avalaible for that update then Arch will download regular package from the nearest mirror.
Thanx ![]()
EDIT: Solved it, well, kind of ...
I end up created a script for update.
#!/bin/sh
sed -i '/suro/s/^Server/#Server/' /etc/pacman.d/mirrorlist
pacman -Syy
sed -i '/suro/s/^#Server/Server/' /etc/pacman.d/mirrorlist
pacman -SuLast edited by si_kabayan (2014-11-13 05:47:29)
Offline
Pacman uses the first working (on-line) mirror from the mirrorlist, so I think the delta mirrors should come first.
Offline
Pacman uses the first working (on-line) mirror from the mirrorlist, so I think the delta mirrors should come first.
What do you mean with 'first working'? Is it the order of the mirror in mirrorlist or the time the mirror up online (established)
Offline
I mean the order in the mirrorlist.
Offline
The order in mirrorlist is what matters.
pacman will ask the first uncommented mirror , if that has the info required pacman uses that mirror.
If the first uncommented mirror doesn't have the info or doesn't respond, pacman will try the next uncommented mirror
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
I mean the order in the mirrorlist.
OK.
The order in mirrorlist is what matters.
pacman will ask the first uncommented mirror , if that has the info required pacman uses that mirror.
If the first uncommented mirror doesn't have the info or doesn't respond, pacman will try the next uncommented mirror
Do you know if delta.archlinux.fr hosting only delta package or mirrorring all Arch package?
Because i just need delta package from this mirror, and regular package must from nearest mirror.
Offline
open http://delta.archlinux.fr in any browser and you can see for yourself.
A quick peek suggest they have both delta and full packages
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Have a look at e.g. http://delta.archlinux.fr/core/os/i686/ - I see standard packages too, not just deltas.
Offline
That's mean all package will download from http://delta.archlinux.fr, if it doesn't have the info or doesn't respond, pacman would get from another mirror?
Then in my case, the local mirror is useless ....
Maybe i just need to create a screept or an alias to:
uncheck delta.archlinux.fr in /etc/mirrorlist
pacman -Sy
check delta.archlinux.fr in /etc/mirrorlist
pacman -Syu
Thanx for the answer
, it's already 6AM in here, have to work ...
Offline
Create aliases that use different configs pointing to different mirrors.
Offline