Bug#457931: /etc/init.d/cpufrequtils fails because of translations

2007-12-27 Thread Torsten Marek
Package: cpufrequtils
Version: 002-6
Severity: serious

Hi,

because of #449307, cpufrequtils now uses cpufreq-info to enumerate CPUs and 
cores. Unfortunately,
the sed pattern only works for the English messages of cpufreq-info and fails 
if LANG != (C|en) and
a translation is present (which is the case for de, fr  it). In this case, the 
init script
fails without any error message and does not set and governors etc. 

A solution for this bug is to prefix the invocation of cpufreq-info with LANG=C.


best,

Torsten

--- System information. ---
Architecture: i386
Kernel:   Linux 2.6.23-shl2

Debian Release: lenny/sid
  500 unstablewww.debian-multimedia.org 
  500 unstableopensync.gforge.punktart.de 
  500 unstableftp.de.debian.org 
  500 experimentalwww.debian-multimedia.org 
1 experimentalftp.de.debian.org 

--- Package information. ---
Depends  (Version) | Installed
==-+-===
debconf  (= 0.5)  | 1.5.17
 OR debconf-2.0| 
libc6   (= 2.7-1) | 2.7-5
libcpufreq0| 002-6
lsb-base  (= 3.0) | 3.1-24



signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


Bug#457931: /etc/init.d/cpufrequtils fails because of translations

2007-12-27 Thread Mattia Dongili
On Thu, Dec 27, 2007 at 12:03:44PM +0100, Torsten Marek wrote:
 Package: cpufrequtils
 Version: 002-6
 Severity: serious
 
 Hi,
 
 because of #449307, cpufrequtils now uses cpufreq-info to enumerate CPUs and 
 cores. Unfortunately,
 the sed pattern only works for the English messages of cpufreq-info and fails 
 if LANG != (C|en) and
 a translation is present (which is the case for de, fr  it). In this case, 
 the init script
 fails without any error message and does not set and governors etc. 

gah... very sorry about that.
I hope I'll be able to upload a new package in the next couple of days.

cheers
-- 
mattia
:wq!



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