diff options
Diffstat (limited to 'zarb-ml/mageia-dev/2012-July/017438.html')
-rw-r--r-- | zarb-ml/mageia-dev/2012-July/017438.html | 106 |
1 files changed, 106 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2012-July/017438.html b/zarb-ml/mageia-dev/2012-July/017438.html new file mode 100644 index 000000000..5bf81bfec --- /dev/null +++ b/zarb-ml/mageia-dev/2012-July/017438.html @@ -0,0 +1,106 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-dev] Can't update to new apache package + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Can%27t%20update%20to%20new%20apache%20package&In-Reply-To=%3C50067AB6.9080408%40gmail.com%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="017437.html"> + <LINK REL="Next" HREF="017439.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-dev] Can't update to new apache package</H1> + <B>Guillaume Rousse</B> + <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Can%27t%20update%20to%20new%20apache%20package&In-Reply-To=%3C50067AB6.9080408%40gmail.com%3E" + TITLE="[Mageia-dev] Can't update to new apache package">guillomovitch at gmail.com + </A><BR> + <I>Wed Jul 18 10:58:30 CEST 2012</I> + <P><UL> + <LI>Previous message: <A HREF="017437.html">[Mageia-dev] Can't update to new apache package +</A></li> + <LI>Next message: <A HREF="017439.html">[Mageia-dev] Can't update to new apache package +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#17438">[ date ]</a> + <a href="thread.html#17438">[ thread ]</a> + <a href="subject.html#17438">[ subject ]</a> + <a href="author.html#17438">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Le 18/07/2012 10:34, Oliver Burger a écrit : +><i> Am 18.07.2012 10:17, schrieb Guillaume Rousse: +</I>>><i> Le 18/07/2012 10:02, Oliver Burger a écrit : +</I>>>><i> An update, I installed this cauldron machine just before the new apache +</I>>>><i> package arrived. +</I>>><i> No idea then, I can't reproduce. +</I>>><i> +</I>><i> I just saw that /etc/httpd did only contain one empty directory modules.d, +</I>><i> although the old mpm-prefork apache package was installed. I now +</I>><i> uninstalled apache and did an urpme --auto-orphans after that. +</I>><i> The empty directory /etc/httpd/modules.d remains. +</I>urpme --auto-orphans just call 'rpm -e', it does not change filesystem +content directly. It means than any directory not known in rpm database +will still be present on the disk after uninstallation. + +><i> And I still get the same error messages trying to install apache. I then +</I>><i> removed the /etc/httpd directory completely but I still get the same +</I>><i> error messages. +</I>Installing from scratch will trigger the failure, I forgot to make the +script specific to upgrade scenario only. However, it's unclear why it +fails when upgrading from a previous installation (for you), where +/etc/httpd/conf directory exist, but not /etc/httpd/conf/sites.d: + +# prevent symlink creation failure on update +if [ ! -d /etc/httpd/conf/sites.d ]; then + mkdir /etc/httpd/conf/sites.d + mv -f /etc/httpd/conf/webapps.d/* /etc/httpd/conf/sites.d 2>/dev/null + mv -f /etc/httpd/conf/vhosts.d/* /etc/httpd/conf/sites.d 2>/dev/null + rmdir /etc/httpd/conf/webapps.d + rmdir /etc/httpd/conf/vhosts.d +fi + +I guess it has something to do with exact package ordering during +uninstallation transaction. In the past we had %pretrans trigger, I'm +not sure it is still available. + + + +-- +BOFH excuse #278: + +The Dilithium Crystals need to be rotated. +</PRE> + + + + + + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="017437.html">[Mageia-dev] Can't update to new apache package +</A></li> + <LI>Next message: <A HREF="017439.html">[Mageia-dev] Can't update to new apache package +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#17438">[ date ]</a> + <a href="thread.html#17438">[ thread ]</a> + <a href="subject.html#17438">[ subject ]</a> + <a href="author.html#17438">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev +mailing list</a><br> +</body></html> |