Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am tring to install dhcp from the packages directory in CentOS 6.3 DVD but it fails, stating that I need dependency and please check the log, it is already installed but still gives error.
Quote:
[root@server Packages]# ls | grep -i dhcp
dhcp-4.1.1-31.P1.el6.x86_64.rpm
dhcp-common-4.1.1-31.P1.el6.x86_64.rpm
sblim-cmpi-dhcp-1.0-1.el6.i686.rpm
sblim-cmpi-dhcp-1.0-1.el6.x86_64.rpm
[root@server Packages]# rpm -ivh dhcp-4.1.1-31.P1.el6.x86_64.rpm
error: Failed dependencies:
dhcp-common = 12:4.1.1-31.P1.el6 is needed by dhcp-12:4.1.1-31.P1.el6.x86_64
[root@server Packages]# rpm -ivh dhcp-common-4.1.1-31.P1.el6.x86_64.rpm
Preparing... ########################################### [100%]
package dhcp-common-12:4.1.1-31.0.1.P1.el6.centos.1.x86_64 (which is newer than dhcp-common-12:4.1.1-31.P1.el6.x86_64) is already installed
[root@server Packages]# rpm -ivh dhcp-4.1.1-31.P1.el6.x86_64.rpm
error: Failed dependencies:
dhcp-common = 12:4.1.1-31.P1.el6 is needed by dhcp-12:4.1.1-31.P1.el6.x86_64
[root@server Packages]#
Dear Experts,
I am tring to install dhcp from the packages directory in CentOS 6.3 DVD but it fails, stating that I need dependency and please check the log, it is already installed but still gives error.
Please assist.
The message clearly tells you it needs 12:4.1.1-31.P1.el6, and you have 12:4.1.1-31.0.1.P1.el6 installed. Using an RPM command isn't a good way to get things in...have you tried typing in "yum install <package name>", which will satisfy dependencies for you? Read the man page on the yum command.
Dear TB0ne;
I don't have internet connected to this server as it is dedicated to provide services to internal network only. As the message indicates, I have newer version installed than the version that is required so I don't understand why isn't it working then.
Again, it is looking for EXACTLY that version, and it's telling you that. If it's NOT that exact version, you're getting an error. It's even telling you that, so I'm not sure why that's hard to understand.
You have two options: connect it to the internet and run yum, or run the yum command and hope it can find everything from the DVD. AGAIN, type in "yum install <packagename>".
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.