On Sat, 27 Feb 2010 20:22:26 -0500
"James R. Van Zandt" <j...@comcast.net> wrote:

> 
> dash installs/reinstalls it fine here:
...
> I see your second attempt succeeded.  Maybe that wasn't because of
> bash, but just because it was the second attempt.  To help track this
> down, I'd appreciate some more information:
> 
>  - Your printout reports a problem with a paren in
>    /etc/default/adjtimex.  Could you report the contents of that file
>    before the first installation attempt? (e.g. from the previous
>    backup file.  You do have backups, right? :-)

Yes, but unfortunately that particular file's not available.

>  - Is the problem repeatable, by re-installing 1.28-3, or by
>    downgrading to your previous version of adjtimex then installing
>    1.28-3, or by purging adjtimex then installing 1.28-3?  Please type
>    out the contents of /etc/default/adjtimex before each installation
>    attempt, in case that tells us something.

It's repeatable, but on more recent repeats, (after 'purge'-ing the
package), I'm seeing a new 'preconfigure' error, without the 2/27/10
'post-installation' error.  More on which later...
 
>  - What version of adjtimex were you replacing?

v1.28-1

>  - What version of dash do you have installed?  (I am using
>    0.5.5.1-3).

'dash' version, same as yours: 0.5.5.1-3, then and now.

> Thanks for your report.

Thanks, and apologies for the late response to your prompt reply.

Well on to some tests.  The other night, I downgraded and upgraded:

        % 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=10005
        FREQ=1807105

        # get the old version
        % feta install 
http://altruistic.lbl.gov/mirrors/ubuntu/pool/universe/a/adjtimex/adjtimex_1.28-1_i386.deb

        Running: wget -c -O '/tmp/adjtimex_1.28-1_i386.deb' 
'http://altruistic.lbl.gov/mirrors/ubuntu/pool/universe/a/adjtimex/adjtimex_1.28-1_i386.deb'
 2> '/dev/null'
        Downloading 
http://altruistic.lbl.gov/mirrors/ubuntu/pool/universe/a/adjtimex/adjtimex_1.28-1_i386.deb
 to /tmp/adjtimex_1.28-1_i386.deb... Done

        Running: dpkg --install '/tmp/adjtimex_1.28-1_i386.deb'
        dpkg: warning: downgrading adjtimex from 1.28-3 to 1.28-1.
        (Reading database ... 265644 files and directories currently installed.)
        Preparing to replace adjtimex 1.28-3 (using 
/tmp/adjtimex_1.28-1_i386.deb) ...
        Unpacking replacement adjtimex ...
        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.
        Processing triggers for man-db ...

        % 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).

Seems TICK & FREQ were corrupted by the downgrade, and bugs:

        #559882 When updating adjtimex an awk error occurs
        http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=559882
        #557949 generates an invalid /etc/default/adjtimex
        http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=557949

...appeared, (which probably should be merged).

Next an upgrade:

        % apt-get install adjtimex
        Reading package lists... Done
        Building dependency tree       
        Reading state information... Done
        The following packages will be upgraded:
          adjtimex
        1 upgraded, 0 newly installed, 0 to remove and 265 not upgraded.
        Need to get 0B/57.1kB of archives.
        After this operation, 0B of additional disk space will be used.
        Reading changelogs... Done
        Preconfiguring packages ...
        Can't exec "/tmp/adjtimex.config.78111": Permission denied at 
/usr/share/perl/5.10/IPC/Open3.pm line 168.
        open2: exec of /tmp/adjtimex.config.78111 configure 1.28-1 failed at 
/usr/share/perl5/Debconf/ConfModule.pm line 59
        adjtimex failed to preconfigure, with exit status 255
        (Reading database ... 265644 files and directories currently installed.)
        Preparing to replace adjtimex 1.28-1 (using 
.../adjtimex_1.28-3_i386.deb) ...
        Unpacking replacement adjtimex ...
        Processing triggers for man-db ...
        Setting up adjtimex (1.28-3) ...
        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)
        /etc/default/adjtimex: 8: Syntax error: ")" unexpected
        invoke-rc.d: initscript adjtimex, action "start" failed.
        dpkg: error processing adjtimex (--configure):
         subprocess installed post-installation script returned error exit 
status 2
        Errors were encountered while processing:
         adjtimex

        E: Sub-process /usr/bin/dpkg returned an error code (1)

        % 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).

The 'awk' error is gone, but we see bug:

        #566247 debconf: error on "noexec" mounted /tmp filesystem
        http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=566247

...replace it.

Today I tried a purge, then installed again:

        % wajig purge adjtimex
        (Reading database ... 265638 files and directories currently installed.)
        Removing adjtimex ...
        Purging configuration files for adjtimex ...
        removing debconf db entries
        removed debconf db entries
        Processing triggers for man-db ...

        % cat /etc/default/adjtimex
        cat: /etc/default/adjtimex: No such file or directory

        % 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 265 not upgraded.
        Need to get 0B/57.1kB of archives.
        After this operation, 176kB of additional disk space will be used.
        Preconfiguring packages ...
        Can't exec "/tmp/adjtimex.config.224131": Permission denied at 
/usr/share/perl/5.10/IPC/Open3.pm line 168.
        open2: exec of /tmp/adjtimex.config.224131 configure  failed at 
/usr/share/perl5/Debconf/ConfModule.pm line 59
        adjtimex failed to preconfigure, with exit status 255
        Selecting previously deselected package adjtimex.
        (Reading database ... 265632 files and directories currently installed.)
        Unpacking adjtimex (from .../adjtimex_1.28-3_i386.deb) ...
        Processing triggers for man-db ...
        Setting up adjtimex (1.28-3) ...
        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 22.5616 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=10002
        FREQ=4006192

Same 'debconf' bug #566247 again.

I also tried the above with '/bin/sh' linked to 'dash' and 'bash', but
there were no obvious differences.  

HTH...



-- 
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