I mentioned earlier about repofu. I've edited this down to one post instead of two.
Repos for yum and compatible work-a-likes have an available config option for every config to exclude packages. *Note: /etc/yum.conf is the master yum config file*. Entries for specific repos go in the respective repo config files. For example: * /etc/yum.repo.d/ * I have a typical setup from ATrpms with stable enabled. If I leave the config file as shipped and install mythtv for example. It will install the latest release from the server by default. You can override this on the cmd line but it's not the best way. Adding an exclude line in your specific repo config is a better way. For example: I want to install mythtv-0.25.3 from Axels repo but I don't want the latest version on the server. I want a specific version, but several exist. Not to worry! First: Make a backup of you original config file in /etc/yum.repos.d/ Then add one entry such as below if you want to try just 0.25.3 exclude=myth*-0.2[4678]* p*-MythTV-0.2[46] Then just install what you want, using yum as normal. # yum install mythtv-frontend etc,etc The above exclude is quite easy to understand one you get the syntax. I'll break this down into non technical speak. Exclude the packages that don't match mythtv-0.25 and related dependencies and give me the rest only. Note the missing 5. It's easy to convert this to what you want, by specifying what you don't want. Funny how that is. Another example: If you want mythtv 0.26.1 then your config exclude should look similar to or work similar to: exclude=myth*-0.2[4578]* p*-MythTV-0.2[45] 27.X+ external repo coexistence example: If you want mythtv-0.27.X from another ATrpms compatible server but you want to still use the packages on Axels server. In that case it your atrpms repo would look like or be similar in function to this: exclude=myth* p*-MythTV* To explain: You don't want any myth* or p*-MythTV* packages from this repo, but you don't want to try everything else. Just exclude what your missing from Axel's repo and then you can use another compatible repos external packages easily. I hope now you can also see and understand how this could easily be transferred to other rpm packages and repos, not just mythtv and ATrpms. It gets more complex outside of Axels compatible repo's. But anythings possible in this if your willing to put in the work. Even using RPMf and ATrpms packages with peaceful coexistence is possible, but it's an advanced topic and not always useful. Finally, If your doing something you feel is important for more than just you and your trying to help others and your stuck. Send me a private email with what your trying to achieve and I will offer you my humble, but confident opinion. Happy ATRpm'ing, Kelsie Flynn
_______________________________________________ atrpms-users mailing list atrpms-users@atrpms.net http://lists.atrpms.net/mailman/listinfo/atrpms-users