I haven't had a chance to catch up with this til today.  This note is
just about the original problem.  I think a little more tweaking is in
order.

The good news is that changing the AWK variable in setup.cache fixed
the problem, even without upgrading.

The bad news is that the upgrade postinst script for 1:4.2.1-2 does
not look as if it would have fixed the problem in my case.  For
reasons unknown, AWK was set to /usr/bin/mawk for me.  This despite
the fact that gawk is already on my system, and is the default awk
according to alias.  Of course, it's possible that was not the case
when the original setup was run, but I don't think I ever would have
deliberately installed mawk.

So I think the postinst could use a little tweaking.  Perhaps
        sed -i -e "[EMAIL PROTECTED]'/bin/m\?awk'@AWK='/usr/bin/gawk'@" 
$setupcache
        sed -i -e "[EMAIL PROTECTED]'/usr/bin/m\?awk'@AWK='/usr/bin/gawk'@" 
$setupcache
if my understanding of sed regexp syntax and the universe of available
gawk's is correct.  Actually, probably any /bin/awk is an error, so
perhaps the first one should be
        sed -i -e "[EMAIL PROTECTED]'/bin/[gm]\?awk'@AWK='/usr/bin/gawk'@" 
$setupcache

I notice the changelog entries don't have the associated bug numbers
with them.  If there's a way to add them, that would be nice.
I assume
  * Corrected a check that used configure_note in the wrong case
was for my other bug, 292804, and maybe these next two
  * Urgency medium since it fixes a problem in upgrading from 4.2.0
  * Added gawk as dependency since it is the only awk that correctly
    understand bin/notify script.
are for this bug and the one it was merged with?

I have some comments/questions about some of the secondary matters
that came up, but I'll save those for a separate note.


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

Reply via email to