|
From: James E. J. <jam...@sb...> - 2005-10-09 06:24:17
|
Jamie: You might want to try it is yum --enablerepo repository name. That's what we have to do, at least with version 2.2.1 of YUM. :) Ie: yum -- enablerepo dag install xmms. The other option I think would be nice is if there were support for the grouplist, groupinstall, groupremove, and groupupgrade features :) Ciao, -James On Sun, 2005-10-09 at 10:43 +1000, Jamie Cameron wrote: > 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 > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Power Architecture Resource Center: Free content, downloads, discussions, > and more. http://solutions.newsforge.com/ibmarch.tmpl > - > Forwarded by the Webmin mailing list at web...@li... > To remove yourself from this list, go to > http://lists.sourceforge.net/lists/listinfo/webadmin-list |