Results 1 to 10 of 12
Hi friends . I'm new to linux. When i try to install rpm package for apache2 the command line gives
error: Failed dependencies:
apache2-MPM is needed by apache2-2.2.3-16.18.x86-64
libapr1 >= ...
- 08-01-2010 #1Just Joined!
- Join Date
- Jul 2010
- Posts
- 15
[SOLVED] rpm installing problem
Hi friends . I'm new to linux. When i try to install rpm package for apache2 the command line gives
error: Failed dependencies:
apache2-MPM is needed by apache2-2.2.3-16.18.x86-64
libapr1 >= 1.0 is needed by apache2-2.2.3-16.18.x86-64
libapr1< 2.0 is needed by apache2-2.2.3-16.18.x86-64
libapr-1.so.0()(64bit) is needed by apache2-2.2.3-16.18.x86-64
libaprutil-1.so.0()(64bit) is needed by apache2-2.2.3-16.18.x86-64
I was trying to install from the suse disc . I thought that rpm would automatically solve problems with dependencies as these dependent packages must be present on disc too.
friends , help me to solve this problem , please.
Thanks in advance
- 08-01-2010 #2
Try using yast, I believe Suse uses yast, and you must be connected to the Internets for this to work.
Cool Solutions: Installing Apache, PHP, and MySQL on SUSE Linux ProfessionalI do not respond to private messages asking for Linux help, Please keep it on the forums only.
All new users please read this.** Forum FAQS. ** Adopt an unanswered post.
- 08-01-2010 #3Just Joined!
- Join Date
- Jul 2010
- Posts
- 15
When i use yast it's all ok . But I want to do all my linux work by command line . I find apache2 packages in suse disc by this command
find . | grep apache2
after that I choose apache2-2.2.3-16.18.x86-64_rpm package from the find result list and write
rpm -ivh apache2-2.2.3-16.18.x86-64_rpm
and such an error appears
- 08-01-2010 #4
Okay then.
The above error means that apache relies on some file to be installed before you can install apache, they are called dependencies. I've bolded the depends that you need to install in order the get Apache install.Code:error: Failed dependencies: apache2-MPM is needed by apache2-2.2.3-16.18.x86-64 libapr1 >= 1.0 is needed by apache2-2.2.3-16.18.x86-64 libapr1< 2.0 is needed by apache2-2.2.3-16.18.x86-64 libapr-1.so.0()(64bit) is needed by apache2-2.2.3-16.18.x86-64 libaprutil-1.so.0()(64bit) is needed by apache2-2.2.3-16.18.x86-64
I do not respond to private messages asking for Linux help, Please keep it on the forums only.
All new users please read this.** Forum FAQS. ** Adopt an unanswered post.
- 08-01-2010 #5Just Joined!
- Join Date
- Jul 2010
- Posts
- 15
You mean that i must install the apache2 dependencies first and then apache2 itself. But what if each of this apache dependencies have its own dependencies ?
- 08-01-2010 #6That's the beauty of installing from source and RPMS....welcome to dependency hell. Before package managers came along, this was the only way to install software in Linux. Dependency hell - Wikipedia, the free encyclopediaBut what if each of this apache dependencies have its own dependencies ?
Dependency hell is a colloquial term for the frustration of some software users who have installed software packages which have dependencies on specific versions of other software packages [1]. This was mainly attributable to old Linux package managers. Current package managers have largely solved this problem by automatically resolving and downloading dependencies.I do not respond to private messages asking for Linux help, Please keep it on the forums only.
All new users please read this.** Forum FAQS. ** Adopt an unanswered post.
- 08-01-2010 #7Just Joined!
- Join Date
- Jul 2010
- Posts
- 15
but i have read that one of the main benefits of rpm packages is that they are automatically solve problems with dependencies . Maybe they are not solve these dependencies when i try to install them from command line ?
Then when they solve this problem automatically ?
- 08-01-2010 #8I do not respond to private messages asking for Linux help, Please keep it on the forums only.
All new users please read this.** Forum FAQS. ** Adopt an unanswered post.
- 08-01-2010 #9Just Joined!
- Join Date
- Jul 2010
- Posts
- 15
turns out that if I install rpm with Yast , yast automatically installs that rpm's dependencies , but when i use " rpm -ivh <packagename> " with command line , I should install dependencies manually , is it true ?
- 08-01-2010 #10I don't use yast, but if it works, then it must be true.turns out that if I install rpm with Yast , yast automatically installs that rpm's dependencies
Yes, this is true.when i use " rpm -ivh <packagename> " with command line , I should install dependencies manually , is it true ?I do not respond to private messages asking for Linux help, Please keep it on the forums only.
All new users please read this.** Forum FAQS. ** Adopt an unanswered post.



