LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Pinning packages in yum

[ILUG] Pinning packages in yum

Bailey, Darragh 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.

--
Regards,
Darragh Bailey

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 mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell