Error Message DKMS
by evodawg from LinuxQuestions.org on (#4X369)
Keep getting this error message when upgrading or updating PC Linux OS using Synaptic: How do I fix? Can I delete the older version or rename it?
Thanks in advance.
While installing package ndiswrapper-1.62-5pclos2019:
please download binary driver (look at http://ndiswrapper.sourceforge.net/)
use ndiswrapper -i <inffile.inf> as root to install driver
dkms-ndiswrapper-1.62-5pclos2019
Creating symlink /var/lib/dkms/ndiswrapper/1.62-5pclos2019/source ->
/usr/src/ndiswrapper-1.62-5pclos2019
DKMS: add Completed.
Preparing kernel 5.0.2-pclos1 for module build:
(This is not compiling a kernel, just preparing kernel symbols)
Storing current .config to be restored when complete
Running Generic preparation routine
make clean......
using /proc/config.gz
make oldconfig....(bad exit status: 2)
make prepare....(bad exit status: 2)
applying patch ndiswrapper-linux-5.0.patch...patching file ntoskernel.c
Hunk #1 FAILED at 2498.
Hunk #2 FAILED at 2518.
2 out of 2 hunks FAILED -- saving rejects to file ntoskernel.c.rej
(bad exit status: 1)
Error! Application of patch ndiswrapper-linux-5.0.patch failed.
Check /var/lib/dkms/ndiswrapper/1.62-5pclos2019/build/ for more information.
While installing package vim-minimal-8.2.019-1pclos2020:
------------------------------
Deleting module version: 1.62-4pclos2019
completely from the DKMS tree.
------------------------------
Done.


Thanks in advance.
While installing package ndiswrapper-1.62-5pclos2019:
please download binary driver (look at http://ndiswrapper.sourceforge.net/)
use ndiswrapper -i <inffile.inf> as root to install driver
dkms-ndiswrapper-1.62-5pclos2019
Creating symlink /var/lib/dkms/ndiswrapper/1.62-5pclos2019/source ->
/usr/src/ndiswrapper-1.62-5pclos2019
DKMS: add Completed.
Preparing kernel 5.0.2-pclos1 for module build:
(This is not compiling a kernel, just preparing kernel symbols)
Storing current .config to be restored when complete
Running Generic preparation routine
make clean......
using /proc/config.gz
make oldconfig....(bad exit status: 2)
make prepare....(bad exit status: 2)
applying patch ndiswrapper-linux-5.0.patch...patching file ntoskernel.c
Hunk #1 FAILED at 2498.
Hunk #2 FAILED at 2518.
2 out of 2 hunks FAILED -- saving rejects to file ntoskernel.c.rej
(bad exit status: 1)
Error! Application of patch ndiswrapper-linux-5.0.patch failed.
Check /var/lib/dkms/ndiswrapper/1.62-5pclos2019/build/ for more information.
While installing package vim-minimal-8.2.019-1pclos2020:
------------------------------
Deleting module version: 1.62-4pclos2019
completely from the DKMS tree.
------------------------------
Done.