简体   繁体   English

RPM安装显示“不允许安装相同的软件包”

[英]RPM install showing “Installation of an identical package is not allowed”

Hi I'm facing a weird issue while installing an RPM package on redhat linux: 嗨,我在redhat linux上安装RPM软件包时遇到一个奇怪的问题:

    # rpm -ivh OMNI-UTIL-K269.02SP6.OMNIUTIL.ECN9S60-6.x86_64.rpm
    Preparing...                ########################################### [100%]
    INSTALL ERROR: Installation of an identical package is not allowed
    error: %pre(OMNI-UTIL-K269.02SP6.OMNIUTIL.ECN9S60-6.x86_64) scriptlet failed, exit status 1
    error:   install: %pre scriptlet failed (2), skipping OMNI-UTIL-K269.02SP6.OMNIUTIL.ECN9S60-6

Though this successfully installs if I use the --noscripts option , but i want a clean install. 虽然如果我使用--noscripts选项可以成功安装,但是我希望进行--noscripts安装。

I've checked that this rpm is not installed on the system: 我检查了系统上是否未安装此rpm:

    # rpm -qa | grep -i omni | wc -l
    0

Have anyone faced this issue before while installing any RPMs? 在安装任何RPM之前,有人遇到过此问题吗? This is a first for me. 这是我的第一次。

found the issue: 发现了问题:

    # find / -name OMNI-UTIL-K269.02SP6.OMNIUTIL.ECN9S60-6.x86_64.rpm
    /root/auto_install/airwide/signalware/OMNI-UTIL-K269.02SP6.OMNIUTIL.ECN9S60-6.x86_64.rpm
    /apps/auto_install/airwide/signalware/OMNI-UTIL-K269.02SP6.OMNIUTIL.ECN9S60-6.x86_64.rpm

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM