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

Re: Bug#245412: preinst script does not stop apache, thus postinst fail



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

Fabio Massimo Di Nitto wrote:

| This is the log of my upgrade from -4 to -5:
|
| Fetched 1457kB in 0s (7059kB/s)
| Preconfiguring packages ...
| (Reading database ... 108795 files and directories currently installed.)
| Preparing to replace apache-utils 1.3.29.0.2-4 (using
.../apache-utils_1.3.29.0.2-5_i386.deb) ...
| Unpacking replacement apache-utils ...
| Preparing to replace apache-common 1.3.29.0.2-4 (using
.../apache-common_1.3.29.0.2-5_i386.deb) ...
| Unpacking replacement apache-common ...
| Preparing to replace apache 1.3.29.0.2-4 (using
.../apache_1.3.29.0.2-5_i386.deb) ...
| Stopping web server: apache.
| Unpacking replacement apache ...
| Setting up apache-utils (1.3.29.0.2-5) ...
| Setting up apache-common (1.3.29.0.2-5) ...
|
| Setting up apache (1.3.29.0.2-5) ...
| Installing new version of config file /etc/init.d/apache ...
| Replacing config file /etc/apache/modules.conf with new version
| Starting web server: apache.
|
| As you can see apache is stopped correctly.
|

I downgraded, then upgraded again : everything goes smoothly.
There must have been something wrong in my setup.

|>I don't understand why apache should only be stopped if version <=
|>1.3.28, so I can't provide a patch... :/
|
|
| You are looking in the wrong place. Please check:
|
|
http://www.debian.org/doc/debian-policy/ch-maintainerscripts.html#s-unpackphase
|
| The first script called is prerm. The reason why the same code is repeated
| in preinst is to workaround a bug in woody packages.

Well, that makes far more sense ;)
Thanks for pointing that out.


I'm closing this bug as even I cannot reproduce it.

Best regards,

- --
Clément 'nodens' Hermann
- - "L'air pur ? c'est pas en RL, ça ? c'est pas hors charte ?"
Jean in L'Histoire des Pingouins, http://tnemeth.free.fr/fmbl/linuxsf/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Debian - http://enigmail.mozdev.org

iD4DBQFAiON30yQ2guvROZ0RAq7UAKCYtYI3U/80qsKwgBqgfhClBqCBYgCXUrbB
OeYcyp5G10Ihln7PEyMRXg==
=84Ey
-----END PGP SIGNATURE-----



Reply to: