在suse 10.3中安裝http apache2時出現(xiàn)如下的提示信息:
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在刪除時也會出現(xiàn)相互依賴的問題,不能單獨刪除:
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