On 2/13/06, Robert Citek <[EMAIL PROTECTED]> wrote:
> On Feb 13, 2006, at 9:58 AM, Robert Citek wrote:
> > Under Knoppix I have /lib/modules/2.6.12/build/. But neither my
> > CentOS nor Ubuntu installs have this directory. Under Knoppix, how
> > can I find out what package created this directory?
>
> I found a way:
>
> $ dpkg -S build | grep /lib/modules/2.6.12/build
> kernel-image-2.6.12: /lib/modules/2.6.12/build
You can put the full path in and forget the grep:
$ dpkg -S /lib/modules/2.6.12/build
> However, if I search for kernel-image under Ubuntu it doesn't exist.
> How can I find the name of the right package under Ubuntu?
Ubuntu (and now Debian) call the Linux kernel packages
linux-{image,doc,headers,src} rather than kernel-{...}.
dd
--
David Dooling
_______________________________________________
CWE-LUG mailing list
[email protected]
http://www.cwelug.org/
http://www.cwelug.org/archives/
http://www.cwelug.org/mailinglist/