Warning: kernel headers don't match running Linux version
Linux - KernelThis forum is for all discussion relating to the Linux kernel.
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Warning: kernel headers don't match running Linux version
Hi all,
I'm trying to install wacom-kernel-source on Debian 4 Etch, but I get the following error while installing:
Code:
# apt-get install wacom-kernel-source
Reading package lists... Done
Building dependency tree... Done
wacom-kernel-source is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Setting up wacom-kernel-source (0.7.4.1-5) ...
/var/lib/dpkg/info/wacom-kernel-source.postinst: line 49: [: too many arguments
Warning: kernel headers don't match running Linux version.
Building wacom modules for Linux _CODE 13262 (this may take a few minutes)...dpkg: error processing wacom-kernel-source (--configure):
subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
wacom-kernel-source
E: Sub-process /usr/bin/dpkg returned an error code (1)
I know I have the correct headers installed, or at least I believe so:
Code:
# uname -r
2.6.18-4-686
so:
Code:
# apt-get install linux-headers-`(uname -r)`
Reading package lists... Done
Building dependency tree... Done
linux-headers-2.6.18-4-686 is already the newest version.
Distribution: Arch Linux 2007.05 "Duke" (Kernel 2.6.21)
Posts: 447
Rep:
The issue here doesn't seem to be that your headers and kernel dont match up, but that there is something wrong in /var/lib/dpkg/info/wacom-kernel-source.postinst. The output is telling you that there are too many arguments on line 49 of /var/lib/dpkg/info/wacom-kernel-source.postinst.
Ok, I see the point. Could there be a fix for this? Is that a bug I should report to the Debian devs? I know Etch was supposed to be stable and work, so there must be something wrong with this package...
Distribution: Arch Linux 2007.05 "Duke" (Kernel 2.6.21)
Posts: 447
Rep:
If you have some scripting / programming experience you might be able to do it yourself. I'm not sure how you'd contact the dev's as I don't use etch (In Arch it's as simple as emailing the package maintainer or putting in a bug report.) You might want to search on google to find out how to do so. A post on their forums might be in order as well.
Well, they don't have any official forums, that's the big deal.
I haven't got any programmin experience, but if you tell me I should contact the devs I'll find a way to do so (at once, I would add). I think I'll try to subscribe to their mailing list and ask there.
I have searched a lot, but couldn't find anything. I wonder how you got there. Anyways, you say it's already in the kernel, but how comes my pen tablet is not even recognised? There is no input whatsoever from it. I know it's a supported model (Wacom Volito2), because it worked fine on Ubuntu (Dapper and Edgy), and also on Knoppix (5.0 if I remember correctly).
I have set up everything like I used to, and I don't even get input.
Also, I have got module-assistant installed, I have used it for ndiswrapper-source, so I thought I had to do the same for wacom-kernel-source, but first I need to download it through apt, right (that's what I did with ndiswrapper-source)?
I know my questions probably look silly, but this is for me a completely new area, as I am used the simplified Ubuntu.
I have searched a lot, but couldn't find anything. I wonder how you got there.
You want to be efficient with debian? Put this in bookmark: http://www.debian.org/distrib/packages#search_packages
Then I have put the name of your package , chose also all distribution (stable,unstable,test,expe), clicked. Next page I clicked the unstable version. Then down You see bug report, click on this.
You arrive there: http://bugs.debian.org/cgi-bin/pkgre...;dist=unstable
Oooh your bug is the first one :o)
Another interesting link on this above page is
Package Tracking System
Quote:
Anyways, you say it's already in the kernel, but how comes my pen tablet is not even recognised? There is no input whatsoever from it. I know it's a supported model (Wacom Volito2), because it worked fine on Ubuntu (Dapper and Edgy), and also on Knoppix (5.0 if I remember correctly).
I have set up everything like I used to, and I don't even get input.
Humm.
I don't know these devices so I can't help you precisely. Lazy as I am what I would do in your situation is to boot in one working distro and try to see what configuration they use (modules, wacom version, parameters, maybe udev)
uname -r
lsmod
modinfo wacomxxx
read what is in /etc/modprobe.b , maybe there is something about this device
And then try manually to insert the module with the same options?
If you can't get this device to work, maybe you should report in Debian forum (it could be a kernel version number and then the current post is right) and try to get some help (could be udev that doesn't do its job)
Quote:
Also, I have got module-assistant installed, I have used it for ndiswrapper-source, so I thought I had to do the same for wacom-kernel-source, but first I need to download it through apt, right (that's what I did with ndiswrapper-source)?
I know my questions probably look silly, but this is for me a completely new area, as I am used the simplified Ubuntu.
Thanks!
No problem, you don't look silly. It's not that easy.
The silly is the one with unanswered question.
Did you look at this: http://forums.debian.net/viewtopic.p...65a42b5cb29cc6
Because it should work out of the box.
If you modify things it may not work (sorry if its too late)
In general, little things are needed. The hard thing is to find which are these things :)
Good luck
Thanks for that
I have tried to ask the question about my Volito2 in the thread you have pointed out, I hope to solve this, since I need to use that pen tablet and I am enjoying Etch so far... I hope I don't need a new clean install, though...
I'm getting the same errors with cpad and wacom kernel modules each time I run an update or installation, and it's interfering with my ability to add applications and features to my system--specifically, Scribus and XUL libraries.
I'm running kernel 2.6.24-etchnhalf.1-686. uname says the headers are installed.
Should I use Synaptic to remove and reinstall the cpad and wacom modules?
Last edited by craig61107; 05-08-2009 at 04:43 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.