全部博文(362)
分类: LINUX
2011-02-23 10:50:12
在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 这样子才安装好。 呵呵,在cu上还看到,原来这两个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 |