LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   What does this mean "error: Failed dependencies" (https://www.linuxquestions.org/questions/linux-networking-3/what-does-this-mean-error-failed-dependencies-159767/)

Tiyogi 03-19-2004 07:17 AM

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

Ice9 03-19-2004 07:28 AM

"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.

Tiyogi 03-19-2004 07:56 AM

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?

Ice9 03-19-2004 08:34 AM

Since your kernel version is higher you shouldn't have problems :scratch:
Try to download another version of samba and see if that works, here's the 2.2.8 version.

Tiyogi 03-19-2004 09:33 AM

Quote:

Originally posted by Ice9
Since your kernel version is higher you shouldn't have problems :scratch:
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?

Ice9 03-19-2004 09:47 AM

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


Tiyogi 03-23-2004 06:35 PM

Well I still unable to install Samba-Swat.
I have tryed different rpms and still same problem as orginally state.

urzumph 03-23-2004 08:24 PM

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.


All times are GMT -5. The time now is 05:27 AM.