You are not logged in.

#1 2004-12-07 15:00:42

BlackFenix
Member
Registered: 2004-11-02
Posts: 61

One package - multi mirrors

pacman -Ss foo

extra/foo1.1
current/foo1
testint/foo1.2
unstable/foo1.3

if i execute

pacman -S foo

the foo1.3 package will be installed, correct ?

But i need foo1 then

pacman -S current/foo1

work ?

Another question:

if my pacman.conf have testing, current, extra, unstable, tur's mirrors, when i execute

 pacman -Syu

Pacman will search packages in order:

current, extra, testing, unstable, tur's

or only in current, extra ?

To do a -Syu only in current, extra i need configure alternative config file with --config ?

Sorry for my english


[img]http://www.archlinux.org/logos/button.png[/img]
The poem is the ash of Fênix that the soul of somebody transforms into dream and transforms into body and later into light.

Offline

#2 2004-12-07 17:06:22

xerxes2
Member
From: Malmoe, Sweden
Registered: 2004-04-23
Posts: 1,249
Website

Re: One package - multi mirrors

hello,
"pacman -S foo" installs the newest version of foo from the first repo it is in,
so if you want to use "testing" repo it must be put first in your mirror configuration,
http://wiki2.archlinux.org/index.php/Pa … figuration

"pacman -Syu" works the same way


arch + gentoo + initng + python = enlisy

Offline

#3 2004-12-07 18:42:44

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

Re: One package - multi mirrors

this is also one of the reasons i hate to see many versions of one package. it is a horror to administer them at both ends.


AKA uknowme

I am not your friend

Offline

#4 2004-12-07 20:05:09

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

Re: One package - multi mirrors

Its very unlikely to see a package in both current and extra (they're supposed to be mutually exclusive, except extra can depend on current).  It is likely to see a package in both testing and current or extra, or in both unstable and current or extra, but not likely in testing AND unstable AND current or extra. Generally the unstable ones have different package names (ie: foocvs), and people using unstable should theoretically know what they are doing.

Dusty

Offline

#5 2004-12-29 10:07:42

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

Re: One package - multi mirrors

I have a similar problem.
I have a ruby package built from abs in my personal repo (for custom built packages)
The arch devs just released a new ruby build for 1.8.2.
My repo is first on my list of repos, so pacman is not grabbing the newest version. This is fine normally, but I do want the newer version in this case....

is there a way to specify the repo to retrieve from, without having to reorder the repo list?
like..
pacman -S ruby --repo extra


"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

#6 2004-12-29 15:02:43

BlackFenix
Member
Registered: 2004-11-02
Posts: 61

Re: One package - multi mirrors

Cool feature.... Judd ??  big_smile  lol  wink


[img]http://www.archlinux.org/logos/button.png[/img]
The poem is the ash of Fênix that the soul of somebody transforms into dream and transforms into body and later into light.

Offline

#7 2004-12-29 19:37:47

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

Re: One package - multi mirrors

cactus wrote:

is there a way to specify the repo to retrieve from, without having to reorder the repo list?
like..
pacman -S ruby --repo extra

Yes.

# pacman -S current/foo

Offline

#8 2004-12-29 19:41:34

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

Re: One package - multi mirrors

w00t!
8)

*does happy dance around his office*

lol..you guys are greatly contributing to my neighbors thinking I am a crazy computer nut.


"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

Board footer

Powered by FluxBB