Package: lm-sensors
Version: 1:2.10.5-1
Severity: important

the sensors-detect script fails to run.
Error message:
# sensors-detect
Missing right curly or square bracket at /usr/sbin/sensors-detect line
5872, at end of line
syntax error at /usr/sbin/sensors-detect line 5872, at EOF
Execution of /usr/sbin/sensors-detect aborted due to compilation errors.

adding a } as shown in the following diff fix the problem

diff -Naur prog/detect/sensors-detect /usr/sbin/sensors-detect
--- prog/detect/sensors-detect  2007-11-14 20:50:27.000000000 +0100
+++ /usr/sbin/sensors-detect    2007-11-14 20:53:50.000000000 +0100
@@ -5850,7 +5850,7 @@
   print "#----cut here----\n".
         $modprobes.
         "#----cut here----\n\n";
-
+  }
   if ($modprobes =~ /i2c-viapro/ && $modprobes =~ /via686a/ &&
kernel_version_at_least(2,6,0)) {
     print("\nWARNING: Please note that i2c-viapro and via686a may
conflict  which\n",
           "each other. If you get 'sensors not found', try loading
only one module\n",


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.22-2-amd64 (SMP w/1 CPU core)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages lm-sensors depends on:
ii  libc6                         2.6.1-6    GNU C Library: Shared libraries
ii  libsensors3                   1:2.10.5-1 library to read temperature/voltag
ii  perl                          5.8.8-12   Larry Wall's Practical Extraction
ii  sed                           4.1.5-4    The GNU sed stream editor
ii  ucf                           3.003      Update Configuration File: preserv

lm-sensors recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to