You are not logged in.

#1 2005-07-17 11:20:02

jackmetal
Member
From: US
Registered: 2005-06-13
Posts: 164

All repos are gone from pacman.d after sortmirrors -(SOLVED)

(SOLVED)

If you run into this, what I did to solve it was to just copy the files from the ABS back into /etc/pacman.d.  If you've run abs, the files are located in /var/abs/base/pacman. 

:shock:

Well, I ran sortmirrors while behind a customers firewall before I thought about it, and it cleared out ALL of the repos from all the pacman.d files..  I have a backup (but due to a bug with 'hdup' that won't allow single file restores from compressed archives - which I alerted the author about earlier in the week), I'm waiting on my bunzip2 to complete on the huge backup file and thought I'd post here while waiting.  ;-)

Is there a list of all the repos somewhere or is there somewhere I can re-download the pacman.d files?

I've searched the forum and the wiki but haven't found them.

Thanks!
JM


--

Some of the world's greatest feats were
accomplished by people not smart enough
to know they were impossible.
-- Doug Larson

Offline

#2 2005-07-17 17:12:23

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,622
Website

Re: All repos are gone from pacman.d after sortmirrors -(SOLVED)

List of mirrors
I put that up a while back when someone had the same problem. Eventually, it will make its way to the new wiki.


"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍

Offline

#3 2005-07-17 17:19:58

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: All repos are gone from pacman.d after sortmirrors -(SOLVED)

My question is why the mirrors get deleted when you run sortmirrors... is this a misconfiguration or a bug?

I think I submitted a bug for this a while back, but I don't recall getting any feedback on it.

Dusty

Offline

#4 2005-07-17 22:30:17

Shofs
Member
From: Central Illinois
Registered: 2004-12-15
Posts: 184

Re: All repos are gone from pacman.d after sortmirrors -(SOLVED)

cactus wrote:

List of mirrors
I put that up a while back when someone had the same problem. Eventually, it will make its way to the new wiki.

I asked once, and it is still annoying.

Offline

#5 2005-07-21 03:07:57

nesta
Member
From: Albuquerque
Registered: 2003-11-21
Posts: 30
Website

Re: All repos are gone from pacman.d after sortmirrors -(SOLVED)

Dusty wrote:

My question is why the mirrors get deleted when you run sortmirrors... is this a misconfiguration or a bug?

I think I submitted a bug for this a while back, but I don't recall getting any feedback on it.

Dusty

This happened to me right after a *fresh install*  -- I instalaled 0.7 base from FTP sources.. installed base packages. Booted into system, downloaded netselect, ran sortmirrors  & Viola! All the mirrors were deleted from /etc/pacman.d/[repo_name]  .... I was able to get them back by reinstalling pacman after deleting all files in the directory.

OUCH.

Any word ??

Brice

Offline

#6 2005-07-21 03:25:18

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: All repos are gone from pacman.d after sortmirrors -(SOLVED)

Nothing... start harrassing people:

http://bugs.archlinux.org/index.php?do=details&id=2952

Dusty

Offline

#7 2005-07-21 17:31:24

apeiro
Daddy
From: Victoria, BC, Canada
Registered: 2002-08-12
Posts: 771
Website

Re: All repos are gone from pacman.d after sortmirrors -(SOLVED)

Fixed the sortmirrors.pl bug for next release.

If anyone wants to hack on netselect to fix the other issue, it would be helpful.  See the bug report above for details.

Offline

#8 2005-07-21 17:51:46

apeiro
Daddy
From: Victoria, BC, Canada
Registered: 2002-08-12
Posts: 771
Website

Re: All repos are gone from pacman.d after sortmirrors -(SOLVED)

Hmm... scratch that.  I didn't fix the sortmirrors bug.  smile

Turns out it's netselect's fault.  On my laptop, netselect doesn't do its job and gives back no servers.  On two other boxes, it works fine.

Sorry, not much I can do here, unless we find a better tool than netselect.

Offline

#9 2005-07-21 20:02:14

nesta
Member
From: Albuquerque
Registered: 2003-11-21
Posts: 30
Website

Re: All repos are gone from pacman.d after sortmirrors -(SOLVED)

apeiro wrote:

Hmm... scratch that.  I didn't fix the sortmirrors bug.  smile

Turns out it's netselect's fault.  On my laptop, netselect doesn't do its job and gives back no servers.  On two other boxes, it works fine.

Sorry, not much I can do here, unless we find a better tool than netselect.


Why not use a combination of ping and traceroute & parse the results? Although this doesn't look into bandwith caps such as what ibiblio (and I believe nethat.com limits to 350k/s) implements.

Brice

Offline

Board footer

Powered by FluxBB