You are not logged in.

#1 2008-02-18 13:23:45

staticvoid
Member
Registered: 2008-01-22
Posts: 160

[SOLVED] Doh! Reset mirrorlist option?

I ran this kids script and it messed up /etc/pacman.d/mirrorlist, which now only reads:

# Server list generated by rankmirrors on 2008-02-18
# Server list generated by rankmirrors on 2008-02-18
#
# Arch Linux repository mirrorlist
#

# United States

ftp://ftp.archlinux.org/$repo/os/i686
ftp://locke.suu.edu/linux/dist/archlinux/$repo/os/i686
ftp://ftp.archlinux.org/$repo/os/i686

Someone have a mirrorlist I could borrow? Also, how do I get rankmirrors to do its thing? by just running rankmirrors? (i've already installed python)

thanx

sv

p.s. i'm assuming this is the problem, pacman can't fetch packages for me due to an "unknown error" i already tried pinging things and dhcpcd eth0... so i figured it must be this smile

edit: i'm gonna reboot and try this:

pacman -U ftp://ftp.archlinux.org/core/os/i686/pacman-3.1.0-1-i686.pkg.tar.gz

edit 2: ok.. so aparantly the new version of pacman does not use the mirrorlist file...?

Yes.  If you look inside /etc/pacman.d/mirrorlist file you'll see that servers there are listed with "$repo" variable instead of the actual repo name in the address ("ftp://ftp.archlinux.org/$repo/os/i686" instead of "ftp://ftp.archlinux.org/core/os/i686" for example) -- pacman is able to use the correct value for $repo automatically now so it's no longer necessary to have separate server lists for each repository.

Last edited by staticvoid (2008-02-18 18:13:42)


this is my sig

Offline

#2 2008-02-18 13:28:41

dyscoria
Member
Registered: 2008-01-10
Posts: 1,007

Re: [SOLVED] Doh! Reset mirrorlist option?

You can find a list of mirrors here: http://wiki.archlinux.org/index.php/Mirrors I guess you could just enter them in manually.

This should help you use the rankmirrors script: http://wiki.archlinux.org/index.php/Beg … mirrorlist


flack 2.0.6: menu-driven BASH script to easily tag FLAC files (AUR)
knock-once 1.2: BASH script to easily create/send one-time sequences for knockd (forum/AUR)

Offline

#3 2008-02-18 13:32:17

staticvoid
Member
Registered: 2008-01-22
Posts: 160

Re: [SOLVED] Doh! Reset mirrorlist option?

thanx! smile i'm so confused... mirrorslist is called by pacman.conf?

sv

edit: yahooo!!  found one: http://cvs.archlinux.org/cgi-bin/viewcv … cvs-markup

big_smile

Last edited by staticvoid (2008-02-18 13:36:49)


this is my sig

Offline

#4 2008-02-18 13:36:32

dyscoria
Member
Registered: 2008-01-10
Posts: 1,007

Re: [SOLVED] Doh! Reset mirrorlist option?

staticvoid wrote:

thanx! smile i'm so confused... mirrorslist is called by pacman.conf?

Yeah. I think it was decided that people normally use the same mirrors for all their repositories anyway, so a universal mirrorlist would be the KISS thing to do. A repository that you want using a different mirror than the one at the top of '/etc/pacman.d/mirrorlist' can be inserted into '/etc/pacman.conf' manually. For example, KDEmod uses their own mirrors, and you add this to pacman.conf:

[kdemod]
Server = http://kdemod.iskrembilen.com/i686

flack 2.0.6: menu-driven BASH script to easily tag FLAC files (AUR)
knock-once 1.2: BASH script to easily create/send one-time sequences for knockd (forum/AUR)

Offline

#5 2008-02-18 13:48:38

staticvoid
Member
Registered: 2008-01-22
Posts: 160

Re: [SOLVED] Doh! Reset mirrorlist option?

cool beans, i actually was gonna use kdemod...  smile thanx! so far i've got sound working... i was getting X, but i wanted to make sure i have the fastest server smile

i'll see if all that did the trick and install moc or somthing before getting X and my DE big_smile then i'll rankmirrors...


this is my sig

Offline

#6 2008-02-18 14:27:58

staticvoid
Member
Registered: 2008-01-22
Posts: 160

Re: [SOLVED] Doh! Reset mirrorlist option?

hmm... i think i fixed everything.. network is up...pacman.conf and mirrorlist look right.. but pacmans giving me errors... : /

hm


this is my sig

Offline

#7 2008-02-18 14:42:44

dyscoria
Member
Registered: 2008-01-10
Posts: 1,007

Re: [SOLVED] Doh! Reset mirrorlist option?

What kind of errors? Post them up if you like.


flack 2.0.6: menu-driven BASH script to easily tag FLAC files (AUR)
knock-once 1.2: BASH script to easily create/send one-time sequences for knockd (forum/AUR)

Offline

#8 2008-02-18 16:48:31

staticvoid
Member
Registered: 2008-01-22
Posts: 160

Re: [SOLVED] Doh! Reset mirrorlist option?

you know what i think? the server for israel was on the bottom of the mirror list, thats why it failed to fetch the packages. anyway, reinstalled (which was fast! so no prob) and booted in. then i updated everything, got the new version of pacman, did what they said about updating DBsync and rmove /etc/pacman.d/community..core..extra... etc. and then you know what? instead of downloading at 400 k/s it was updating at 6 k/s! no fun! finally upon the 3-4th reread of the beginners guide i figured out how to nano /etc/pacman.d/mirrorlist and Ctrl+K, Ctrl+U the server to the top of the list! yipeee.. so now i have X up and running and my swap even started working...  smile i think i'll go get kdemod...  smile

sv


this is my sig

Offline

#9 2008-02-18 16:51:54

dyscoria
Member
Registered: 2008-01-10
Posts: 1,007

Re: [SOLVED] Doh! Reset mirrorlist option?

Awesome. Good luck with KDEmod! (which by the way is a fantastic project)


flack 2.0.6: menu-driven BASH script to easily tag FLAC files (AUR)
knock-once 1.2: BASH script to easily create/send one-time sequences for knockd (forum/AUR)

Offline

#10 2008-02-18 18:12:56

staticvoid
Member
Registered: 2008-01-22
Posts: 160

Re: [SOLVED] Doh! Reset mirrorlist option?

dyscoria wrote:

Awesome. Good luck with KDEmod! (which by the way is a fantastic project)

hey do i just do "exec startkde" in my ~/.xinitrc file to get it to load with X?

thnx..  big_smile

marking this as solved....


this is my sig

Offline

#11 2008-02-18 20:27:15

dyscoria
Member
Registered: 2008-01-10
Posts: 1,007

Re: [SOLVED] Doh! Reset mirrorlist option?

staticvoid wrote:
dyscoria wrote:

Awesome. Good luck with KDEmod! (which by the way is a fantastic project)

hey do i just do "exec startkde" in my ~/.xinitrc file to get it to load with X?

thnx..  big_smile

marking this as solved....

I believe so yes. Or you can add 'kdm' to your list of DAEMONS in '/etc/rc.conf' for the fancy login screen.

Last edited by dyscoria (2008-02-18 20:27:50)


flack 2.0.6: menu-driven BASH script to easily tag FLAC files (AUR)
knock-once 1.2: BASH script to easily create/send one-time sequences for knockd (forum/AUR)

Offline

Board footer

Powered by FluxBB