Re: OT: selective updates from a yum repo

Alex Lancaster <[email protected]>
Newsgroups gmane.linux.freshrpms.user
Organization Sourceforge
Message-ID <[email protected]>
>>>>> "TE" == Troy Engel  writes:

TE> Offtopic for sure. Is there a way to only use certain RPMs from a
TE> given yum repo, ignoring the rest?

TE> The situation: I installed FC5 on my shiny new Thinkpad T43, which
TE> has the Intel 2200-based wireless chipset. I typically only use
TE> Freshrpms and Macromedia (flash-plugin) repos, and hand-pull any
TE> other single RPMs I might want (a rare occurrence).

TE> The need: the ipw2200 base RPMs are in ATrpms (which worked
TE> great). I'd like to enable that repo, but only for
TE> ipw2200/ieee802.11 RPMs, and not pull in the rest.

TE> Anyone know if this can be done?  -te

smart (http://labix.org/smart) does this (you can set channel
"priorities").

With yum you can include the .repo file in /etc/yum.repos.d/ with
"enabled=0", the install just the package you want like this:

yum --enablerepo=reponame install <package-name>

but it won't necessarily pull in updates automatically, you'll have to
still run that manually, because, by default, the repo is disabled.

Alex
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.