summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/20101009/001053.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-dev/20101009/001053.html')
-rw-r--r--zarb-ml/mageia-dev/20101009/001053.html210
1 files changed, 210 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/20101009/001053.html b/zarb-ml/mageia-dev/20101009/001053.html
new file mode 100644
index 000000000..0e6bc6f46
--- /dev/null
+++ b/zarb-ml/mageia-dev/20101009/001053.html
@@ -0,0 +1,210 @@
+<!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=%3C20101009080508.39422de1%40otfordduckscomputers.co.uk%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="001052.html">
+ <LINK REL="Next" HREF="001054.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-dev] Proposal: Updating released versions (long post)</H1>
+ <B>Margot</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=%3C20101009080508.39422de1%40otfordduckscomputers.co.uk%3E"
+ TITLE="[Mageia-dev] Proposal: Updating released versions (long post)">margot at otfordduckscomputers.co.uk
+ </A><BR>
+ <I>Sat Oct 9 09:05:08 CEST 2010</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="001052.html">[Mageia-dev] Proposal: Updating released versions (long post)
+</A></li>
+ <LI>Next message: <A HREF="001054.html">[Mageia-dev] Proposal: Updating released versions (long post)
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#1053">[ date ]</a>
+ <a href="thread.html#1053">[ thread ]</a>
+ <a href="subject.html#1053">[ subject ]</a>
+ <a href="author.html#1053">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>On Sat, 09 Oct 2010 02:15:18 -0400
+andr&#233; &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">andr55 at laposte.net</A>&gt; wrote:
+
+&gt;<i> Marc Par&#233; a &#233;crit :
+</I>&gt;<i> &gt;
+</I>&gt;<i> &gt; Le 2010-10-08 23:45, andr&#233; a &#233;crit :
+</I>&gt;<i> &gt;&gt; Frank Griffin a &#233;crit :
+</I>&gt;<i> &gt;&gt;&gt; Marc Par&#233; wrote:
+</I>&gt;<i> &gt;&gt;&gt;&gt; Thanks. So this thread is to see if there were a possibility
+</I>&gt;<i> &gt;&gt;&gt;&gt; to programme a more efficient roll-back option so that it
+</I>&gt;<i> &gt;&gt;&gt;&gt; would be more &quot;aware&quot; of the previous &quot;dependencies&quot; needs
+</I>&gt;<i> &gt;&gt;&gt;&gt; for the previous version. Having &quot;double dependencies&quot; is
+</I>&gt;<i> &gt;&gt;&gt;&gt; not so much of a problem, it is the rollback to a previous
+</I>&gt;<i> &gt;&gt;&gt;&gt; version where the dependency confusion may occur, and, ONLY,
+</I>&gt;<i> &gt;&gt;&gt;&gt; if an upgraded type of &quot;dependency&quot; thread had been
+</I>&gt;<i> &gt;&gt;&gt;&gt; installed. (Sorry I may have used the wrong terms in the
+</I>&gt;<i> &gt;&gt;&gt;&gt; last sentence).
+</I>&gt;<i> &gt;&gt;&gt; Well, sort of. It's not an issue of efficiency, but of
+</I>&gt;<i> &gt;&gt;&gt; convenience and just making it possible to do without
+</I>&gt;<i> &gt;&gt;&gt; resorting to manual use of the rpm
+</I>&gt;<i> &gt;&gt;&gt; command.
+</I>&gt;<i> &gt;&gt;&gt;
+</I>&gt;<i> &gt;&gt;&gt; The rpm command &quot;knows&quot; that a new version replacing the old
+</I>&gt;<i> &gt;&gt;&gt; version supplies the same things that the old one did, so it
+</I>&gt;<i> &gt;&gt;&gt; will quietly allow the upgrade. It will also do what we need,
+</I>&gt;<i> &gt;&gt;&gt; i.e. go the other way and replace a newer version with an
+</I>&gt;<i> &gt;&gt;&gt; older one if you use the --oldpackage keyword. We just need
+</I>&gt;<i> &gt;&gt;&gt; urpmi to support its use
+</I>&gt;<i> &gt;&gt;
+</I>&gt;<i> &gt;&gt; One thing that could facilitate this process, if the computer
+</I>&gt;<i> &gt;&gt; has a lot of free disk space, is to rename the files being
+</I>&gt;<i> &gt;&gt; removed (copying the configuration files), instead of erasing
+</I>&gt;<i> &gt;&gt; them. Although they will probably have to be erased
+</I>&gt;<i> &gt;&gt; eventually, since no computer has unlimited disk space.
+</I>&gt;<i> &gt;&gt; Keeping them long enough that a roll-back is no longer
+</I>&gt;<i> &gt;&gt; probable could be workable. Then a roll-back could be done
+</I>&gt;<i> &gt;&gt; very quickly, since the files are already on disk, and
+</I>&gt;<i> &gt;&gt; presumably reliably. Of course, if new data has been entered,
+</I>&gt;<i> &gt;&gt; and the format has been changed, this could be problematic.
+</I>&gt;<i> &gt;&gt; Note that configuration files that have been changed from the
+</I>&gt;<i> &gt;&gt; installation default are often already saved. (Generally
+</I>&gt;<i> &gt;&gt; &quot;.old&quot; is appended to the configuration file name, sometimes
+</I>&gt;<i> &gt;&gt; &quot;.new&quot; to the new configuration file.) This of course adds the
+</I>&gt;<i> &gt;&gt; maintenance task of removing the old files at some point - it
+</I>&gt;<i> &gt;&gt; could be done automatically according to some criteria, or the
+</I>&gt;<i> &gt;&gt; user could have to do it manually, perhaps after being
+</I>&gt;<i> &gt;&gt; prompted about it.
+</I>&gt;<i> &gt;&gt;
+</I>&gt;<i> &gt;&gt; (This rollback capability occurs with Microsoft products. The
+</I>&gt;<i> &gt;&gt; saved files are only removed manually, on user initiative,
+</I>&gt;<i> &gt;&gt; which partly explains the bloated size of a Microsoft
+</I>&gt;<i> &gt;&gt; installation over time.)
+</I>&gt;<i> &gt;&gt;
+</I>&gt;<i> &gt;&gt; If renaming-instead-of-deleting is implemented, perhaps a &quot;do
+</I>&gt;<i> &gt;&gt; not keep old program files (useful if limited disk space)&quot;
+</I>&gt;<i> &gt;&gt; checkbox option would be useful for computers with less free
+</I>&gt;<i> &gt;&gt; disk space. Of course how much disk space is usable to save
+</I>&gt;<i> &gt;&gt; old programs on a computer depends on the disk space usage for
+</I>&gt;<i> &gt;&gt; other purposes over time.
+</I>&gt;<i> &gt;&gt;
+</I>&gt;<i> &gt;&gt; my 2 cents :)
+</I>&gt;<i> &gt;&gt;
+</I>&gt;<i> &gt;&gt; - Andr&#233; (andre999)
+</I>&gt;<i> &gt;
+</I>&gt;<i> &gt; Not sure about this process. Instead of making it easier for a
+</I>&gt;<i> &gt; user, this would now make it more difficult to do and add
+</I>&gt;<i> &gt; another layer of knowledge for the new user. It would have to
+</I>&gt;<i> &gt; be a little more seamless than this.
+</I>&gt;<i> &gt;
+</I>&gt;<i> &gt; If there were a way at setup to establish the amount of
+</I>&gt;<i> &gt; remaining disk space at installation time, and if there were
+</I>&gt;<i> &gt; enough space to allow rollbacks without compromising the
+</I>&gt;<i> &gt; installation, then I guess the rollback could then be
+</I>&gt;<i> &gt; activated. The user could then be advised at this point that
+</I>&gt;<i> &gt; this was activated. If there was not enought disk space, a
+</I>&gt;<i> &gt; message could warn the user that software rollbacks would not
+</I>&gt;<i> &gt; be possible for lack lack of diskspace.
+</I>&gt;<i> The problem is not establishing the current free disk space, but
+</I>&gt;<i> how much to leave for use as temporary disk space for other
+</I>&gt;<i> applications. For example, if an enduser likes editing numerous
+</I>&gt;<i> large video files at the same time (maybe he makes movies), he
+</I>&gt;<i> could need a very large amount of temporary free disk space.
+</I>&gt;<i> Another user, with the same programs installed, might do
+</I>&gt;<i> primarily word processing and Internet, and only occasionally
+</I>&gt;<i> edit small videos, thus only needing a relatively small amount of
+</I>&gt;<i> temporary disk space. Of course, there could be an automatic
+</I>&gt;<i> default, adjustable via a configuration file.
+</I>&gt;<i> &gt;
+</I>&gt;<i> &gt; I guess then, in the MCC, if a user used the Backports and
+</I>&gt;<i> &gt; installed backported software, the rollback amount of diskspace
+</I>&gt;<i> &gt; could also be monitored at this level with perhaps an option to
+</I>&gt;<i> &gt; delete old programs that are now working well in their updated
+</I>&gt;<i> &gt; form.
+</I>&gt;<i> This sort of makes sense -- but it is not only the newly
+</I>&gt;<i> installed program which is of concern, but also other programs
+</I>&gt;<i> which may have the same dependancies (not counting the versions).
+</I>&gt;<i> It could take a considerable time before these other programs are
+</I>&gt;<i> executed, so it becomes a bit tricky.
+</I>&gt;<i> Probably why Microsoft decided to keep such programs by default.
+</I>&gt;<i>
+</I>&gt;<i> Essentially that is why I would prefer backports to use versions
+</I>&gt;<i> of dependancies which correspond to the distro release. A bit
+</I>&gt;<i> more work for packagers, but a much more stable system.
+</I>&gt;<i> Then the rollback system would only affect the backported program
+</I>&gt;<i> and any programs directly dependant on that version. The problem
+</I>&gt;<i> becomes much simpler.
+</I>&gt;<i> Once the backported and dependant programs (which would be known
+</I>&gt;<i> in the database) have all been run without crashing, the user
+</I>&gt;<i> could be asked if the programs all worked satifactorily and it
+</I>&gt;<i> was ok to delete the backup.
+</I>&gt;<i>
+</I>&gt;<i> &gt; I guess this would take a bit of coding. But at least the use
+</I>&gt;<i> &gt; of Backports would make a little more sense with a rollback
+</I>&gt;<i> &gt; option in case an updated software installation did not work
+</I>&gt;<i> &gt; out.
+</I>&gt;<i> I definitely like the idea of a rollback option.
+</I>&gt;<i> However, another option which I would like to see is simply
+</I>&gt;<i> leaving the old program in place where possible without conflicts
+</I>&gt;<i> - and prompting for its deletion after the backport and
+</I>&gt;<i> dependancies have been run (with the same sort of information
+</I>&gt;<i> displayed) -- when rpmdrake/urpmi is subsequently accessed.
+</I>&gt;<i> In the case of problems with the backport, one would simply run
+</I>&gt;<i> the old program, which is still in place.
+</I>&gt;<i> Of course, there will often be conficts such that the old program
+</I>&gt;<i> can not be left in place, making rollbacks still useful.
+</I>&gt;<i> &gt;
+</I>&gt;<i> &gt; Marc
+</I>&gt;<i> - Andr&#233; (andre999)
+</I>
+There are already various options which can be run with urpmi, such
+as --noclean and --repackage (see man urpmi) and perhaps these
+could be incorporated into the GUI - with full simple explanations
+for the user on exactly what will happen if those options are
+chosen.
+
+For example:
+&quot;Select this option if you want to save the old version of the
+package that is being updated. If there is a problem with the new
+version, you will be able to uninstall it and go back to the older
+version. Warning: this option will use extra space on your disk.&quot;
+
+There could then be a list available showing all the saved older
+versions of packages - if, for instance, a user had saved 10 older
+versions of Firefox and knew that the most recent one worked
+perfectly, they could then safely delete the 9 older versions to
+reclaim some disk space.
+
+--
+Margot
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+**Otford Ducks Computers**
+We teach, you learn...
+...and, if you don't do your homework, we set the cat on you!
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+</PRE>
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="001052.html">[Mageia-dev] Proposal: Updating released versions (long post)
+</A></li>
+ <LI>Next message: <A HREF="001054.html">[Mageia-dev] Proposal: Updating released versions (long post)
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#1053">[ date ]</a>
+ <a href="thread.html#1053">[ thread ]</a>
+ <a href="subject.html#1053">[ subject ]</a>
+ <a href="author.html#1053">[ 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>