[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#377974: exim4-config fails with awk; line 21 syntax error on arm



On Wednesday 12 July 2006 13:02, Martin Michlmayr wrote:
> It was a daily netinst image from July 7 or 8.  syslog is attached.
> The arch is ARM.

It looks like this is not a d-i nor a user-setup problem, but a problem in 
the base system for arm. The awk (or rather mawk) error occurs in three 
different places:

debootstrap: Unpacking mawk (from .../archives/mawk_1.3.3-11_arm.deb) ...
debootstrap: Setting up mawk (1.3.3-11) ...
[...]
apt-install: Using mkinitramfs-kpkg to build the ramdisk.
apt-install: awk: line 2: 
apt-install: syntax error at or near end of file
apt-install: awk: 
apt-install: bozo: cast on bad type
[...]
in-target: Adding system-user for exim (v4)
in-target: chage: the shadow password file is not present
in-target: chage failed with return code 15, shadow not enabled, password 
aging cannot be set. Continuing.
in-target: awk: line 21: 
in-target: syntax error at or near end of file
in-target: dpkg: error processing exim4-config (--configure):
in-target:  subprocess post-installation script returned error exit status 
2

[...]
in-target: Setting up dnsutils (9.3.2-2) ...
in-target: awk: 
in-target: bozo: cast on bad type

I have no idea what could cause (m)awk to fail in this way. Anyway, the 
awk error during installation of exim looks to be at the root of the 
overall failure of the installation [1]:

in-target: Errors were encountered while processing:
	exim4 exim4-config exim4-base exim4-daemon-light
	at mailx mutt
in-target: A package failed to install.  Trying to recover:
in-target: Setting up exim4-config (4.62-2) ...
in-target: dpkg: error processing exim4-config (--configure):
in-target:  subprocess post-installation script returned error exit status 
20

(Note the difference in exit code.)
I also have my doubts about the reliability of the initrd...


The chage error also occurs several times, but seems unrelated to the awk 
errors, but rather to account creation. From the messages this "error" is 
getting ignored. The question remains why the /etc/shadow file is not 
present. To trace that please run the install with 'set -x' in
/usr/bin/user-setup-apply (this can be added for example during 
partitioning and send the relevant part of the syslog file.

Attachment: pgpE8AxadAVIg.pgp
Description: PGP signature


Reply to: