You are not logged in.

#1 2009-07-19 09:23:21

onthenickel
Member
From: Earth
Registered: 2009-06-20
Posts: 14

[Solved] syntax for specifying a custom mirror in installer?

Hi,

Kind of a random question...

When I choose to enter a custom mirror in the installer, it says:

Enter the full URL to the core repo (you may use $repo as a placeholder for the repo name, i.e. core).

and the default value is:

ftp://ftp.archlinux.org/$repo/os/i686

so... I'm kinda confused by that...  I'm using a 5 character variable name ($repo) as an abbreviation for a four character word (core)?  Am I understanding that right? :-)

Last edited by onthenickel (2009-07-20 00:28:15)

Offline

#2 2009-07-19 09:29:46

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [Solved] syntax for specifying a custom mirror in installer?

the size of the string doesn't matter. the main purpose of this was to have only a single file where to store mirror list. in the paste we have 3 or 4 files for each repo, core, extra,community,testing where in each of them was the same list with different path. now we have only one, mirrorlist.

Last edited by wonder (2009-07-19 09:30:48)


Give what you have. To someone, it may be better than you dare to think.

Offline

#3 2009-07-20 00:27:30

onthenickel
Member
From: Earth
Registered: 2009-06-20
Posts: 14

Re: [Solved] syntax for specifying a custom mirror in installer?

okay... I think I am understanding now... :-P

This is from http://wiki.archlinux.org/index.php/Pacman

Repositories

In this section you define which repositories to use, as referred to in /etc/pacman.conf. They can be defined directly here, or you can include them from another file.

All official repositories use the same /etc/pacman.d/mirrorlist file which contains a variable '$repo', so you only need to maintain one list.

So for example, I want to use the lividpenguin mirror...

I specified this value in the installer program:

however, I see now that it might be better for me to specify it like this:

The $repo variable allows pacman to use this mirror for any of the following repositories...

community
core
current
extra
kde-unstable
testing

Hmm...  sorry for taking up bandwidth with such basic questions...

Offline

Board footer

Powered by FluxBB