Updating A Package To One From A Different Repository

Home » CentOS » Updating A Package To One From A Different Repository
CentOS 2 Comments

At some point I updated fail2ban from a copr repo to get the latest release. That repo no longer exists but a newer version is available in EPEL. Is there a direct way to get yum to update using the different repo?
Or do I need to save my config and DB, erase the old version, and install the new one from EPEL?

2 thoughts on - Updating A Package To One From A Different Repository

  • That would totally depend on the versions. If they are close (and EPEL
    is newer), you should be able to just upgrade.

    If the copr one was newer … you would have to do something like distrosync option of dnf (or yum) to get it.

    Depending on how they were compiled and how close the versions are .. you may need to reconfigure any config files.

    All of this is case by case, and true for any package where you move to another source for the packages.