You are not logged in.
Hello everyone.
Is out there some pacman wrapper that walks through an ordered list of mirrors to download a package from a mirror where particular package is available ?
Last edited by shpelda (2010-02-12 14:05:52)
Offline
Every mirror has every package. I assume you mean package VERSION. In that case, just head over to schlunix or something like that. Check the wiki or dowgrading packages.
Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.
Offline
Yes, I mean "package version". But it's not problem of downgrading packages.
I am getting annoyed 'my mirror' out of sync. If I Syu, i get a fresh list of actual package versions, but those are not (yet) on mirror.
So, update fails.
I am looking for something that will allow pacman to try 'my mirror' and if package version is not there then use some 'backup mirror'(maybe schlunix).
Last edited by shpelda (2010-02-07 07:36:08)
Offline
Umm... pacman does that automatically. Just enable multiple mirrors in /etc/pacman.d/mirrorlist
Offline
Make another pacman.conf, change the mirrorlist, then run a script that calls reflector which you'll need to install.
#!/bin/bash
abs
reflector -l 5 -f 2 -o /etc/pacman.d/mirrorlist-full
pacman -Syyu --config /etc/pacman-full.conf
exit 0That's what I use if I can't wait for my mirror to sync, bear in mind that will do a full system upgrade and sync up ABS as well.
Quite possibly a horrible script, posted for inspiration to make your own!
Offline
If your chosen mirror is usually out of sync, stop using it and pick one or more reliable mirrors instead using the information provided here. If you want to automate this, use reflector.
I have had the same five manually-selected mirrors at the top of my mirrorlist for years, and I hardly ever have sync issues. If I do, they don't last more than a few hours.
Offline
solved. thanks.
Offline