|
From: Jamie C. <jca...@we...> - 2005-10-09 00:43:30
|
On Sat, 2005-10-08 at 23:05, Craig White wrote: > 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. Hi Craig, I see how that option could be useful now, and I will add support for it in the next version of Webmin on systems that have any disabled repositories. Which version of YUM was it first introduced in though? On my Fedora 2 system YUM doesn't seem to support that enablerepo= option. - Jamie |