summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2012-July/017586.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-dev/2012-July/017586.html')
-rw-r--r--zarb-ml/mageia-dev/2012-July/017586.html184
1 files changed, 184 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2012-July/017586.html b/zarb-ml/mageia-dev/2012-July/017586.html
new file mode 100644
index 000000000..830f1d038
--- /dev/null
+++ b/zarb-ml/mageia-dev/2012-July/017586.html
@@ -0,0 +1,184 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [Mageia-dev] ANNOUNCE: The /usr move cometh! &lt;---- Instructions
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20ANNOUNCE%3A%20The%20/usr%20move%20cometh%21%20%3C----%20Instructions&In-Reply-To=%3C500D07AE.2000601%40colin.guthr.ie%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="017585.html">
+ <LINK REL="Next" HREF="017587.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-dev] ANNOUNCE: The /usr move cometh! &lt;---- Instructions</H1>
+ <B>Colin Guthrie</B>
+ <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20ANNOUNCE%3A%20The%20/usr%20move%20cometh%21%20%3C----%20Instructions&In-Reply-To=%3C500D07AE.2000601%40colin.guthr.ie%3E"
+ TITLE="[Mageia-dev] ANNOUNCE: The /usr move cometh! &lt;---- Instructions">mageia at colin.guthr.ie
+ </A><BR>
+ <I>Mon Jul 23 10:13:34 CEST 2012</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="017585.html">[Mageia-dev] ANNOUNCE: The /usr move cometh! &lt;---- Instructions
+</A></li>
+ <LI>Next message: <A HREF="017587.html">[Mageia-dev] ANNOUNCE: The /usr move cometh! &lt;---- Instructions
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#17586">[ date ]</a>
+ <a href="thread.html#17586">[ thread ]</a>
+ <a href="subject.html#17586">[ subject ]</a>
+ <a href="author.html#17586">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>'Twas brillig, and Olivier Thauvin at 23/07/12 07:37 did gyre and gimble:
+&gt;<i> * Colin Guthrie (<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">mageia at colin.guthr.ie</A>) wrote:
+</I>&gt;&gt;<i> 'Twas brillig, and Shlomi Fish at 22/07/12 17:51 did gyre and gimble:
+</I>&gt;&gt;&gt;<i> Hi all,
+</I>&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;<i> On Sun, 22 Jul 2012 19:46:58 +0300
+</I>&gt;&gt;&gt;<i> Shlomi Fish &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">shlomif at shlomifish.org</A>&gt; wrote:
+</I>&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;&gt;<i> Hi Colin,
+</I>&gt;&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;&gt;<i> [QUOTE]
+</I>&gt;&gt;&gt;&gt;<i> installing findutils-4.5.10-2.mga3.x86_64.rpm lib64plymouth2-0.8.6.1-2.mga3.x86_64.rpm filesystem-2.1.9-18.mga3.x86_64.rpm lib64ncursesw-devel-5.9-7.mga3.x86_64.rpm plymouth-plugin-script-0.8.6.1-2.mga3.x86_64.rpm lib64ncurses5-5.9-7.mga3.x86_64.rpm ncurses-5.9-7.mga3.x86_64.rpm plymouth-plugin-label-0.8.6.1-2.mga3.x86_64.rpm lib64dbjava5.1-5.1.29-4.mga3.x86_64.rpm lib64ncursesw5-5.9-7.mga3.x86_64.rpm lib64ncurses-devel-5.9-7.mga3.x86_64.rpm from /var/cache/urpmi/rpms
+</I>&gt;&gt;&gt;&gt;<i> Preparing... #############################################
+</I>&gt;&gt;&gt;&gt;<i> 1/69: filesystem #############################################
+</I>&gt;&gt;&gt;&gt;<i> error: unpacking of archive failed on file /var/lock: cpio: rename failed - Is a directory
+</I>&gt;&gt;&gt;&gt;<i> error: filesystem-2.1.9-18.mga3.x86_64: install failed
+</I>&gt;&gt;&gt;&gt;<i> 2/69: ncurses #############################################
+</I>&gt;&gt;&gt;&gt;<i> 3/69: lib64ncurses5 #############################################
+</I>&gt;&gt;&gt;&gt;<i> 4/69: lib64plymouth2 #############################################
+</I>&gt;&gt;&gt;&gt;<i> 5/69: plymouth-plugin-label #############################################
+</I>&gt;&gt;&gt;&gt;<i> 6/69: lib64ncursesw5 #############################################
+</I>&gt;&gt;&gt;&gt;<i> 7/69: lib64ncursesw-devel #############################################
+</I>&gt;&gt;&gt;&gt;<i> 8/69: plymouth-plugin-script
+</I>&gt;&gt;&gt;&gt;<i> #############################################
+</I>&gt;&gt;&gt;&gt;<i> 9/69: lib64ncurses-devel #############################################
+</I>&gt;&gt;&gt;&gt;<i> 10/69: findutils #############################################
+</I>&gt;&gt;&gt;&gt;<i> 11/69: lib64dbjava5.1 #############################################
+</I>&gt;&gt;&gt;&gt;<i> [/QUOTE]
+</I>&gt;&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;&gt;<i> And the rest of the packages refuse to install.
+</I>&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;<i> OK, I figured out. After I ran as root:
+</I>&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;<i> # cd /var
+</I>&gt;&gt;&gt;<i> # mv lock lock.ol
+</I>&gt;&gt;&gt;<i> # mv run run.old
+</I>&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;<i> It was fixed and I was able to install the &quot;filesystem&quot; package and the rest
+</I>&gt;&gt;&gt;<i> of the packages. However, something like that should not happen.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> Well, this should have been done for you. Did you already have
+</I>&gt;&gt;<i> run.runmove~ and lock.lockmove~ folders in /var?
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> If so then I suspect something is killing the symlinks.
+</I>&gt;<i>
+</I>&gt;<i> Is it normal that in the same time filesystem package provide
+</I>&gt;<i> /usr/{lib,bin} etc as directory whereas the pre script transform it as
+</I>&gt;<i> symlink (according
+</I>&gt;<i> <A HREF="http://sophie.zarb.org/rpms/696f0450c6b9baa8dcf088602f19c810/files">http://sophie.zarb.org/rpms/696f0450c6b9baa8dcf088602f19c810/files</A>).
+</I>&gt;<i>
+</I>&gt;<i> For me they must be symlinks in the filesystem rpm.
+</I>
+Erm, /usr/{lib,bin} etc. are directories in the package and in the
+filesystem you link above so I'm not sure what you mean about &quot;transform
+[them to] symlinks&quot; in the statement above. There is no pre script that
+does anything to these folders.
+
+However, the /{lib,bin} etc folders *are* symlinks in the package. There
+is a pre-transaction lua script that creates the /usr/blah folders and
+the corresponding symlinks early because we cannot guarentee that
+filesystem will be the first package actually physically installed in
+the transaction and thus /bin or /lib etc. may be implicitly created as
+directories by other package installation in the same transaction. So
+the lua script just pre-empts what the package will do but it ensures it
+happens at the start of the transaction.
+
+I'm not sure if that answers your question or not because the comments
+in the spec file are quite clear about the purpose so they should have
+cleared up any confusion you may have had.
+
+So if I've not grasped what you are asking properly, please clarify and
+I'll try again :)
+
+Col
+
+
+
+--
+
+Colin Guthrie
+colin(at)mageia.org
+<A HREF="http://colin.guthr.ie/">http://colin.guthr.ie/</A>
+
+Day Job:
+ Tribalogic Limited <A HREF="http://www.tribalogic.net/">http://www.tribalogic.net/</A>
+Open Source:
+ Mageia Contributor <A HREF="http://www.mageia.org/">http://www.mageia.org/</A>
+ PulseAudio Hacker <A HREF="http://www.pulseaudio.org/">http://www.pulseaudio.org/</A>
+ Trac Hacker <A HREF="http://trac.edgewall.org/">http://trac.edgewall.org/</A>
+</PRE>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="017585.html">[Mageia-dev] ANNOUNCE: The /usr move cometh! &lt;---- Instructions
+</A></li>
+ <LI>Next message: <A HREF="017587.html">[Mageia-dev] ANNOUNCE: The /usr move cometh! &lt;---- Instructions
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#17586">[ date ]</a>
+ <a href="thread.html#17586">[ thread ]</a>
+ <a href="subject.html#17586">[ subject ]</a>
+ <a href="author.html#17586">[ 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>