MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
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'm trying to get the kernel source for 2.4.22-26 installed on my Mandrake 9.2 system, but no matter what I do, I can't get past a "unsatisfied ncurses-devel" error message. If I try using rpmdrake, I get a dialog stating "Sorry, the following package(s) can't be selected: kernel-source-2.4.22-26mdk.i586 (due to unsatisfied ncurses-devel)".
Now, I've looked in rpmdrake for ncurses-devel and it's nowhere to be found. (I've already updated the urpmi media as described at urpmi.org/easyurpmi)
I googled, downloaded, and installed ncurses-5.4, but that didn't change things either, I still get the same error using rpmdrake, and a similar one using urpmi.
So I went and found the package myself at rpmfind.net, downloaded it and tried to install it using rpm, but again I get an error message, "error: Failed dependencies: ncurses-devel is needed by kernel-source-2.4.22-26mdk"
WTF? Where can I get an ncurses-devel that rpm will recognize?
Name : libncurses5-devel Relocations: (not relocateable)
Version : 5.3 Vendor: MandrakeSoft
Release : 1.20030215.3mdk Build Date: Wed 09 Jul 2003 05:02:41 AM CDT
Install Date: Sat 13 Dec 2003 03:28:15 AM CST Build Host: ke.mandrakesoft.com
Group : Development/C Source RPM: ncurses-5.3-1.20030215.3mdk.src.rpm
Size : 4890146 License: MIT
Signature : DSA/SHA1, Wed 09 Jul 2003 05:15:38 AM CDT, Key ID e7898ae070771ff3
Packager : Montel Laurent <lmontel@mandrakesoft.com>
URL : http://ring.jah.ne.jp/pub/GNU/ncurses/
Summary : The development files for applications which use ncurses
Description :
The header files and libraries for developing applications that use
the ncurses CRT screen handling and optimization package.
Install the ncurses-devel package if you want to develop applications
which will use ncurses.
I know it sounds stupid, it sounds stupid to me too. If I pick the kernel sources, it's supposed to give me the equivalent of "Excuse me, kind sir, I hate to inconvenience you, but in order to install what you asked for, I also need to install ncurses-devel. Does that meet with your approval?" At which point I say, "Yes indeed, carry on my good fellow," and it cranks away, installs ncurses-devel and then the kernel-sources, and everyone is happy. (or at least I would be, which is what counts in my book)
And I know ncurses-devel exists, as I mentioned, I found it (at the same site you pointed to) and installed it manually
I know that's what's supposed to happen, but that's not what's happening. Instead, if I select the kernel-sources to install, it just tells me it can't do it because it needs ncurses-devel. It seems to me like the equivalent of a "don't know how to make <foo>" error. I.e. it knows it needs ncurses-devel, but doesn't know how to install it, so it dies.
Is it possible that the rpm media locations I am using are part of the problem? Hmm...
.
.
.
[type, type, mutter, mutter]
.
.
.
that appears to be it! I changed my "main" media location from whatever it was (I think it was ftp.stealth.net) to ftp.rutgers.edu, and now rpmdrake appears to find ncurses-devel successfully!
BTW, is there a way to list the media locations you are using? I haven't come across a command to do that.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.