Re: Question about using yum to install epel package on CentOS 7

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 18 July 2017 at 10:06, Manuel Wolfshant <wolfy@xxxxxxxxxxxxxxxxxx> wrote:
> On 07/18/2017 05:02 PM, Claessen, Paul wrote:
>
> Thanks for the reply!
> Would you, by any chance, have a suggestion on how to avoid this behavior?
>
> Is there anything I can do so that when I do a yum install, it will always,
> and only, install the latest version of a certain package?
>
>
>
> you will need to provide somehow directly the epel-release package shipped
> by Fedora, bypassing the one from Centos. For instance by using something
> similar to
>
>     yum install
> https://dl.fedoraproject.org/pub/epel//7/x86_64/e/epel-release-7-10.noarch.rpm
> IMNSHO it would be less elegant that just using yum install followed by yum
> update, pointing directly to repos is well... meh :)

I agree. I mean unless your kickstart also points to the updates
directory and you have a locked copy of the repository local you are
going to run into a problem of not always getting the latest version
of a certain package. If you need that level of control you need to
rethink how you are provisioning the entire ecosystem from the getgo.

1. Make a local mirror of the repos and only gate in stuff you want into them.
2. Make a kickstart which points to those repos to build the system
3. %post Provision the system to only look at those repos versus the
world ones.

That is the best way to make sure that you have on the systems exactly
what you want.


>
> _______________________________________________
> epel-devel mailing list -- epel-devel@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to epel-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
>


-- 
Stephen J Smoogen.
_______________________________________________
epel-devel mailing list -- epel-devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to epel-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Announce]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Linux Apps]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux