手机
当前位置:查字典教程网 >操作系统 >其它系统 >suse 10.3 安装http apche2时遇到的rpm依赖问题的解决方法
suse 10.3 安装http apche2时遇到的rpm依赖问题的解决方法
摘要:在suse10.3中安装httpapache2时出现如下的提示信息:libapr1>=1.0isneededbyapache2-2.2.3-...

在suse 10.3中安装http apache2时出现如下的提示信息:

libapr1 >= 1.0 is needed by apache2-2.2.3-16.21.i586

libapr1 < 2.0 is needed by apache2-2.2.3-16.21.i586

libapr-1.so.0 is needed by apache2-2.2.3-16.21.i586

libaprutil-1.so.0 is needed by apache2-2.2.3-16.21.i586

此时,安装以下软件即可:

libapr-util1-1.2.2-13.7.i586.rpm

libapr-util1-devel-1.2.2-13.7.i586.rpm

libapr1-1.2.2-13.2.i586.rpm

libapr1-devel-1.2.2-13.2.i586.rpm

在suse 10上装apache的时候,报错:

rpm -ivh apache2-2.0.54-10.i586.rpm

error: Failed dependencies:

apache2-MPM is needed by apache2-2.0.54-10

原因在于要依赖于apache2-prefork-2.0.54-10.i586.rpm, 所以:

rpm -ivh apache2-prefork-2.0.54-10.i586.rpm

error: Failed dependencies:

apache2 = 2.0.54 is needed by apache2-prefork-2.0.54-10

re,原来这两个包是相互依赖的,所以:

rpm -ivh apache2-2.0.54-10.i586.rpm apache2-prefork-2.0.54-10.i586.rpm

安装成功。

这两个rpm在删除时也会出现相互依赖的问题,不能单独删除:

rpm -e apache2

error: Failed dependencies:

apache2 = 2.0.54 is needed by (installed) apache2-prefork-2.0.54-10

rpm -e apache2-prefork

error: Failed dependencies:

apache2-MPM is needed by (installed) apache2-2.0.54-10

如果删除,也必须一块删除才可以:

rpm -e apache2 apache2-prefork

【suse 10.3 安装http apche2时遇到的rpm依赖问题的解决方法】相关文章:

Suse系统中启动Apache和Mysql的方法

电脑从待机状态恢复时蓝屏死机问题的解决方法

centOS 6.2安装chrome浏览器的方法介绍

安装系统后重启出现ntldr is missing无法进入系统的解决方法

如何检测u盘扩容盘?怎样检测U盘是否是缩水盘

系统出现乱码的解决方法

虚拟机怎么不能使用NAT模式上网了?

电脑没有音频设备的原因以及电脑没有音频设备的解决方法

VM虚拟机Centos系统时间同步问题解决方法

电脑无法复制粘贴的原因和解决方法

精品推荐
分类导航