Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


In this Discussion

Centos: Only one specific package from a repository
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Centos: Only one specific package from a repository

nfnnfn Veteran
edited January 2016 in Help

Hi,

Start playing with Centos 7 ... :).
I want a specific package from remi (redis), so in this case I can add this to remi.repo:

[remi]
...
enabled=1
includepkgs=redis
exclude=*
...

Whenever I run yum update only redis will be updated. Correct?

Comments

  • ehabehab Member
    edited January 2016

    in other repos try to add

    [othersreopos] exclude=redis*

    and remove the exclude=* in your example. I haven't tested but your way looks interesting.

  • nfnnfn Veteran

    Ok ... from yum.conf man we have:

    "includepkgs Inverse of exclude. This is a list of packages you want to use from a repository. If this option lists only one package then that is all yum will ever see from the repository"

    Looks like we don't have to exclude

Sign In or Register to comment.