LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 10-22-2004, 02:37 PM   #1
dolphans1
Senior Member
 
Registered: Jun 2003
Location: LoneStar
Distribution: Mandriva & Ubuntu
Posts: 1,041

Rep: Reputation: 35
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
 
Old 10-22-2004, 03:37 PM   #2
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
urpmi kernel-source

and choose the one which corresponds to your installed kernel.
 
Old 10-22-2004, 05:06 PM   #3
dolphans1
Senior Member
 
Registered: Jun 2003
Location: LoneStar
Distribution: Mandriva & Ubuntu
Posts: 1,041

Original Poster
Rep: Reputation: 35
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
 
Old 10-22-2004, 05:33 PM   #4
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
1) You must do this as root
2) You must configure your urpmi sources

See: http://www.zebulon.org.uk
 
Old 10-22-2004, 06:28 PM   #5
dolphans1
Senior Member
 
Registered: Jun 2003
Location: LoneStar
Distribution: Mandriva & Ubuntu
Posts: 1,041

Original Poster
Rep: Reputation: 35
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
 
Old 10-22-2004, 06:40 PM   #6
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
Yup try

urpmi kernel-source-2.6.8-1mdk
 
Old 10-22-2004, 06:57 PM   #7
dolphans1
Senior Member
 
Registered: Jun 2003
Location: LoneStar
Distribution: Mandriva & Ubuntu
Posts: 1,041

Original Poster
Rep: Reputation: 35
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
 
Old 10-22-2004, 07:19 PM   #8
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
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.
 
Old 10-22-2004, 07:23 PM   #9
Micro420
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: Reputation: 45
Lets do this the easy way:

Mandrake control center

Add software

Add RPM

search for kernel-source

BAM! you're done.
 
Old 10-22-2004, 07:32 PM   #10
dolphans1
Senior Member
 
Registered: Jun 2003
Location: LoneStar
Distribution: Mandriva & Ubuntu
Posts: 1,041

Original Poster
Rep: Reputation: 35
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.
 
Old 10-22-2004, 08:06 PM   #11
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
Are you running the COOKER version of Mandrake?

(and if so WHY?????)
 
Old 10-22-2004, 09:15 PM   #12
dolphans1
Senior Member
 
Registered: Jun 2003
Location: LoneStar
Distribution: Mandriva & Ubuntu
Posts: 1,041

Original Poster
Rep: Reputation: 35
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?????)
 
Old 10-22-2004, 09:29 PM   #13
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
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.
 
Old 10-22-2004, 09:35 PM   #14
dolphans1
Senior Member
 
Registered: Jun 2003
Location: LoneStar
Distribution: Mandriva & Ubuntu
Posts: 1,041

Original Poster
Rep: Reputation: 35
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.
 
Old 10-22-2004, 09:39 PM   #15
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
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.
 
  


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
apt-get kernel-source is installing the wrong kernel source. JordanH Ubuntu 10 07-08-2005 05:42 PM
installing kernel source newellrp1 Debian 7 05-18-2004 03:30 PM
installing kernel-source-2.4.20-20.9 wraith106 Linux - Software 11 10-11-2003 09:35 AM
Installing Kernel Source GeoffC Mandriva 3 08-27-2003 07:01 PM
Installing the kernel source PlatinumRik Linux - General 2 02-19-2003 09:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

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

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