KernelCheck is a a program that automatically compiles and installs the latest Kernel for Debian based Linux distributions (Debian, Ubuntu, Mint, etc.). The program also allows for automatic installation of proprietary video drivers via EnvyNG.

Unfortunately, KernelCheck hasn’t been working for a few months do to some changes made on Kernel.org website.

But a patch has been released two days ago which fixes KernelCheck.

How to patch KernelCheck

There are actually two patches: main.py and KernelPageParser.py (click to download the patches).

Locate these 2 files on your computer: main.py and KernelPageParser.py and run the patching command on those two files.

If you installed from source:
KernelPageParser.py should be located in /usr/local/lib/python2.6/dist-packages/KernelCheck/
main.py should be located in /usr/local/share/kernelcheck/scripts/

If you installed from a deb:
KernelPageParser.py should be located in /usr/share/pyshared/KernelCheck/
main.py should be located in /usr/share/kernelcheck/scripts/

Using the terminal, navigate to the location of the main.py and KernelPageParser.py files (see above), copy the patch to those folders and apply the patch like so:

General patching format:

<code>cat PATCHNAME.patch | patch -p1</code>

Alternate method (best used with sudo):

<code>sudopatch -p1 <PATCHNAME.patch</code>

from here

Advertisements