我試圖在redhat 6.3
上安裝unixODBC-2.2.14-11.el6.x86_64.rpm
。它給了我下面的輸出:Redhat 6.3上的RPM安裝失敗
[[email protected] khan]# yum install unixODBC-2.2.14-11.el6.x86_64.rpm
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
Updating certificate-based repositories.
Unable to read consumer identity
Repository InstallMedia is listed more than once in the configuration
Setting up Install Process
Examining unixODBC-2.2.14-11.el6.x86_64.rpm: unixODBC-2.2.14-11.el6.x86_64
unixODBC-2.2.14-11.el6.x86_64.rpm: does not update installed package.
Error: Nothing to do
但是當我試圖通過#rpm -q unixODBC-2.2.14-11.el6.x86_64.rpm
進行查詢,
它給人的輸出爲:
package unixODBC-2.2.14-11.el6.x86_64.rpm is not installed
'yum'告訴你,你已經安裝了這個RPM,並沒有什麼留給它做。我在這裏沒有看到問題。 – Mureinik
感謝評論先生,那麼爲什麼rpm -q告訴我沒有安裝這個軟件包Mureinik –
哦,我現在看到了這個問題。請參閱下面的答案。 – Mureinik