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

Bug #701958 reported by Paul Sladen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nvidia-common (Ubuntu)
New
Undecided
Unassigned

Bug Description

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

Paul Sladen (sladen)
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.