Kenneth Porter
2022-Mar-21 14:32 UTC
[CentOS] Updating a package to one from a different repository
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?
Johnny Hughes
2022-Mar-29 14:02 UTC
[CentOS] Updating a package to one from a different repository
On 3/21/22 09:32, Kenneth Porter wrote:> 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?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.