You are not logged in.

#1 2012-01-24 22:51:09

freyr
Member
From: Hungary
Registered: 2010-02-04
Posts: 131

[solved] How can I prevent package upgrades from certain repos?

Hi!

I'm using catalyst-hook package for my video card and so I need to use the xorg-server and xf86 drivers from a custom repo xorg110. But the packages inside that repo are older than the packages in extra, so a system upgrade always upgrades them. I want to prevent that and only upgrade these packages from repo xorg110.

At this time I wrote a simple script that installs back the upgraded packages from xorg110, but I always have to manually execute that script. Can I configure packman to not upgrade packages from a certain repo? I tried to write them in /etc/pacman.conf to IgnorePKG with extra/, but that didn't worked, pacman ignores the ignore list in that way.

Last edited by freyr (2012-01-24 23:13:46)


What, so everyone's supposed to sleep every single night now? You realize that nighttime makes up half of all time?

Offline

#2 2012-01-24 23:02:21

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

Re: [solved] How can I prevent package upgrades from certain repos?

Put your [xorg110] repo above [extra] in pacman.conf

Offline

#3 2012-01-24 23:12:54

freyr
Member
From: Hungary
Registered: 2010-02-04
Posts: 131

Re: [solved] How can I prevent package upgrades from certain repos?

Allan wrote:

Put your [xorg110] repo above [extra] in pacman.conf

Wow! Can it be that simple?
And it worked! Thanks, I'd never thought about that.


What, so everyone's supposed to sleep every single night now? You realize that nighttime makes up half of all time?

Offline

Board footer

Powered by FluxBB