On Fri, Nov 28, 2008 at 8:38 AM, Thomas Bächler <thomas@xxxxxxxxxxxxx> wrote: > Loui Chang schrieb: >> >> On Fri, Nov 28, 2008 at 09:13:55AM -0500, Baho Utot wrote: >>> >>> I created a custom package repository to hold arch packages compiled >>> locally. I compile a newer package from abs then I have on the current >>> system and it is placed into my custom repos. >>> >>> I issue a pacman -Syu will pacman get the package from arch or will it >>> install from my custom repository? >> >> It will install from the repo with the newest version. >> > > Wrong, as far as I remember: It will pull from the first repository that is > in pacman.conf. > > From pacman.conf where we documented this: The order of repositories in the configuration files matters; repositories listed first will take precedence over those listed later in the file when packages in two repositories have identical names, regardless of version number.