Results 1 to 5 of 5

Thread: Unable to complete nvidia driver installation. "Unable to locate package libopencll"

  1. #1
    Join Date
    2017-Mar
    Posts
    3

    Unhappy Unable to complete nvidia driver installation. "Unable to locate package libopencll"

    Kali mounted on USB. I boot into persistence.
    Release 2016.2.

    I cannot boot into the desktop for some weird reason it loses signal maybe something to do with the card so I boot into text mode. I follow the official documentation for Kali's installation of nvidia drivers and everything works well until I enter the command
    "apt install -y ocl-icd-libopencl1 nvidia-driver nvidia-cuda-toolkit"
    It returns an error telling me it is unable to locate the package.

    New to Linux so I did whatever I could with research of my own to get through this but still I am stuck.

    I can't do **** without this driver so I need help.


    I can give info if needed just let me know what.

    Regards.

    tried all relevant commands to complete any upgrades or installs that were missing nothing.
    Last edited by M213; 2017-03-28 at 12:26.

  2. #2
    Join Date
    2017-Mar
    Posts
    3
    this error comes up even though ive went through all updates and upgrades including libraries and headers.

  3. #3
    Join Date
    2013-Mar
    Posts
    43
    Hello check your sources.list

    deb http://http.kali.org/kali kali-rolling main contrib non-free
    # For source package access, uncomment the following line
    deb-src http://http.kali.org/kali kali-rolling main contrib non-free

    :~# apt-get install -y ocl-icd-libopencl1 nvidia-driver nvidia-cuda-toolkit
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    ocl-icd-libopencl1 is already the newest version (2.2.11-1).
    nvidia-cuda-toolkit is already the newest version (8.0.44-3).
    nvidia-driver is already the newest version (375.39-1).
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


    :~# hashcat -I
    hashcat (v3.40) starting...

    OpenCL Info:

    Platform ID #1
    Vendor : NVIDIA Corporation
    Name : NVIDIA CUDA
    Version : OpenCL 1.2 CUDA 8.0.0

    Device ID #1
    Type : GPU
    Vendor ID : 32
    Vendor : NVIDIA Corporation
    Name : GeForce GTX 1060 3GB
    Version : OpenCL 1.2 CUDA
    Processor(s) : 9
    Clock : 1708
    Memory : 753/3013 MB allocatable
    OpenCL Version : OpenCL C 1.2
    Driver Version : 375.39

  4. #4
    Join Date
    2017-Mar
    Posts
    3
    By uncomment i assume you mean remove?

  5. #5
    Join Date
    2016-Oct
    Location
    /dev/sda
    Posts
    1,012
    Quote Originally Posted by M213 View Post
    By uncomment i assume you mean remove?
    Uncomment means putting #. It is basically removing. If you put # the kernel won't read that line and skip to next line.

Similar Threads

  1. Replies: 1
    Last Post: 2015-01-13, 15:05
  2. Replies: 2
    Last Post: 2013-05-26, 15:50

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •