对 CentALT 包使用 YUM

对 CentALT 包使用 YUM

由于 CentALT 不再可用,我无法升级某些软件包。当然,我可以使用 CentALT 的镜像来使其正常工作,但它只列出“较旧”的软件包,因为它不再更新。我使用 CentALT 安装了 MariaDB 10.0.11,并想将其更新到 10.0.12。不幸的是,这会导致 MariaDB 存储库的 RPM 出现错误。

有没有办法在不删除当前包的情况下更新它?

答案1

根据我的经验,在处理给定软件包从一个存储库切换到另一个存储库时,备份该软件包的当前存储库安装,然后使用新存储库安装该软件包几乎总是更容易。

它通常会导致各种问题,这些问题比仅处理卸载/重新安装步骤要麻烦得多。

笔记:我建议在尝试此操作之前收集与当前安装相关的任何相关文件。例如,如果它是一个数据库,我会创建一个目录,在其中保存/etc或下的任何文件的副本/var,例如`,并将文件保留在那里以供从新存储库重新设置新包时参考。

答案2

CentALT BEWARE:
CentALT has returned after three (3) months of death, BUT.
admittedly, CentALT has had some of the fastest RHEL-type rpm issuances in the past. unfortunately, since no news or reasoning for CentALT's temporary demise exists and due to CentALT's russian location there certainly is a high potential for russian governmental intrusion. thus, i am not tempted to return to using CentALT.

a good set of alternatives to CentALT -- with stellar reputations and prompt updating -- are the PUIAS repo's operated by princeton univ, NJ, USA (a premier engineering school). you can start here:
http://springdale.math.ias.edu/wiki/YumRepositories6


the breadth of coverage by PUIAS repo's v. CentALT is comparable, although princeton puts the rpm's into several classes. just download the files for the various classes and combine them into a single, unified repo file and you will be good to go! 

相关内容