今日会社で管理しているCentOS 5.3のサーバで、yum updateをしたら、こんなエラーが出た。
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package poppler-utils.i386 0:0.5.4-4.4.el5_3.9 set to be updated
---> Package kernel.i686 0:2.6.18-128.1.10.el5 set to be installed
---> Package audit-libs.i386 0:1.7.7-6.el5_3.3 set to be updated
---> Package file.i386 0:4.17-15.el5_3.1 set to be updated
---> Package audit.i386 0:1.7.7-6.el5_3.3 set to be updated
---> Package kernel-headers.i386 0:2.6.18-128.1.10.el5 set to be updated
---> Package pango.i386 0:1.14.9-5.el5.centos set to be updated
---> Package kernel-devel.i686 0:2.6.18-128.1.10.el5 set to be installed
---> Package poppler.i386 0:0.5.4-4.4.el5_3.9 set to be updated
---> Package sos.noarch 0:1.7-9.16.el5_3.5 set to be updated
---> Package audit-libs-python.i386 0:1.7.7-6.el5_3.3 set to be updated
--> Processing Dependency: /usr/share/magic.mime for package: httpd
--> Finished Dependency Resolution
httpd-2.2.3-22.el5.centos.i386 from installed has depsolving problems
--> Missing Dependency: /usr/share/magic.mime is needed by package httpd-2.2.3-22.el5.centos.i386 (installed)
Error: Missing Dependency: /usr/share/magic.mime is needed by package httpd-2.2.3-22.el5.centos.i386 (installed)
依存関係のエラー?と思ったが、よく分からないのでGoogleで検索。そしたら、ここ に同じ現象がのっていたので、その通りに
% sudo yum clean allとしたら、無事アップデートできた。
% sudo yum update
0 コメント:
コメントを投稿