On Tue, Jan 20, 2004 at 12:13:04AM +0000, Pigeon wrote:
> On Mon, Jan 19, 2004 at 05:21:33PM +0100, Chris Searle wrote:
> > Trying to apt-get install kernel-image-2.4.24-1-686
> > I get the following:
> > Setting up kernel-image-2.4.24-1-686 (2.4.24-1) ...
> > error reading /lib/modules/2.4.24-1-686/build :No such file or directory
> > Deleting /lib/modules/2.4.24-1-686/build
> > bugs.debian.org doesn't seem to have anything, nor was I lucky with
> > google - just thought I'd check here before using reportbug :-)
> > Any hints ?
> There was another post today from someone trying to install what *seems* to
> be the same package which looks a bit like what might be expected if you
> ignored these errors, forced lilo to recognise the new kernel and tried to
> boot it with no initrd. So there may be some breakage in the package.
That looks to be the case...
I don't have any pre-packaged kernel-images on hand except for my old
potato cd's. All I have are locally compiled images.
My /lib/modules/2.*/build files are links to /usr/src/kernel-source-xx
directories. If this is the case (someone who has prepackaged
kernel-source debs might check with "dpkg --contents <image-deb> | grep
build" and see what it says. If this is the case with them, then this
would presume that the kernel-source for that kernel would have been
installed. If this is necessary, then the kernel-source should be a
Dependency, shouldn't it?