システム開発・構築の神様

新しいサービスや技術を使った開発や構築。その他不具合解決など

AWSサーバーのclamdが更新時にエラーになる!libjson-c.so clamav-0.100.2-2.35.amzn1.x86_64

Linuxで有名なclamdですが、当然AWSサーバーでも動作します。

が!

ある日、システムを更新すると・・・いくつかのエラーで更新ができませんでした。

原因はclamdなのですが、clamav-0.100xで大幅な仕様変更があったのでしょうか?

まあ、1つ目はエラーログを読んだままjson-cが必要ということなので

yum install json-c-devel

をインストールすると、エラーは解決できました。

残りのエラーがこれまた不明なんですよね・・・

解決方法を調査中です・・・

–> Running transaction check
—> Package clamav.x86_64 0:0.100.2-2.35.amzn1 will be an update
–> Processing Dependency: libjson-c.so.2()(64bit) for package: clamav-0.100.2-2.35.amzn1.x86_64
—> Package clamav-lib.x86_64 0:0.100.2-2.35.amzn1 will be an update
–> Processing Dependency: libjson-c.so.2()(64bit) for package: clamav-lib-0.100.2-2.35.amzn1.x86_64
—> Package clamav-scanner.noarch 0:0.99.4-1.30.amzn1 will be obsoleted
–> Processing Dependency: clamav-scanner = 0.99.4-1.30.amzn1 for package: clamav-scanner-sysvinit-0.99.4-1.30.amzn1.noarch
—> Package clamav-server-sysvinit.noarch 0:0.99.4-1.30.amzn1 will be obsoleted
–> Processing Dependency: clamav-server-sysvinit = 0.99.4-1.30.amzn1 for package: clamav-scanner-sysvinit-0.99.4-1.30.amzn1.noarch
—> Package copy-jdk-configs.noarch 0:3.3-10.3.amzn1 will be installed
—> Package e2fsprogs.x86_64 0:1.43.5-2.43.amzn1 will be an update
–> Processing Dependency: libfuse.so.2(FUSE_2.8)(64bit) for package: e2fsprogs-1.43.5-2.43.amzn1.x86_64
–> Processing Dependency: libfuse.so.2(FUSE_2.6)(64bit) for package: e2fsprogs-1.43.5-2.43.amzn1.x86_64
–> Processing Dependency: libfuse.so.2(FUSE_2.5)(64bit) for package: e2fsprogs-1.43.5-2.43.amzn1.x86_64
–> Processing Dependency: libfuse.so.2()(64bit) for package: e2fsprogs-1.43.5-2.43.amzn1.x86_64
–> Finished Dependency Resolution
–> Running transaction check
—> Package clamav.x86_64 0:0.100.2-2.35.amzn1 will be an update
–> Processing Dependency: libjson-c.so.2()(64bit) for package: clamav-0.100.2-2.35.amzn1.x86_64
—> Package clamav-lib.x86_64 0:0.100.2-2.35.amzn1 will be an update
–> Processing Dependency: libjson-c.so.2()(64bit) for package: clamav-lib-0.100.2-2.35.amzn1.x86_64
—> Package clamav-scanner.noarch 0:0.99.4-1.30.amzn1 will be obsoleted
–> Processing Dependency: clamav-scanner = 0.99.4-1.30.amzn1 for package: clamav-scanner-sysvinit-0.99.4-1.30.amzn1.noarch
—> Package clamav-server-sysvinit.noarch 0:0.99.4-1.30.amzn1 will be obsoleted
–> Processing Dependency: clamav-server-sysvinit = 0.99.4-1.30.amzn1 for package: clamav-scanner-sysvinit-0.99.4-1.30.amzn1.noarch
—> Package e2fsprogs.x86_64 0:1.43.5-2.43.amzn1 will be an update
–> Processing Dependency: libfuse.so.2(FUSE_2.8)(64bit) for package: e2fsprogs-1.43.5-2.43.amzn1.x86_64
–> Processing Dependency: libfuse.so.2(FUSE_2.6)(64bit) for package: e2fsprogs-1.43.5-2.43.amzn1.x86_64
–> Processing Dependency: libfuse.so.2(FUSE_2.5)(64bit) for package: e2fsprogs-1.43.5-2.43.amzn1.x86_64
–> Processing Dependency: libfuse.so.2()(64bit) for package: e2fsprogs-1.43.5-2.43.amzn1.x86_64
—> Package kernel.x86_64 0:4.9.81-35.56.amzn1 will be erased
–> Finished Dependency Resolution
Error: Package: clamav-scanner-sysvinit-0.99.4-1.30.amzn1.noarch (@amzn-updates)
Requires: clamav-server-sysvinit = 0.99.4-1.30.amzn1
Removing: clamav-server-sysvinit-0.99.4-1.30.amzn1.noarch (@amzn-updates)
clamav-server-sysvinit = 0.99.4-1.30.amzn1
Obsoleted By: clamd-0.100.2-2.35.amzn1.x86_64 (amzn-updates)
clamav-server-sysvinit = 0.100.2-2.35.amzn1
Error: Package: clamav-lib-0.100.2-2.35.amzn1.x86_64 (amzn-updates)
Requires: libjson-c.so.2()(64bit)
Error: Package: e2fsprogs-1.43.5-2.43.amzn1.x86_64 (amzn-updates)
Requires: libfuse.so.2()(64bit)
Error: Package: e2fsprogs-1.43.5-2.43.amzn1.x86_64 (amzn-updates)
Requires: libfuse.so.2(FUSE_2.8)(64bit)
Error: Package: e2fsprogs-1.43.5-2.43.amzn1.x86_64 (amzn-updates)
Requires: libfuse.so.2(FUSE_2.5)(64bit)
Error: Package: e2fsprogs-1.43.5-2.43.amzn1.x86_64 (amzn-updates)
Requires: libfuse.so.2(FUSE_2.6)(64bit)
Error: Package: clamav-scanner-sysvinit-0.99.4-1.30.amzn1.noarch (@amzn-updates)
Requires: clamav-scanner = 0.99.4-1.30.amzn1
Removing: clamav-scanner-0.99.4-1.30.amzn1.noarch (@amzn-updates)
clamav-scanner = 0.99.4-1.30.amzn1
Obsoleted By: clamd-0.100.2-2.35.amzn1.x86_64 (amzn-updates)
clamav-scanner = 0.100.2-2.35.amzn1
Error: Package: clamav-0.100.2-2.35.amzn1.x86_64 (amzn-updates)
Requires: libjson-c.so.2()(64bit)
You could try using –skip-broken to work around the problem
You could try running: rpm -Va –nofiles –nodigest

関連記事