Bug#284949: [Pkg-nagios-devel] upgrade problem: /etc/apache-ssl/httpd.conf
Brian C DeRocher
Brian C DeRocher <brian.derocher@mitretek.org>, 284949@bugs.debian.org
Thu, 9 Dec 2004 14:30:05 -0500
--nextPart4289236.s9qcYBm7yR
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
On Thursday 2004 December 09 14:04, sean finney wrote:
> the debconf question is in nagios-common. take a look at the output
> of:
>=20
> debconf-show nagios-common
>=20
> i'll bet you see something like:
>=20
> * nagios/configapache: Apache-SSL
>=20
> or=20
>=20
> * nagios/configapache: Both
Indeed
root@mahogany:/etc/nagios 8) debconf-show nagios-common
* nagios/adminpassword: (password omitted)
* nagios/wwwsuid: false
nagios/upgradefromnetsaint:
* nagios/configapache: Both
> assuming nagios-common is stll in a state that its debconf questions
> are present, anyway. you could try changing that:
>=20
> echo set nagios/configapache none | debconf-communicate
echo set nagios/configapache Apache | debconf-communicate
After this apt-get -f install works.
> you could also try touching the file that it's complaining about (you
> might also need to write a /bin/sh script that returns 0 in
> /etc/init.d/apache-ssl), to see if that helps.
Didn't try. It's better to put out the fire at it's source.
> i know exactly where in the postinst that is. before you try anything
> else, can you try commenting out line 87 in
>=20
> /var/lib/dpkg/info/nagios-common.postinst
>=20
> which should look something like=20
>=20
> webserver=3D"$RET"
>=20
> if that is not set, i believe the scripts will not do any
> configuration of apache for you--you'll then need to take
> care of this yourself, as well as reconfiguring the debconf
> answer after the package is installed.
I'd rather not do this, because i want the script to take care
of any Apache configuration needed. I didn't travel down that
rabbit hole, so i have no idea what's needed to be done.
> hope this helps,
Yup.
=2D-=20
Brian C. DeRocher @ Mitretek Systems
This email was signed using OpenPGP.
--nextPart4289236.s9qcYBm7yR
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iQCVAwUAQbinwG5Q6fdPj+zIAQLXJQQApq1+qCFiEp+Vf1MUovzFCN1+GXqN7eAN
mmQYVfFDfsX0D4bThACo8vFAli2ktnbX/ugtjS8ALVcja9sw7k2681EJksjBgRHF
mbnNmOfHil/90U9vpXHHwMNmaCFJWApaTBmyaQuqc9jyiMI8d9xwOCFjGSU9R7Qi
3vmJJo3IzM4=
=dvya
-----END PGP SIGNATURE-----
--nextPart4289236.s9qcYBm7yR--