Package: laptop-mode-tools
Version: 1.47-1
Severity: normal
laptop-mode-tools gives this error message on startup and shutdown:
/usr/share/laptop-mode-tools/modules/hdparm: line 135: [: : integer
expression expected
It comes from the following lines in the mentioned script:
UDEVVERSION=$(udevinfo -V | awk '{ print $3; }')
if [ "$UDEVVERSION" -gt 70 ] ; then
It is easy to see what's wrong. udevinfo -V gives the following output
in my system:
hotblack% udevinfo -V
the program '/bin/zsh4' called 'udevinfo', it should use 'udevadm info
<options>', this will stop working in a future release
141
(The first line goes to stderr, so it's not a problem here.)
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.29-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages laptop-mode-tools depends on:
ii lsb-base 3.2-22 Linux Standard Base 3.2 init scrip
ii psmisc 22.6-1 Utilities that use the proc filesy
ii util-linux 2.13.1.1-1 Miscellaneous system utilities
Versions of packages laptop-mode-tools recommends:
ii acpid 1.0.8-8 Utilities for using ACPI power man
ii apmd 3.2.2-12 Utilities for Advanced Power Manag
ii ethtool 6+20090307-1 display or change Ethernet device
ii hal 0.5.12~git20090406.46dc48-2 Hardware Abstraction Layer
ii hdparm 9.12-2 tune hard disk parameters for high
ii sdparm 1.02-1 Output and modify SCSI device para
laptop-mode-tools suggests no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]