[ltp] Debian, laptop kernel, and dependencies

Kacper Wysocki linux-thinkpad@linux-thinkpad.org
Sun, 6 Jul 2003 17:41:34 +0200


>Not exactly a thinkpad related question, but I am using 2.4.21 + the
>linux-laptop patches on my Debian unstable t40p.  The problem I've run into
>is that I'm trying to use apt-get to install alsa, but the alsa-modules
>package depends on the kernel-image package...
>
>The following packages have unmet dependencies:
>  alsa-modules-2.4.21: Depends: kernel-image-2.4.21 but it is not installable
>
>What is the proper way to handle this?  I suppose there should be a way to
>tell the package system that I have the kernel-image package installed, or a
>way to create a fake kernel-image package and install it (I think I did this
>when I installed the Sun Java SDK).

Since you aren't using the debian precompiled kernel image, you will probably 
not be able to use the alsa-modules package either. Kernel modules have to be 
compiled against the configured source identically corresponding to the kernel 
you intend to run them with, otherwise unresolved symbols almost always occur 
at module insertion time.

I'd recommend you download and compile your alsa-modules from alsa-project.org 
or CVS.

Yes, it's possible to create a placeholder package with apt and dpkg. The fine 
people on irc.debian.org #debian work magic with apt- if you're looking for 
the quick answer I suggest you go talk to them, as I don't remember the 
commands off-hand. I have an aversion to this method, because I find it 
creates problems down the road when one decides to run apt-get upgrade.
-

I don't want to seem a dummy asking this, but I've had no luck googling for it 
these past few days: what is the URL to the linux-laptop kernel patch 
collection?

Cheers,
Kacper Wysocki