DebianThis forum is for the discussion of Debian 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.
) Install the following packages via apt (apt-get install fakeroot kernel-package module-assistant build-essential wget bzip2 libncurses5-dev)
I am trying to do it, but I get the following error:
build-essential: Depends: libc6-dev but it is not going to be installed or libc-dev
Depends: g++ but it is not going to be installed
I think that it is a repository problem, but like I said, I am a total noob.
please let me know if you have any suggestions so that I can move on and get the newer kernel. Thanks!
Try the dist-upgrade option. Also, try installing g++ as it's a dependency of libc6-dev, which in turn is a dependency of the build-essential package. Before that you may try to install the other packages and leave the build-essential package for the moment.
You seem to me to be too confused to be messing around trying to build a new kernel. You are running Stable, and that's good. The 2.6.20 kernel that has just been called stable by kernel.org is not the same 2.6.20 kernel that you could download from Sid.
I would avise you to leave that idea alone. Go to backports.org, read their instructions, and set up your sources.list to get things from there as soon as they are ready for Etch.
If you want to experiment with newer software, upgrade to Lenny first.
Edit: A tip ... your sources.list file right now should look like this:
my biggest thing is that I am using Sarge and I want a newer distro. The repos say etch because someone at work told me to change the stable to etch and it would get the stuff that I needed. That does not appear to be the case though.
Rick Thanks for the advice, I have been reading through backports.org so hopefully I'll be able to figure this thing out.
Edit: Never mind that. Read the Release notes regarding the upgrade from Sarge to Etch and follow it carefully. The advice you received as far as just changing your sources.list is over simplistic. If you're lucky it may even work, but there are a number of considerations you should be aware of.
It is amazing what can happen when you read! When my computer was rebooting I noticed that it said I was running 'Lenny/SID' so I guess I was just being a complete moron this entire time. Sorry to have wasted your time. I did learn some new things though
I am trying to do it, but I get the following error:
build-essential: Depends: libc6-dev but it is not going to be installed or libc-dev
Depends: g++ but it is not going to be installed
I think that it is a repository problem, but like I said, I am a total noob.
please let me know if you have any suggestions so that I can move on and get the newer kernel. Thanks!
Your caught in the middle of a transition of the development packages from the looks of it it needs newer libc6* and others. You would need a line for unstable in your sources.list then use what is called apt pinning to keep your machine at the testing/lenny branch while getting the packages you need to install build-essential from unstable with a command like apt-get install -t unstable libc6 libc6-dev gcc g++ cpp .... this list could go on until it stops complaining about not installing. If you really need/want the 2.6.20 kernel then you can install a pre-compiled one from Debian by using the apt pinning as well no need to compile your own unless you want to.
BTW you should have changed your sources.list back to testing or lenny otherwise you will not be getting the latest packages as they become available and trying to install packages from the stable branch could be a pain.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.