|
From: Craig W. <cra...@az...> - 2005-10-08 13:05:49
|
On Sat, 2005-10-08 at 22:36 +1000, Jamie Cameron wrote: > Hi James, > Is it possible to have YUM look in all the configured repositories > for a specified package? It would seem to me that this would be better > than needing to tell it which one to look in ... unless the same package > exists on more than one repository? > > As you can see, I am not really much of a YUM expert :) > ---- it's possible (and likely) to have yum repos listed in yum.conf or better these days, in their own files in /etc/yum.repos.d/WHATEVER.repo and have 'enabled=0' in the configuration for that repo. Then running from a command line (or I would presume from yumex) you could install a package just from that repo with the enablerepo=XXXXX in the same command line - i.e. yum enablerepo=dag install xmms-mp3 and yet still have dag repo disabled so it is not involved in commands such as 'yum update' or 'yum upgrade' because yes, sometimes the same packages - often varying levels of stability exist in multiple repositories. In fact most of the time now, they are including the 'testing' branch of the repositories in the yum.repos section (disabled of course) which would cause havoc if enabled by average user. Craig -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. |