[Bug 553237] Re: awk errors and invalid /etc/default/adjtimex
Charlie_Smotherman (porthose)
cjsmo at cableone.net
Tue Apr 6 12:49:23 BST 2010
I'm not seeing the described behavior, could you please recheck to see
if this is still a problem
charlie at charlie-laptop:~$ sudo apt-get install adjtimex
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
adjtimex
Need to get 56.4kB of archives.
After this operation, 176kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu/ lucid/universe adjtimex 1.28-1 [56.4kB]
Fetched 56.4kB in 1s (43.7kB/s)
Preconfiguring packages ...
Selecting previously deselected package adjtimex.
(Reading database ... 127452 files and directories currently installed.)
Unpacking adjtimex (from .../adjtimex_1.28-1_i386.deb) ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
Setting up adjtimex (1.28-1) ...
update-rc.d: warning: adjtimex start runlevel arguments (S) do not match LSB Default-Start values (2 3 4 5)
update-rc.d: warning: adjtimex stop runlevel arguments (none) do not match LSB Default-Stop values (0 1 6)
Regulating system clock...done.
Comparing clocks (this will take 70 sec)...done.
Adjusting system time by 20.7951 sec/day to agree with CMOS clock...done.
charlie at charlie-laptop:~$ sudo adjtimex --adjust
--- current --- -- suggested --
cmos time system-cmos error_ppm tick freq tick freq
1270551481 1.654814
1270551491 1.657096 228.2 10002 2666237
1270551501 1.659332 223.6 10002 2666237 10000 1118750
1270551511 1.661658 232.6 10002 2666237 10000 529687
1270551521 1.663852 219.4 10002 2666237 10000 1395312
1270551531 1.664079 22.7 10000 1395312 9999 6461412
1270551541 1.664040 -3.9 10000 1395312 10000 1649999
1270551551 1.664139 9.9 10000 1395312 10000 746875
charlie at charlie-laptop:~$
** Changed in: adjtimex (Ubuntu)
Status: New => Incomplete
--
awk errors and invalid /etc/default/adjtimex
https://bugs.launchpad.net/bugs/553237
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is a direct subscriber.
Status in “adjtimex” package in Ubuntu: Incomplete
Status in “adjtimex” package in Debian: New
Bug description:
Binary package hint: adjtimex
Package version: 1.28-1
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu lucid (development branch)
Release: 10.04
Codename: lucid
Bug report exists for debian too: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=557949
I have the same problem on Ubuntu 10.04 (lucid, still under testing).
This error makes this package unusable.
It looks like that "Correctly apply +-500 ppm sanity check" applied for version 1.28 is causing problems.
Also, bug #559882 ( http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=559882 ) seems to be a duplicate of this one.
I have the same problem:
$ sudo aptitude install adjtimex
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
The following NEW packages will be installed:
adjtimex
0 packages upgraded, 1 newly installed, 0 to remove and 5 not upgraded.
Need to get 0B/58.2kB of archives. After unpacking 176kB will be used.
Writing extended state information... Done
Preconfiguring packages ...
Selecting previously deselected package adjtimex.
(Reading database ... 167625 files and directories currently installed.)
Unpacking adjtimex (from .../adjtimex_1.28-1_amd64.deb) ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
Setting up adjtimex (1.28-1) ...
update-rc.d: warning: adjtimex start runlevel arguments (S) do not match LSB Default-Start values (2 3 4 5)
update-rc.d: warning: adjtimex stop runlevel arguments (none) do not match LSB Default-Stop values (0 1 6)
Regulating system clock...done.
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.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
$ sudo adjtimex --adjust
--- current --- -- suggested --
cmos time system-cmos error_ppm tick freq tick freq
1270121506 -124.142183
1270121516 -123.957160 18502.3 10000 0
1270121526 -123.772238 18492.2 10000 0 9815 511312
1270121536 -123.571375 20086.3 10000 0 9799 897037
1270121546 -123.386457 18491.8 10000 0 9815 537875
ERROR: required correction is greater than plus/minus 500 parts
per million, quitting (use --force-adjust to override).
$ sudo adjtimex --adjust --force-adjust
--- current --- -- suggested --
cmos time system-cmos error_ppm tick freq tick freq
1270121703 -120.372324
1270121713 -120.187284 18504.0 10000 0
1270121723 -119.986438 20084.6 10000 0 9799 1009537
1270121733 -119.801500 18493.8 10000 0 9815 406625
1270121743 -119.596560 20494.0 10000 0 9795 392687
WARNING: required correction is greater than plus/minus 500 parts
per million, but adjusting anyway per your request.
1270121753 -119.627563 -3100.3 9795 392687 9826 412337
1270121763 -119.639954 -1239.1 9795 392687 9807 2955737
1270121773 -119.652301 -1234.7 9795 392687 9807 2666674
WARNING: required correction is greater than plus/minus 500 parts
per million, but adjusting anyway per your request.
More information about the Ubuntu-sponsors
mailing list