[ILUG] Pinning packages in yum
dbailey at hp.com
Mon Mar 30 12:00:10 IST 2009
Is there a way to pin packages with yum similar to the idea with apt? or force a preference order for repositories, irraspective of the versions of the packages available?
I'd like to include additional repositories such as dag, for some additional packages that some build systems that I manage may require.
Example of what I want:
Install new packages from Base or Updates if available, and install from there even if version is lower than what is present in the additional repos
If new package not in Base or Updates, then search additional repo's
Update only from updates repo if current package matches what is in Base or Updates
Otherwise update from additional repos
Anything out there for yum to allow this behaviour? Basically I don't want by default to pull in updated packages from any additional (third party) repositories if they are already available via the distro repositories.
Systems Software Engineer
Hewlett Packard Galway Ltd.
Postal Address: Hewlett Packard Galway Limited, Ballybrit Business Park, Galway
Registered Office: Hewlett Packard Galway Limited, 63-74 Sir John Rogerson's Quay Dublin 2
Registered Number: 361933
More information about the ILUG