yum-plugin-replace

Package Replacement Plugin for Yum

Github星跟蹤圖

Package Replacement Plugin for Yum

This plugin enables the ability to replace an installed package, with another package that provides the same thing. It was developed specifically for the IUS Community Project whose packages have alternative names as to not automatically upgrade stock packages. They also do not Obsolete the packages they provide, therefore making upgrading a little bit more tedious. For example upgrading mysql to mysql50 or mysql51 requires first uninstalling mysql and then installing the alternate package name. An alternative is using the yum shell allowing you do uninstall, and install packages in one operation.

This plugin allows the end user to replace a package with another in the following fashion:

$ yum replace mysql --replace-with mysql51

The plugin first determines what mysql (or the original package) provides and then verifies that the alternative package (mysql51) also provides the same. It continues to determine what other sub-packages of mysql are installed and then determines the replacement package from the mysql51 set, also ensuring that the new package has the same 'provides'.

If a package does not meet the 'providers' requirements the process will halt and ask for user approval to continue. Then end user can optionally pass -y to assume yes to this inquiry. It should be noted that it is quite common that a newer 'replacement' package would not fully provide everything that the original package did.

Source Code and Bug Tracking

The source code for yum-plugin-replace is currently hosted on GitHub. All bugs/feature requests can be reported there.

License

This plugin is Open Source and released under the GNU GPLv2. Please see the LICENSE file that came with this source.

主要指標

概覽
名稱與所有者iuscommunity/yum-plugin-replace
主編程語言Python
編程語言Python (語言數: 1)
平台
許可證GNU General Public License v2.0
所有者活动
創建於2010-07-13 08:30:24
推送於2017-08-15 02:57:47
最后一次提交2017-08-15 02:57:46
發布數7
最新版本名稱0.2.7 (發布於 )
第一版名稱0.1 (發布於 2010-07-13 08:34:33)
用户参与
星數21
關注者數5
派生數7
提交數24
已啟用問題?
問題數5
打開的問題數0
拉請求數6
打開的拉請求數0
關閉的拉請求數0
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?