You are not logged in.

#1 2010-01-08 15:13:57

IMCHillen
Member
Registered: 2010-01-08
Posts: 10

Pacman repositories and upgrading

Ok, here's the story. I have the normal repos open, and a whole bunch of user repositories added in. A few select packages have newer versions in the user repositories, but because they come later in pacman.conf, they don't get updated. Shaman recognizes this and upgrades them, but I hate shaman. Is there any way to make pacman check ALL the repos rather than just downloading packages from the first one it finds it in?

Offline

#2 2010-01-08 22:45:54

chpln
Member
From: Australia
Registered: 2009-09-17
Posts: 361

Re: Pacman repositories and upgrading

This is not supported in pacman as far as I know.

It might be worth submitting a feature request for it.  However, having pacman grab the newest package is a sure source of problems (even with more advanced dependency resolution), and the use-case is somewhat limited.

My feeling is that this case should be handled by those providing the unofficial repositories; not by pacman.

Offline

#3 2010-01-08 23:28:21

Xyne
Forum Fellow
Registered: 2008-08-03
Posts: 6,965
Website

Re: Pacman repositories and upgrading

You can specify packages with "$repo/$pkgname", e.g. if you want to update "bar" from the "foo" repo instead of e.g. core, run "pacman -S foo/bar".

I suspect that pacman respects the repo order partly for security reasons.


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#4 2010-01-09 01:53:09

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,362

Re: Pacman repositories and upgrading

If you put your user repositories above the normal repositories they get used instead...


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#5 2010-01-09 03:26:44

Dead Code
Member
Registered: 2009-01-18
Posts: 227

Re: Pacman repositories and upgrading

I suppose what Xyne said is a proper way to upgrade but its a bit tedious. If you have lot of packages place it above the normal repos in pacman.conf

Offline

Board footer

Powered by FluxBB