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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mageia-dev] RFC: Add versioned require in rpm on rpm-helper
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20RFC%3A%20Add%20versioned%20require%20in%20rpm%20on%20rpm-helper&In-Reply-To=%3C4F8BE699.4060703%40mageia.org%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="014326.html">
<LINK REL="Next" HREF="014329.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-dev] RFC: Add versioned require in rpm on rpm-helper</H1>
<B>Thomas Backlund</B>
<A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20RFC%3A%20Add%20versioned%20require%20in%20rpm%20on%20rpm-helper&In-Reply-To=%3C4F8BE699.4060703%40mageia.org%3E"
TITLE="[Mageia-dev] RFC: Add versioned require in rpm on rpm-helper">tmb at mageia.org
</A><BR>
<I>Mon Apr 16 11:30:01 CEST 2012</I>
<P><UL>
<LI>Previous message: <A HREF="014326.html">[Mageia-dev] RFC: Add versioned require in rpm on rpm-helper
</A></li>
<LI>Next message: <A HREF="014329.html">[Mageia-dev] RFC: Add versioned require in rpm on rpm-helper
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#14327">[ date ]</a>
<a href="thread.html#14327">[ thread ]</a>
<a href="subject.html#14327">[ subject ]</a>
<a href="author.html#14327">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>Thierry Vignaud skrev 16.4.2012 12:20:
><i> On 16 April 2012 11:18, Thomas Backlund<<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">tmb at mageia.org</A>> wrote:
</I>>>>>><i> As per an earlier mail on this list regarding apache during upgrade from
</I>>>>>><i> mga1 to mga2, it seems that rpm-helper may not get installed earlier
</I>>>>>><i> enough to do systemd transitions for services.
</I>>>>>><i>
</I>>>>>><i> Does anyone have any objection to adding a versioned require on
</I>>>>>><i> rpm-helper in the rpm spec such that we know it'll be installed early
</I>>>>>><i> when doing a distro upgrade? Any problems with this approach?
</I>>>>><i>
</I>>>>><i> So assuming no one has any objections to this, I'll add it to rpm today.
</I>>>><i>
</I>>>><i> That will work for urpmi that will upgrade rpm first before restarting
</I>>>><i> but not for installer that doesn't need restarting itself (since we do
</I>>>><i> not use the system's urpmi).
</I>>><i>
</I>>><i> But AFAIK installer obeys rpm requires,
</I>><i>
</I>><i> yes
</I>><i>
</I>>><i> so when it installs rpm, it will put rpm-helper in same transaction, wont it ?
</I>><i>
</I>><i> NO.
</I>><i> Read again what I wrote: installer doesn't do any priority upgrade since
</I>><i> it doesn't need upgrading itself and doesn't use the installed system rpm/urpmi
</I>><i>
</I>
Ah, you only mentioned system urpmi (not rpm) first time.
but wont installer already use correct rpm/rpm-helper, since it's built
from current cauldron packages?
(and can be rebuilt again after updated rpm-helper)
>><i> and since rpm is a priority package, it will be done in the beginning, wont
</I>>><i> it ?
</I>><i>
</I>><i> NO.
</I>><i>
</I>
but since it's already correct version in stage2, we should already be
ok, or... ?
>>><i> A somewhat nicer fix would be to auto generate some
</I>>>><i> 'needs-systemd-aware-rpm-helper'
</I>>>><i> requires for packages providing systemd units, having rpm-helper
</I>>>><i> fulfil this provides
</I>>><i>
</I>>><i>
</I>>><i> Then we wouldn't need this.
</I>><i>
</I>><i> Yes we do
</I>
So instead of fixing one package we will have to fix many packages :/
--
Thomas
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="014326.html">[Mageia-dev] RFC: Add versioned require in rpm on rpm-helper
</A></li>
<LI>Next message: <A HREF="014329.html">[Mageia-dev] RFC: Add versioned require in rpm on rpm-helper
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#14327">[ date ]</a>
<a href="thread.html#14327">[ thread ]</a>
<a href="subject.html#14327">[ subject ]</a>
<a href="author.html#14327">[ 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>
|