Package: adjtimex
Version: 1.28-1
Severity: important

During the installation of adjtimex package the following messages
appeared:

Comparing clocks (this will take 70 sec)...done.                                
                                                                                
awk: BEGIN{print ((to-10000)*100 + override)./65536.)*.0864}                    
                                                                                
awk:                                        ^ syntax error                      
                                                                                
awk: BEGIN{print ((to-10000)*100 + override)./65536.)*.0864}                    
                                                                                
awk:                                          ^ unterminated regexp             
                                                                                
awk: cmd. line:1: BEGIN{print ((to-10000)*100 + override)./65536.)*.0864}       
                                                                                
awk: cmd. line:1:                                                        ^ 
unexpected newline or end of string                                             
     
Adjusting system time by  sec/day to agree with CMOS clock...done.              
                                                                                


Then /etc/default/adjtimex file looked like this:

#  /etc/default/adjtimex - configuration file for adjtimex(8)
#
#  you may adjust these values manually or by calling /usr/sbin/adjtimexconfig
#
#  This file is sourced by /etc/init.d/adjtimex
#
TICK=to
FREQ=override).


I looked through postinst script and found that on my machine adjtimex
prints an error message:

# /sbin/adjtimex --adjust 2> /dev/null
                                      --- current ---   -- suggested --
cmos time     system-cmos  error_ppm   tick      freq    tick      freq
1259149520    3068.566262
1259149530    3068.579347     1308.5  10000         0
1259149540    3068.592294     1294.7  10000         0    9987    350573
1259149550    3068.605252     1295.8  10000         0    9987    272449
1259149560    3068.618202     1295.0  10000         0    9987    325574

ERROR: required correction is greater than plus/minus 500 parts
per million, quitting (use --force-adjust to override).


Notice that adjtimex, for some unknown reason, prints this error message
to stdout, not stderr. Apparently the postinst script takes words of this
message instead of tick/freq values and writes them to the configuration file.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.28.10 (SMP w/2 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages adjtimex depends on:
ii  debconf [debconf-2.0]         1.5.28     Debian configuration management sy
ii  libc6                         2.10.1-5   GNU C Library: Shared libraries

adjtimex recommends no packages.

Versions of packages adjtimex suggests:
ii  ntpdate                 1:4.2.4p6+dfsg-2 client for setting system time fro

-- debconf information excluded



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to