LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-19-2004, 07:17 AM   #1
Tiyogi
Member
 
Registered: Nov 2003
Location: Hyde Park, Ny
Distribution: Ubunta
Posts: 117

Rep: Reputation: 15
What does this mean "error: Failed dependencies"


I am attempting to install an rpm for samba-swat.
When I try an execute the following command I get these results>

[root@localhost samba_rpm]# rpm -ivh samba-3.0.2a-1_rh8.i386.rpm
warning: samba-3.0.2a-1_rh8.i386.rpm: V3 DSA signature: NOKEY, key ID 2f87af6f
error: Failed dependencies:
kernel >= 2.2.1 is needed by samba-3.0.2a-1


I have located this "kernel 2.2.1 " and have downloaded it along with a "patch" which was also there.
Linux Kernel Headquartes

What do I need to do with these kernel and patch?
Please I am new to this so do not assume I know all of the phase and shortcuts.

Red Hat 8.0 Installed 02-26-2004
 
Old 03-19-2004, 07:28 AM   #2
Ice9
Member
 
Registered: Jun 2002
Location: Belgium
Distribution: Sidux
Posts: 313

Rep: Reputation: 30
"Failed dependencies " means that the software you're trying to install needs some libraries or files which aren't present on your system, and it gently tells you which ones.
Now in your particular case it tells you that it needs a kernel version which is higher or equal to version 2.2.1.

If you're running RH8 your kernel version should be higher than that anyway if I remember correctly.
Also there are number of ways to install a new kernel, and for the less experienced user most of them are easier than compiling one from source!
You've got up2date and apt4rpm for instance.
If you open a terminal window and type
$ uname -r
you will see which kernel version you're running.
 
Old 03-19-2004, 07:56 AM   #3
Tiyogi
Member
 
Registered: Nov 2003
Location: Hyde Park, Ny
Distribution: Ubunta
Posts: 117

Original Poster
Rep: Reputation: 15
Ok Ice9,
Here is what is reply was for the below command

If you open a terminal window and type
$ uname -r


uname -r
2.4.18-14


So I am running kernel highter the what is required.
So what is it looking for if I am running a higher kernel?
Should I go back to Linux Kernel Headquarters and look for this kernerl?

The reason I say this is because I do not have the cd's that created this version RH80, I borrowed them and can not get a hold of them quickly.

So what might I do next?
 
Old 03-19-2004, 08:34 AM   #4
Ice9
Member
 
Registered: Jun 2002
Location: Belgium
Distribution: Sidux
Posts: 313

Rep: Reputation: 30
Since your kernel version is higher you shouldn't have problems
Try to download another version of samba and see if that works, here's the 2.2.8 version.
 
Old 03-19-2004, 09:33 AM   #5
Tiyogi
Member
 
Registered: Nov 2003
Location: Hyde Park, Ny
Distribution: Ubunta
Posts: 117

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by Ice9
Since your kernel version is higher you shouldn't have problems
Try to download another version of samba and see if that works, here's the 2.2.8 version.
Ok Ice9,

Downloaded the other version of samba.
Tyed to install it

rpm -ivh samba-2.2.8a-2_rh8.i386.rpm
warning: samba-2.2.8a-2_rh8.i386.rpm: V3 DSA signature: NOKEY, key ID 2f87af6f
error: Failed dependencies:
kernel >= 2.2.1 is needed by samba-2.2.8a-2


Looks like the same problem to me.

Does this kernel have to be in a system wide path or something like that?
Or does it have to be in a particular location as in some directory?

Any other ideas as what to do next?
 
Old 03-19-2004, 09:47 AM   #6
Ice9
Member
 
Registered: Jun 2002
Location: Belgium
Distribution: Sidux
Posts: 313

Rep: Reputation: 30
I don't get it, I just tried it
Code:
[root@laptop02 Test]# rpm -Uvh --test samba-3.0.2a-1_rh9.i386.rpm
warning: samba-3.0.2a-1_rh9.i386.rpm: V3 DSA signature: NOKEY, key ID 2f87af6f
Preparing...                ########################################### [100%]
[root@laptop02 Test]# uname -r
2.4.20-30.9
So, I'm running kernel 2.4.20-30 and samba would install fine.
There must be something else, I'll do some more digging and update the thread if I find anything.
If you can solve this issue in the meantime, please post it and tell us how you did it, it might be useful for someone else in the future.

Try to do an
# rpm -Uvh samba-2.2.8a-2_rh8.i386.rpm
and see if that works, because when I did rpm -ivh I got
Code:
[root@laptop02 Test]# rpm -ivh --test samba-3.0.2a-1_rh9.i386.rpm
error: samba-3.0.2a-1_rh9.i386.rpm: V3 DSA signature: BAD, key ID 2f87af6f
error: samba-3.0.2a-1_rh9.i386.rpm cannot be installed
 
Old 03-23-2004, 06:35 PM   #7
Tiyogi
Member
 
Registered: Nov 2003
Location: Hyde Park, Ny
Distribution: Ubunta
Posts: 117

Original Poster
Rep: Reputation: 15
Well I still unable to install Samba-Swat.
I have tryed different rpms and still same problem as orginally state.
 
Old 03-23-2004, 08:24 PM   #8
urzumph
Member
 
Registered: Jan 2004
Location: Australia
Distribution: Debian
Posts: 168

Rep: Reputation: 30
While not generally recommended, I am sure you could be excuesed for forcing it to ignore dependancies in this case, man rpm should tell you the switch for this.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
"Failed to set up write combining range" error when running startx jbryanj Linux - Software 1 10-24-2005 05:23 PM
service named error "rndc: conenct failed: connection refused" Reu Linux - General 1 07-12-2004 01:34 PM
Recvd "failed dependencies" libbfd/libopcodes 2.10.91.0.2.so javafantoo Linux - Newbie 1 03-21-2004 03:26 PM
does failed using urpmi messed up my "Install Software" / "mandrake update" ??? sirpelidor Mandriva 1 11-02-2003 09:00 PM
X won't start: "Fatal server error: failed to initialize core devices" ! Debianewb Linux - Newbie 14 08-27-2002 05:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration