Skip to main content
Topic: Single package priority (Read 232 times) previous topic - next topic
0 Members and 3 Guests are viewing this topic.

Single package priority

Package's priority is decided according to the order in /etc/pacman.conf.

Can I change the priority of single packages?
For example I have the world repo with higher priority than extra but I'd like to get a package from there instead.

Re: Single package priority

Reply #1
Put the name of the repo in front of the package as in:
Code: [Select]
pacman -S extra/PACKAGE

You can also add the package to 'ignore' in pacman.conf. So it won't get upgraded automatically but you'll get a warning when an update is available.

Also you can add
VerbosePkgLists
to the # Misc options part of pacman.conf and you'll always see which repo's are being sourced from for each package on install or upgrade.

 

Re: Single package priority

Reply #2
It would be nice if that would be done automatically but it is not a big deal.