Public bug reported:

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 sourced 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

** Affects: nvidia-common (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  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
+   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:
+ is an expansion of $LATEST, which is sourced by running:
  
-   /usr/bin/nvidia-detector
+   /usr/bin/nvidia-detector
  
  which returns the output:
  
-   No NVIDIA package to install
-   none
+   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,
+   NvidiaDetector.nvidiadetector.NvidiaDetection(printonly=True,
  verbose=True)
  
  from:
  
-   /usr/share/pyshared/NvidiaDetector/nvidiadetector.py
+   /usr/share/pyshared/NvidiaDetector/nvidiadetector.py

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/701958

Title:
  /etc/kernel/header_postinst.d/nvidia-common: line 8: [: too many
  arguments

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to