安装httpd的时候,需要升级一下expat,报错如下:
运行 yum install expat 后报错:
--> Finished Dependency Resolution
Error: Missing Dependency: libexpat.so.0 is needed by package adslconfig
Error: Missing Dependency: libexpat.so.0 is needed by package kyum
Error: Missing Dependency: libexpat.so.0 is needed by package netconfiguistatus
Error: Missing Dependency: libexpat.so.0 is needed by package libeasyrpm
Error: Missing Dependency: libexpat.so.0 is needed by package printershareui
Error: Missing Dependency: libexpat.so.0 is needed by package wirelessconfig
Error: Missing Dependency: libexpat.so.0 is needed by package kdmtheme
Error: Missing Dependency: libexpat.so.0 is needed by package openmotif
Error: Missing Dependency: libexpat.so.0 is needed by package moodin
Error: Missing Dependency: libexpat.so.0 is needed by package taskjuggler
Error: Missing Dependency: libexpat.so.0 is needed by package wiredconfig
Error: Missing Dependency: libexpat.so.0 is needed by package rpmtools
Error: Missing Dependency: libexpat.so.0 is needed by package netconfiguimain
Error: Missing Dependency: libexpat.so.0 is needed by package eva
Error: Missing Dependency: libexpat.so.0 is needed by package ksmtheme
Error: Missing Dependency: libexpat.so.0 is needed by package mp3kconv
Error: Missing Dependency: libexpat.so.0 is needed by package llk
Error: Missing Dependency: libexpat.so.0 is needed by package kdenetwork-kget
Error: Missing Dependency: libexpat.so.0 is needed by package openmotif-devel
Error: Missing Dependency: libexpat.so.0 is needed by package kbluetooth
Error: Missing Dependency: libexpat.so.0 is needed by package stardict
Error: Missing Dependency: libexpat.so.0 is needed by package ktorrent
Error: Missing Dependency: libexpat.so.0 is needed by package kdeedu
Error: Missing Dependency: libexpat.so.0 is needed by package PoseidonPPP
Error: Missing Dependency: libexpat.so.0 is needed by package ctrlpanel
Error: Missing Dependency: libexpat.so.0 is needed by package fileshareui
Error: Missing Dependency: libexpat.so.0 is needed by package gd-progs
Error: Missing Dependency: libexpat.so.0 is needed by package kcm_audiosetting
Error: Missing Dependency: libexpat.so.0 is needed by package kio_rar
linux人的cjacker提供了正确的解决方法:
expat2与expat并不兼容,你要安装的expat实际上是升级你系统的expat1。
也就是删除libexpat.so.0换成libexpat.so.1,自然会有很多包提示依赖expat.so.0。
原因是系统可能有点旧了,无法使用0.5.9的升级仓库。
解决方法:
从0.5.9 src仓库下载:
然后编译安装。
rpm -Uvv compat-expat1-1.95.8-4.src.rpm
cd /usr/src/dorado/SPECS
rpmbuild -ba compat-expat1.spec
rpm -Uvv ../RPMS/i686/compat-expat1*.rpm --force --nodeps
然后
rpm -e expat-devel --nodeps
rpm -e expat --nodeps
然后
yum install expat
yum install expat-devel
阅读(8015) | 评论(0) | 转发(0) |