You are not logged in.

#1 2011-01-04 05:01:35

Kinch
Member
From: Buffalo, NY
Registered: 2011-01-03
Posts: 5
Website

Mirrorlist and Repositories

I wasn't entirely sure of where to post this. Additionally, it is very possible that this is just a very simple thing that I somehow don't understand. I am trying to learn more about Arch and while the question may seem silly I would appreciate a sincere answer.

I have been messing around with the repos and basically customizing my mirrorlist to meet my own needs. However, there is something I'm not quite sure of. When I first used reflector to get a list of the 5 fastest repos I got something like this:

# 2011-01-03 8:07
# generated by reflector
# ranked by rankmirrors

Server = http://www.gtlib.gatech.edu/pub/linux/distributions/archlinux/$repo/os/$arch
Server = ....

Now, I have a system that uses i686 compatible programs. Does pacman have a built-in check for file compatibility with the system architecture? Or would I change it to something like below?

# 2011-01-03 8:07
# generated by reflector
# ranked by rankmirrors 

Server = http://www.gtlib.gatech.edu/pub/linux/distributions/archlinux/$repo/os/i686
Server = ....

I could have looked at pacman's source but I'm not that familiar with C. I have tried refreshing and re-syncing the repos using pacman -Syy and it does refresh with no problems.

Last edited by Kinch (2011-01-04 05:02:25)


the government is corrupt
and we're on so many drugs with the radio on and the curtains drawn
we're trapped in the belly of this horrible machine
and the machine is bleeding to death

Offline

#2 2011-01-04 05:07:52

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,648
Website

Re: Mirrorlist and Repositories

pacman replaces "$arch" with the Architecture specified in pacman.conf.   If you use "auto" there, it gets it from "uname".

Offline

#3 2011-01-04 05:10:29

Kinch
Member
From: Buffalo, NY
Registered: 2011-01-03
Posts: 5
Website

Re: Mirrorlist and Repositories

Cool beans. Upon closer inspection of pacman.conf that makes a lot of sense.


the government is corrupt
and we're on so many drugs with the radio on and the curtains drawn
we're trapped in the belly of this horrible machine
and the machine is bleeding to death

Offline

Board footer

Powered by FluxBB