What is the location of my Linux headers?

Dave M G martin at autotelic.com
Thu Oct 27 15:54:00 UTC 2005


On Thu, 2005-10-27 at 17:36 +0200, Reinhard Tartler wrote:
> sudo apt-get install linux-headers-$(uname -r)
> now look in "/lib/modules/$(uname -r)/build"

Thank you. That plus installing gcc-3.4 enabled me to build a deb
package. But installing it got the following error:

dave at ubuntu1:/usr/src/modules$ dpkg -i
wacom-kernel-modules-2.6.12-9-386_0.6.6-8ubuntu6_i386.deb
dpkg: requested operation requires superuser privilege
dave at ubuntu1:/usr/src/modules$ sudo dpkg -i
wacom-kernel-modules-2.6.12-9-386_0.6.6-8ubuntu6_i386.deb
Selecting previously deselected package
wacom-kernel-modules-2.6.12-9-386.
(Reading database ... 98952 files and directories currently installed.)
Unpacking wacom-kernel-modules-2.6.12-9-386 (from
wacom-kernel-modules-2.6.12-9-386_0.6.6-8ubuntu6_i386.deb) ...
dpkg: error processing
wacom-kernel-modules-2.6.12-9-386_0.6.6-8ubuntu6_i386.deb (--install):
 trying to overwrite
`/lib/modules/2.6.12-9-386/kernel/drivers/usb/input/wacom.ko', which is
also in package linux-image-2.6.12-9-386
Errors were encountered while processing:
 wacom-kernel-modules-2.6.12-9-386_0.6.6-8ubuntu6_i386.deb

Any idea what I do about this? I have no idea what any of this means.

--
Dave M G





More information about the ubuntu-users mailing list