Mandriva This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
|
10-22-2004, 02:37 PM
|
#1
|
Senior Member
Registered: Jun 2003
Location: LoneStar
Distribution: Mandriva & Ubuntu
Posts: 1,041
Rep:
|
Installing Kernel Source with 10.1
Hey Guys, I am having problems installing vmware. It's installed, but when I run the vmware-config.pl I go through a few steps and I get stuck on this step " What is the location of the directory of C header files that match your running kernel? [/usr/src/linux/include] "
When I hit enter it keeps repeating itself with the same message, so I am not sure what it means.
Could it be that I did not install the kernel-source when I ran the cooker script?
When I ran this script below it tells me it's already installed;
urpmi.addmedia plf ftp://ftp.free.fr/pub/Distributions_.../mandrake/10.1
with hdlist.cz
urpmi.addmedia main
ftp://mirror.aca.oakland.edu/linux/m...586/media/main
with media_info/hdlist.cz
urpmi.addmedia contrib
ftp://mirror.aca.oakland.edu/linux/m.../media/contrib
with media_info/hdlist.cz
urpmi.addmedia jpackage
ftp://ftp.heanet.ie/mirrors/ftp.mand...media/jpackage
with media_info/hdlist.cz
I have kernel 2.6.8.1mdk10.1
Thanks, d-1
|
|
|
10-22-2004, 03:37 PM
|
#2
|
Senior Member
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090
Rep:
|
urpmi kernel-source
and choose the one which corresponds to your installed kernel.
|
|
|
10-22-2004, 05:06 PM
|
#3
|
Senior Member
Registered: Jun 2003
Location: LoneStar
Distribution: Mandriva & Ubuntu
Posts: 1,041
Original Poster
Rep:
|
Quote:
Originally posted by opjose
urpmi kernel-source
and choose the one which corresponds to your installed kernel.
|
I have tried that but nothing happens or takes place.
[root@localhost stan]# urpmi kernel-source
no package named kernel-source
[root@localhost stan]#
?????
d-1
|
|
|
10-22-2004, 05:33 PM
|
#4
|
Senior Member
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090
Rep:
|
1) You must do this as root
2) You must configure your urpmi sources
See: http://www.zebulon.org.uk
|
|
|
10-22-2004, 06:28 PM
|
#5
|
Senior Member
Registered: Jun 2003
Location: LoneStar
Distribution: Mandriva & Ubuntu
Posts: 1,041
Original Poster
Rep:
|
I ran the script and this is what I got:
I have kernel 2.6.8-1 so I should hit no for the following below? Should it not be kernel-source 2.6.8-1 instead?
[root@localhost stan]# urpmi kernel-source
Some package requested cannot be installed:
kernel-source-2.6.3-19mdk.i586 (due to unsatisfied ncurses-devel)
Continue? (Y/n)
d-1
Quote:
Originally posted by opjose
1) You must do this as root
2) You must configure your urpmi sources
See: http://www.zebulon.org.uk
|
|
|
|
10-22-2004, 06:40 PM
|
#6
|
Senior Member
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090
Rep:
|
Yup try
urpmi kernel-source-2.6.8-1mdk
|
|
|
10-22-2004, 06:57 PM
|
#7
|
Senior Member
Registered: Jun 2003
Location: LoneStar
Distribution: Mandriva & Ubuntu
Posts: 1,041
Original Poster
Rep:
|
I get this when I do:
[root@localhost stan]# urpmi kernel-source-2.6.8-1mdk
no package named kernel-source-2.6.8-1mdk
[root@localhost stan]#
What should I do now?
d-1
|
|
|
10-22-2004, 07:19 PM
|
#8
|
Senior Member
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090
Rep:
|
Ok, first check the RPM's on the CD's.
You should find a rpm which corresponds to the kernel you currently have installed.
Mount the CD and
cd /mnt/cdrom
find . -iname kernel-source*.*
That will give you the name of any file called kernel-source on the cdrom...
If not found on the first, try the second CD.
Once found feed the name to urpmi to install it.
|
|
|
10-22-2004, 07:23 PM
|
#9
|
Senior Member
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986
Rep:
|
Lets do this the easy way:
Mandrake control center
Add software
Add RPM
search for kernel-source
BAM! you're done.
|
|
|
10-22-2004, 07:32 PM
|
#10
|
Senior Member
Registered: Jun 2003
Location: LoneStar
Distribution: Mandriva & Ubuntu
Posts: 1,041
Original Poster
Rep:
|
That was one of the first things I attempted to do and that didn't work either, I even tried to do a search to find it using the uninstall tool.
d-1
Quote:
Originally posted by Micro420
Lets do this the easy way:
Mandrake control center
Add software
Add RPM
search for kernel-source
BAM! you're done.
|
|
|
|
10-22-2004, 08:06 PM
|
#11
|
Senior Member
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090
Rep:
|
Are you running the COOKER version of Mandrake?
(and if so WHY?????)
|
|
|
10-22-2004, 09:15 PM
|
#12
|
Senior Member
Registered: Jun 2003
Location: LoneStar
Distribution: Mandriva & Ubuntu
Posts: 1,041
Original Poster
Rep:
|
Yes someone advised me to do it so I could use the urpmi and redo my fonts.
d-1
Quote:
Originally posted by opjose
Are you running the COOKER version of Mandrake?
(and if so WHY?????)
|
|
|
|
10-22-2004, 09:29 PM
|
#13
|
Senior Member
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090
Rep:
|
Why?
You can "redo" your fonts with either 10.1 community or Mandrake 10.
Both work with urpmi just fine.
Cooker is a very rough beta best suited to those who are into debugging problems with Linux.
You may want to start over.
|
|
|
10-22-2004, 09:35 PM
|
#14
|
Senior Member
Registered: Jun 2003
Location: LoneStar
Distribution: Mandriva & Ubuntu
Posts: 1,041
Original Poster
Rep:
|
This is the kernel source on the CD # 3
[stan@localhost cdrom]$ find . -iname kernel-source*.*
./Mandrake/RPMS3/kernel-source-2.6.3-7mdk.i586.rpm
[stan@localhost cdrom]$
And, I have the kernel source 2.6.8.1-10mdk. so apparently cooker worked, but why it won't install the same kernel source is beyond me.
Is there any way to download the kernel source 2.6.8.1 on it's own?
d-1
Quote:
Originally posted by dolphans1
Yes someone advised me to do it so I could use the urpmi and redo my fonts.
d-1
|
Last edited by dolphans1; 10-22-2004 at 09:36 PM.
|
|
|
10-22-2004, 09:39 PM
|
#15
|
Senior Member
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090
Rep:
|
You've probably updated the kernel somehow, or the cooker release you obtained was not all consistent (as is often the case for a DEVELOPEMENT release).
A problem with cooker releases is that sometimes the RPM's you need may be superceeded.
I'd really start over either with 10 (my preference until 10.1 Official is actually released) or with 10.1 CE.
Your other recourse is to find a newer kernel and kernel source and install both together.
E.G.
urpmi kernel kernel-source
and see if this gets you the same version for both from cooker.
|
|
|
All times are GMT -5. The time now is 04:24 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|