有没有办法通过保持安装最新版本来忽略 rpm 版本冲突?
例如。我想在 AIX 中安装 gawk。我在一个文件夹中拥有所有必需的 rpm
bash-4.2-11.aix5.1.ppc.rpm
gawk-4.0.2-1.aix5.1.ppc.rpm
gettext-0.10.40-8.aix5.2.ppc.rpm
info-4.13a-2.aix5.1.ppc.rpm
libsigsegv-2.10-1.aix5.2.ppc.rpm
readline-6.2-4.aix5.1.ppc.rpm
Run Code Online (Sandbox Code Playgroud)
我尝试使用 rpm 来安装它们,rpm -ivh *.rpm这样 rpm 就会自动处理安装顺序。
但我得到:
package bash-4.2-11 is already installed
package gettext-0.17-7 (which is newer than gettext-0.10.40-8) is already installed
package info-5.0-1 (which is newer than info-4.13a-2) is already installed
package readline-6.2-4 is already installed
file /opt/freeware/bin/msgcomm from install of gettext-0.10.40-8 conflicts with file from package gettext-0.17-7
file /opt/freeware/bin/msgfmt from install of gettext-0.10.40-8 conflicts with file from package gettext-0.17-7
file /opt/freeware/bin/msgmerge …Run Code Online (Sandbox Code Playgroud)