summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/20101008/001048.html
blob: cec10f786d54f0cb4d1f263fa25c89c84f3147bf (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
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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Mageia-dev] Proposal: Updating released versions (long post)
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Proposal%3A%20Updating%20released%20versions%20%28long%20post%29&In-Reply-To=%3Ci8o03u%24p72%241%40dough.gmane.org%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="001045.html">
   <LINK REL="Next"  HREF="001024.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-dev] Proposal: Updating released versions (long post)</H1>
    <B>Marc Par&#233;</B> 
    <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Proposal%3A%20Updating%20released%20versions%20%28long%20post%29&In-Reply-To=%3Ci8o03u%24p72%241%40dough.gmane.org%3E"
       TITLE="[Mageia-dev] Proposal: Updating released versions (long post)">marc at marcpare.com
       </A><BR>
    <I>Fri Oct  8 22:49:01 CEST 2010</I>
    <P><UL>
        <LI>Previous message: <A HREF="001045.html">[Mageia-dev] Proposal: Updating released versions (long post)
</A></li>
        <LI>Next message: <A HREF="001024.html">[Mageia-dev] Proposal: Updating released versions (long post)
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#1048">[ date ]</a>
              <a href="thread.html#1048">[ thread ]</a>
              <a href="subject.html#1048">[ subject ]</a>
              <a href="author.html#1048">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>Le 2010-10-08 16:32, Frank Griffin a &#233;crit :
&gt;<i> Marc Par&#233; wrote:
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> So, in terms of space used for this, if you had to install all 6,
</I>&gt;&gt;<i> would this tax the system so much and risk filling up the hardrive
</I>&gt;&gt;<i> needlessly.
</I>&gt;<i>
</I>&gt;<i> Not really, since the old versions would be removed when the new ones
</I>&gt;<i> were installed.  The behavior I described is not part of the proposal;
</I>&gt;<i> that's what happens today.
</I>&gt;<i>
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> It not, if a rollback were done, could all 6 as well as the new F be
</I>&gt;&gt;<i> removed and the old version restored?
</I>&gt;<i>
</I>&gt;<i> Yes, that's exactly what happens today.The problem is that today,
</I>&gt;<i> removing them may cause tons of other packages to have to be removed
</I>&gt;<i> because they require things that A-F provide.  This wasn't a problem on
</I>&gt;<i> upgrade, because the removal of the old and the addition of the new was
</I>&gt;<i> a single urpmi &quot;transaction&quot; (I put this in quotes because urpmi uses
</I>&gt;<i> &quot;transaction&quot; to mean something other than what I mean here), and urpmi
</I>&gt;<i> &quot;knew&quot; that the new versions supplied all the things that vanished when
</I>&gt;<i> the old versions were removed.  Today, rollbacks have to be done
</I>&gt;<i> manually - remove new, then install old.  Urpmi doesn't know at the time
</I>&gt;<i> of the removal that you're going to turn around and install the old
</I>&gt;<i> versions next.  It only sees that all the things that both the old and
</I>&gt;<i> new versions supply are about to disappear from your system, so it tells
</I>&gt;<i> you that you have to remove any other package which requires those things.
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> If this is possible, would this have an impact on devs preparing
</I>&gt;&gt;<i> Backport versions with rollbacks?
</I>&gt;<i>
</I>&gt;<i> RPM dependencies aren't a problem.  Urpmi/urpme know all about them.
</I>&gt;<i> The only packaging changes would be for situations like that where a new
</I>&gt;<i> version of an application has changed a format of one of its files in
</I>&gt;<i> your home directory and the new version automatically converts the old
</I>&gt;<i> version of the file to the new format.  In that case, the package would
</I>&gt;<i> need install scriptlets that copied the old version somewhere so that it
</I>&gt;<i> could be restored at uninstall time, otherwise the old version of the
</I>&gt;<i> software won't be able to use the new file format.
</I>&gt;<i>
</I>&gt;<i> The biggest chunk of development involved in the proposal is to make
</I>&gt;<i> urpmi do a rollback as a single operation, just as it does an upgrade.
</I>&gt;<i> This already exists, in a way; there is a facility called urpmi.recover
</I>&gt;<i> that does this type of thing.  Bit it's not really considered
</I>&gt;<i> mainstream, and I don't think it's been supported for a while.
</I>&gt;<i>
</I>&gt;<i>
</I>
Thanks. So this thread is to see if there were a possibility to 
programme a more efficient roll-back option so that it would be more 
&quot;aware&quot; of the previous &quot;dependencies&quot; needs for the previous version. 
Having &quot;double dependencies&quot; is not so much of a problem, it is the 
rollback to a previous version where the dependency confusion may occur, 
and, ONLY, if an upgraded type of &quot;dependency&quot; thread had been 
installed. (Sorry I may have used the wrong terms in the last sentence).

Marc

</PRE>

<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="001045.html">[Mageia-dev] Proposal: Updating released versions (long post)
</A></li>
	<LI>Next message: <A HREF="001024.html">[Mageia-dev] Proposal: Updating released versions (long post)
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#1048">[ date ]</a>
              <a href="thread.html#1048">[ thread ]</a>
              <a href="subject.html#1048">[ subject ]</a>
              <a href="author.html#1048">[ 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>