I was able to fix this problem by telnet’ing into the NAS via Putty
-
SSH into your NAS
Use an SSH client (like PuTTY) to connect to your NAS as the admin user. (make sure SSH is enabled > Control Panel > Network & File Services > Telnet\SSH) and it must be done with the admin login. -
Remove the kernel driver files
Find the kernel driver folder (usually under /share/CACHEDEV1_DATA/.qpkg/), and then run:
rm -rf /share/CACHEDEV1_DATA/.qpkg/KvKernelDriver
Remove the KvKernelDriver with the exact directory name as shown in your .qpkg folder; sometimes it is named differently depending on model or package version.
The .qpkg folder is typically hidden, so if you cannot find the .qpkg folder type:
ls -al /share/CACHEDEV*_DATA/.qpkg
That should reveal your cachedev folder number where the .qpkg folder is hiding. -
Clean up installation remnants:
Remove any leftover update package files:
rm -r /mnt/HDA_ROOT/update_pkg/*
This clears pending installation data that can block re-installations. -
Edit the QNAP application config (be very careful in here):
Open app config by type vi /etc/config/qpkg.conf
Navigate the list by using CTRL+F to move forward and CTRL+B to move back. You want to find the KvKernelDriver section where the driver’s details are listed.
Once you find the KvKernelDriver section, press i to go into insert/edit mode.
Use the up and down arrow keys to get to the section labeled [KvKernelDriver], and carefully delete that section, including all lines under it (from [KvKernelDriver] down to the next bracketed section).
If you make a mistake, just hit Escape and close the window or type :q! and press enter
If everything looks good, type :wq or :w to save without quitting. You can exit the editor/Putty.
This will instantly take the KvKernelDriver out of the Apps Center. -
Reboot the NAS.
-
While the NAS is rebooting, go download the the KvKernelDriver from Download Center | QNAP
-
When the NAS is back online, manually install the KvKernelDrive. After that, you can install the GPU driver as normal.