Hallo,
für meine Set-Top-Box (Reelbox AVG2) wurde ein neues Image auf Basis von Ubuntu 14.04.(BM2LTS) entwickelt. Leider schaffe ich es nun nicht mehr, den Grafiktreiber (NVIDIA-Linux-x86-340.76.run) für meine nachträglich eingebaute Grafikkarte (EVGA GeForce 210) zu installieren. Bei der Installation kam folgende Fehlermeldung:
ERROR: Failed to run /usr/sbin/dkms build -m nvidia -v
340.76 -k 3.16.0-30-generic
: Error! Your kernel headers for kernel 3.16.0-30-generic
cannot be found. Please install the linux-headers-3.16.0-30-generic package, or
use the --kernelsourcedir option to tell DKMS where it's located
Danach habe ich folgendes versucht:
1 2 | apt-get install build-essential linux-headers-3.16.0-30-generic apt-get install build-essential linux-headers-3.16.0-30 |
Ergebnis:
root@BM2LTSR66RBin:~# apt-get install build-essential linux-headers-3.16.0-30-generic Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig build-essential ist schon die neueste Version. linux-headers-3.16.0-30-generic ist schon die neueste Version. linux-headers-3.16.0-30-generic wurde als manuell installiert festgelegt. 0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert. root@BM2LTSR66RBin:~# apt-get install build-essential linux-headers-3.16.0-30 Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig build-essential ist schon die neueste Version. linux-headers-3.16.0-30 ist schon die neueste Version. 0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
Die anschließende Treiberinstallation schlug wieder fehl (sudo sh NVIDIA-Linux-x86-340.76.run):
nvidia-installer log file '/var/log/nvidia-installer.log' creation time: Tue Feb 24 20:29:17 2015 installer version: 340.76 PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin nvidia-installer command line: ./nvidia-installer Using: nvidia-installer ncurses user interface -> License accepted. -> Installing NVIDIA driver version 340.76. -> There appears to already be a driver installed on your system (version: 340.76). As part of installing this driver (version: 340.76), the existing driver will be uninstalled. Are you sure you want to continue? (Answer: Continue installation) -> Running distribution scripts executing: '/usr/lib/nvidia/pre-install'... -> done. -> The distribution-provided pre-install script failed! Are you sure you want to continue? (Answer: Continue installation) -> Would you like to register the kernel module sources with DKMS? This will allow DKMS to automatically build a new module, if you install a different kernel later. (Answer: Yes) -> Installing both new and classic TLS OpenGL libraries. -> Parsing log file: -> done. -> Validating previous installation: -> done. -> Uninstalling NVIDIA Accelerated Graphics Driver for Linux-x86 (1.0-34076 (340.76)): -> DKMS module detected; removing... -> done. -> Uninstallation of existing driver: NVIDIA Accelerated Graphics Driver for Linux-x86 (340.76) is complete. -> Skipping installation of the libvdpau wrapper library. -> Searching for conflicting X files: -> done. -> Searching for conflicting OpenGL files: -> done. -> Installing 'NVIDIA Accelerated Graphics Driver for Linux-x86' (340.76): executing: '/sbin/ldconfig'... -> done. -> Driver file installation is complete. -> Installing DKMS kernel module: ERROR: Failed to run `/usr/sbin/dkms build -m nvidia -v 340.76 -k 3.16.0-30-generic`: Error! Your kernel headers for kernel 3.16.0-30-generic cannot be found. Please install the linux-headers-3.16.0-30-generic package, or use the --kernelsourcedir option to tell DKMS where it's located -> error. ERROR: Failed to install the kernel module through DKMS. No kernel module was installed; please try installing again without DKMS, or check the DKMS logs for more information.
Ich hoffe, Ihr könnt mir helfen. Vielen Dank und viele Grüße!
Ebus