blob: c7b5f8e5c55727ee5a0f72adfe91efadbacd5f3c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
|
<!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=%3C50067CD2.4000104%40googlemail.com%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="017438.html">
<LINK REL="Next" HREF="017440.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-dev] Can't update to new apache package</H1>
<B>Oliver Burger</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=%3C50067CD2.4000104%40googlemail.com%3E"
TITLE="[Mageia-dev] Can't update to new apache package">oliver.bgr at googlemail.com
</A><BR>
<I>Wed Jul 18 11:07:30 CEST 2012</I>
<P><UL>
<LI>Previous message: <A HREF="017438.html">[Mageia-dev] Can't update to new apache package
</A></li>
<LI>Next message: <A HREF="017440.html">[Mageia-dev] Can't update to new apache package
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#17439">[ date ]</a>
<a href="thread.html#17439">[ thread ]</a>
<a href="subject.html#17439">[ subject ]</a>
<a href="author.html#17439">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>Am 18.07.2012 10:58, schrieb Guillaume Rousse:
><i> Installing from scratch will trigger the failure, I forgot to make the
</I>><i> script specific to upgrade scenario only. However, it's unclear why it
</I>><i> fails when upgrading from a previous installation (for you), where
</I>><i> /etc/httpd/conf directory exist, but not /etc/httpd/conf/sites.d:
</I>><i>
</I>><i> # prevent symlink creation failure on update
</I>><i> if [ ! -d /etc/httpd/conf/sites.d ]; then
</I>><i> mkdir /etc/httpd/conf/sites.d
</I>><i> mv -f /etc/httpd/conf/webapps.d/* /etc/httpd/conf/sites.d 2>/dev/null
</I>><i> mv -f /etc/httpd/conf/vhosts.d/* /etc/httpd/conf/sites.d 2>/dev/null
</I>><i> rmdir /etc/httpd/conf/webapps.d
</I>><i> rmdir /etc/httpd/conf/vhosts.d
</I>><i> fi
</I>><i>
</I>><i> I guess it has something to do with exact package ordering during
</I>><i> uninstallation transaction. In the past we had %pretrans trigger, I'm
</I>><i> not sure it is still available.
</I>><i>
</I>Another short question while we are on it.
This does mean we have to change the web application packages (like
drupal, mediawiki,...) who have files in /etc/httpd/conf/webapps.d/,
doesn't it?
Oliver
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="017438.html">[Mageia-dev] Can't update to new apache package
</A></li>
<LI>Next message: <A HREF="017440.html">[Mageia-dev] Can't update to new apache package
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#17439">[ date ]</a>
<a href="thread.html#17439">[ thread ]</a>
<a href="subject.html#17439">[ subject ]</a>
<a href="author.html#17439">[ 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>
|