/usr/sbin/laptop_mode: 29: [: -eq: unexpected operator

Bug #1298884 reported by martin suchanek
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
laptop-mode-tools (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

Hi.
Error within installation process:

Setting up laptop-mode-tools (1.64-1ubuntu1) ...
cat: /sys/class/net/wlan0/device/enable: No such file or directory
/usr/sbin/laptop_mode: 29: [: -eq: unexpected operator
 * Laptop mode
enabled, not active
Setting up sdparm (1.07-1) ...

apt-cache policy laptop-mode-tools
laptop-mode-tools:
  Installed: 1.64-1ubuntu1
  Candidate: 1.64-1ubuntu1
  Version table:
 *** 1.64-1ubuntu1 0
        500 http://archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages
        100 /var/lib/dpkg/status

Tags: trusty
Rolf Leggewie (r0lf)
tags: added: trusty
Changed in laptop-mode-tools (Ubuntu):
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
ahmetcgl (ahmetcgl) wrote :

Hi, I have more or less the same problem with laptop-mode-tools. When I try to turn off my laptop, I get this message all on the screen continuing for ever and then, I have to press power button to turn my laptop off. I tried to uninstall or reinstall laptop-mode (which I am not sure if it was a good idea) and reinstall but but the same error message continues on the terminal forever... Thanks...

Revision history for this message
ahmetcgl (ahmetcgl) wrote :

Here is a screenshot when trying to remove or reinstall laptop-mode

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.