Chazzman_bm Posted March 17, 2008 Report Share Posted March 17, 2008 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. Quote Link to comment Share on other sites More sharing options...
scarecrow Posted March 17, 2008 Report Share Posted March 17, 2008 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. Quote Link to comment Share on other sites More sharing options...
Chazzman_bm Posted March 18, 2008 Author Report Share Posted March 18, 2008 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 Quote Link to comment Share on other sites More sharing options...
Greg2 Posted March 18, 2008 Report Share Posted March 18, 2008 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. Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted March 18, 2008 Report Share Posted March 18, 2008 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. Quote Link to comment Share on other sites More sharing options...
Greg2 Posted March 19, 2008 Report Share Posted March 19, 2008 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. However I'm not sure how much longer they will be available. Quote Link to comment Share on other sites More sharing options...
Chazzman_bm Posted March 19, 2008 Author Report Share Posted March 19, 2008 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? Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted March 19, 2008 Report Share Posted March 19, 2008 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. Quote Link to comment Share on other sites More sharing options...
Chazzman_bm Posted March 19, 2008 Author Report Share Posted March 19, 2008 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. Quote Link to comment Share on other sites More sharing options...
Greg2 Posted March 19, 2008 Report Share Posted March 19, 2008 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.