-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Erast Benson wrote:
> OK. To unstuck you, comment out this line and run 'dpkg --configure
> apache'. 
> 
> It would be interesting to know why debconf-modules script producing
> error...
> 
> On Thu, 2008-05-15 at 16:43 +0100, Daniel Llewellyn wrote:
>> following this procedure, I narrowed the bug down to this line in
>> /usr/sbin/apache-modconf
>> 
>> db_input low apache-shared/debconf-modules || true

following up from this, I set up a new zone to test the apache
installation without apache2 being present. The install still fails on
the postinst phase, but with a different causative file/line and error
which I managed to replicate on the previous zone. I had done so much
editing of files that I thought, on the first zone, something I had done
to one of the files had allowed the install to progress further, but a
virgin install in the second zone also stopped at the same point, so I'm
assuming that I was flogging a dead horse with the first error.

so, now the new _replicable_ error:
> # dpkg --configure apache
> Setting up apache (1.3.34-2) ...
> dpkg: error processing apache (--configure):
>  subprocess post-installation script returned error exit status 10
> Errors were encountered while processing:
>  apache


using the previously suggested method of debugging the scripts I have
narrowed it down to /usr/share/apache/postinst.common, or rather the
referenced file /usr/share/debconf/confmodule in the _do_cmd () function
 of the latter file.
the call that fails is in postinst.common where it tries to:
> db_set $pkg/server-name localhost
where $pkg = "apache".
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkgskjAACgkQVR0QzBAS6zaZFACfbEQzMega8NOejaQyjOrq0xhD
oY0An0nWc4nsA5yDQ8A0LUti5+QVGzvP
=vyIo
-----END PGP SIGNATURE-----
_______________________________________________
gnusol-devel mailing list
[email protected]
http://lists.sonic.net/mailman/listinfo/gnusol-devel

Reply via email to