Bret, try these packages:
64-bit:
https://launchpad.net/~medigeek/+archive/experimental/+files/adjtimex_1.28-1ubuntu1_amd64.deb
32-bit:
https://launchpad.net/~medigeek/+archive/experimental/+files/adjtimex_1.28-1ubuntu1_i386.deb
It still happens. I have no idea what triggers it, but the sanity check
is to blame.
Here's my command log:
$ sudo rm /etc/default/adjtimex
$ sudo adjtimexconfig
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.
$ cat /etc/default/adjtimex
# /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).
$ sudo aptitude purge adjtimex
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
The following packages will be REMOVED:
adjtimex{p}
0 packages upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 176kB will be freed.
Do you want to continue? [Y/n/?] y
Writing extended state information... Done
(Reading database ... 197728 files and directories currently installed.)
Removing adjtimex ...
Purging configuration files for adjtimex ...
removing debconf db entries
removed debconf db entries
Processing triggers for ureadahead ...
Processing triggers for man-db ...
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 aptitude clean
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
$ sudo apt-get install adjtimex
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
adjtimex
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 58.2kB of archives.
After this operation, 176kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu/ lucid/universe adjtimex 1.28-1 [58.2kB]
Fetched 58.2kB in 26s (2,219B/s)
Preconfiguring packages ...
Selecting previously deselected package adjtimex.
(Reading database ... 197718 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.
$ sudo adjtimex --adjust
--- current --- -- suggested --
cmos time system-cmos error_ppm tick freq tick freq
1270640189 1.252710
1270640199 1.352441 9973.1 10000 0
1270640209 1.452065 9962.4 10000 0 9900 2464687
1270640219 1.551696 9963.1 10000 0 9900 2417812
1270640229 1.655592 10389.6 10000 0 9896 682212
ERROR: required correction is greater than plus/minus 500 parts
per million, quitting (use --force-adjust to override).
** Changed in: adjtimex (Ubuntu)
Status: Incomplete => New
--
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
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs