Comment 0 for bug 701958

Revision history for this message
Paul Sladen (sladen) wrote :

Binary package hint: nvidia-common

Tracking natty daily, seen during upgrade:

  Setting up linux-headers-2.6.37-12-generic (2.6.37-12.26) ...
  Examining /etc/kernel/header_postinst.d.
  run-parts: executing /etc/kernel/header_postinst.d/nvidia-common 2.6.37-12-generic /boot/vmlinuz-2.6.37-12-generic
  /etc/kernel/header_postinst.d/nvidia-common: line 8: [: too many arguments

Looking at line 8 of '/etc/kernel/header_postinst.d/nvidia-common', it is an expansion of $LATEST, which is source by running:

  /usr/bin/nvidia-detector

which returns the output:

  No NVIDIA package to install
  none

presumably in the case of "none", these errors should be going to /dev/stderr and stdout should be an empty string. The program in question is simple Python script which calls:

  NvidiaDetector.nvidiadetector.NvidiaDetection(printonly=True, verbose=True)

from:

  /usr/share/pyshared/NvidiaDetector/nvidiadetector.py