Yumはインストールされているように見える依存関係を見つけることができません。

Yumはインストールされているように見える依存関係を見つけることができません。

Centos 7システムでは、「yum install Wireshark-gnome」またはWiresharkを実行することはできません。 SUプロンプトで実行すると、次のエラーが発生します。

--> Running transaction check
---> Package wireshark.x86_64 0:1.10.14-16.el7 will be installed
--> Processing Dependency: libsmi.so.2()(64bit) for package: wireshark-1.10.14-16.el7.x86_64
--> Finished Dependency Resolution
Error: Package: wireshark-1.10.14-16.el7.x86_64 (base)
           Requires: libsmi.so.2()(64bit)
           Available: libsmi-0.4.8-13.el7.x86_64 (base)
               libsmi.so.2()(64bit)
 You could try using --skip-broken to work around the problem
** Found 1 pre-existing rpmdb problem(s), 'yum check' output follows:
libsmi-0.4.8-13.el7.x86_64 has missing requires of libsmi.so.2()(64bit)

ただし、見つからないライブラリを見つけようとすると、次の結果が表示されます。

[root@localhost frank]# yum provides libsmi.so.2
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: mirror.hostduplex.com
 * epel: mirrors.sonic.net
 * extras: mirror.keystealth.org
 * updates: mirror.hostduplex.com
libsmi-0.4.8-13.el7.i686 : A library to access SMI MIB information
Repo        : base
Matched from:
Provides    : libsmi.so.2




libsmi-0.4.8-13.el7.i686 : A library to access SMI MIB information
Repo        : @base
Matched from:
Provides    : libsmi.so.2

提供されたパッケージをインストールしようとすると:

[root@localhost frank]# yum install libsmi-0.4.8-13.el7.i686
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: mirror.hostduplex.com
 * epel: mirrors.sonic.net
 * extras: mirror.keystealth.org
 * updates: mirror.hostduplex.com
Package libsmi-0.4.8-13.el7.i686 already installed and latest version
Nothing to do

また、64ビットパッケージをインストールしてみました。

[frank@localhost ~]$ sudo yum install libsmi-0.4.8-13.el7.x86_64
[sudo] password for frank:  Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile  * base:
mirror.hostduplex.com  * epel: mirrors.sonic.net  * extras:
mirror.keystealth.org  * updates: mirror.hostduplex.com Package
libsmi-0.4.8-13.el7.x86_64 already installed and latest version
Nothing to do

経験がありませんが、私のパッケージには以下が含まれているようです。libsmi.so.2()だから私が経験している問題は何ですか?リポジトリを更新してyumトランザクションを完了しましたが、何も役に立たないようです。
私も何が起こったのか知りたい。引用するlibsmi.so.2().so という名前の空の括弧**"()"**はどういう意味ですか?メジャー、マイナー、バージョン番号について読みましたが、それがどのように合っているかわかりません。

ベストアンサー1

64ビットアーキテクチャ用のlibsmi.so.2をインストールする必要があり、インストールしたもの(libsmi-0.4.8-13.el7.i686)は32ビットアーキテクチャ用のlibsmiに似ています。

CentOS7の場合、 https://centos.pkgs.org/7/centos-x86_64/libsmi-0.4.8-13.el7.x86_64.rpm.html

努力する

yum install libsmi-0.4.8-13.el7.x86_64

おすすめ記事