Jump to content
Sign in to follow this  
Chazzman_bm

Linux Sources

Recommended Posts

Hello,

 

I need some help with finding and installing Linux sources for my server. I am trying to install some software and it fails because of this problem.

 

The Linux version I have is:

 

2.6.12-12mdksmp

 

I have run the EasyURPMI but the 'sources' still aren't present. I've read through several posts offering other advice using the Linux GUI but unfortunately, I have limited access to the server itself with only regular console access. Some people have recommended upgrading/updating the kernel but I have also read threads that state this is not a good idea because it has made the system unstable due to mismatches.

 

I am still pretty new at Linux and have been strugling with this for quite a while now. Can anyone help with acquiring the software please?

 

Thank you.

Share this post


Link to post
Share on other sites

Loks like Mandriva 2006, or not?

kernel-source and kernel-source-stripped (whatever you need) for kernel "2.6.12-12mdksmp" are perfectly available through the available mirrors, e.g. ftp://ftp.heanet.ie

You could and should set your urpmi mirrors via cli... else you are not going anywhere.

Share this post


Link to post
Share on other sites

Well,

 

I've downloaded the three Mandriva 2006 CDs to my home directory from ftp://ftp.mirrorservice.org/sites/carroll...so/2006.0/i586/

 

What do I have to do to get install the sources? Do I have to copy the contents of the CDs to a specific location or is there something I need to run to update the kernel while referencing the CDs?

 

Thanks

Share this post


Link to post
Share on other sites
I have run the EasyURPMI but the 'sources' still aren't present. I've read through several posts offering other advice using the Linux GUI but unfortunately, I have limited access to the server itself with only regular console access.

You should be looking for a 'kernel-source' package that matches your kernel, like scarecrow said. Using the cli, do

uname -r

then (as root) do

urpmq -i kernel-source

to find the matching kernel-source. Then use urpmi to install the package.

 

If you must use the CD, it should be in /i586/media/main on one of them, but I'm not sure which one. You would need to copy it to your system, and use

rpm -i package-name

to install it.

Share this post


Link to post
Share on other sites

Do the packages still exist on the mirrors for Mandriva 2006? I thought this would have expired or about to expire in terms of updates, etc.

 

Should be able to get the 2.6.12.12 kernel source of the CD/DVD set though.

Share this post


Link to post
Share on other sites
Do the packages still exist on the mirrors for Mandriva 2006?

They are currently on the repos that scarecrow and Chazzman have pointed out, and some other repos. That's why I gave those instructions in my last post. :rolleyes:

 

However I'm not sure how much longer they will be available.

Share this post


Link to post
Share on other sites

Ok. Here is some output from my server:

 

[root@alpha ~]# uname -r

2.6.12-12mdksmp

[root@alpha ~]# urpmq -i kernel-source

no package named kernel-source

The following packages contain kernel-source:

kernel-source-2.6

kernel-source-2.6.12.23mdk

kernel-source-2.6.12.24mdk

kernel-source-2.6.12.25mdk

kernel-source-2.6.12.27mdk

kernel-source-2.6.12.29mdk

kernel-source-2.6.12.31mdk

kernel-source-2.6.17.10mdv

kernel-source-2.6.17.11mdv

kernel-source-2.6.17.13mdv

kernel-source-2.6.17.14mdv

kernel-source-2.6.17.15mdv

kernel-source-2.6.17.16mdv

kernel-source-2.6.17.17mdv

kernel-source-2.6.17.5mdv

kernel-source-2.6.17.6mdv

kernel-source-2.6.17.8mdv

kernel-source-stripped-2.6

kernel-source-stripped-2.6.12.23mdk

kernel-source-stripped-2.6.12.24mdk

kernel-source-stripped-2.6.12.25mdk

kernel-source-stripped-2.6.12.27mdk

kernel-source-stripped-2.6.12.29mdk

kernel-source-stripped-2.6.12.31mdk

kernel-source-stripped-2.6.17.10mdv

kernel-source-stripped-2.6.17.11mdv

kernel-source-stripped-2.6.17.13mdv

kernel-source-stripped-2.6.17.14mdv

kernel-source-stripped-2.6.17.15mdv

kernel-source-stripped-2.6.17.16mdv

kernel-source-stripped-2.6.17.17mdv

kernel-source-stripped-2.6.17.5mdv

kernel-source-stripped-2.6.17.6mdv

kernel-source-stripped-2.6.17.8mdv

[root@alpha ~]#

 

I think all the kernel-source stuff came from me running EasyURPMI several times. for different versions of Mandriva. At that time, I was unsure which version I was running (I had several install disks at the time).

 

My kernel source (2.6.12-12mdksmp) doesn't show up in that list. What next?

Share this post


Link to post
Share on other sites

As you can see, there is no kernel-source for 2.6.12-12 in that list. Therefore, you'll need to install a kernel that matches one of the kernel sources available for you, then you'll have kernel-2.6.12-31 and the appropriate kernel-source as well.

 

Am surprised to see a kernel-source for 2.6.17.x though, since this would have come from Mandriva 2007.

Share this post


Link to post
Share on other sites

Thanks for your help on this. I've decided that it I'd probably be just as quick installing a newer version of Linux from scratch. Hopefully all my problems will go away after that and I can install the software I need.

 

Thanks again.

Share this post


Link to post
Share on other sites

You have mixed up two versions of Mandriva in your repos. You could do

urpmi.removemedia -a

to clean this up. Then use easyurpmi again for 2006. The package is there, here's a direct link: kernel-source-2.6-2.6.12-12

 

It would be better though, to use a newer version for your server, it's up to you.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...