Friday, July 6, 2007

Re: [BLUG] Question about yum in RHEL5

try this:
yum --disablerepo=* --enablerepo=csci-local -y install \*

>
> We have lots of locally generated RPMs that we'd like to
> install right after installing RHEL5. We have set it up
> as csci-local repository. Before RHEL5 (while they were
> still using up2date), we could put the configuration file
> as /etc/yum.repos.d/csci-local.repo and then issue
>
> yum -y install \*
>
> to install all of them (the local RPMs). Now RHEL 5 uses
> yum and this trick stop working as we intended (as it'll
> pull in ALL RPMs, including the ones from RHN). Anyone
> knows a good way to do it now? I tried 'yum localinstall'
> but it does not appear to take wildcard.
>
> Thanks in advance for your help.
>
> Shing-Shong
> _______________________________________________
> BLUG mailing list
> BLUG@linuxfan.com
> http://mailman.cs.indiana.edu/mailman/listinfo/blug
>

/\-/\
>( o.o )<
_____> <________fenn_____
_______________________________________________
BLUG mailing list
BLUG@linuxfan.com
http://mailman.cs.indiana.edu/mailman/listinfo/blug

No comments: