diff options
Diffstat (limited to 'zarb-ml/mageia-dev/2012-July/017586.html')
-rw-r--r-- | zarb-ml/mageia-dev/2012-July/017586.html | 184 |
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! <---- 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! <---- 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! <---- 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! <---- Instructions +</A></li> + <LI>Next message: <A HREF="017587.html">[Mageia-dev] ANNOUNCE: The /usr move cometh! <---- 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: +><i> * Colin Guthrie (<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">mageia at colin.guthr.ie</A>) wrote: +</I>>><i> 'Twas brillig, and Shlomi Fish at 22/07/12 17:51 did gyre and gimble: +</I>>>><i> Hi all, +</I>>>><i> +</I>>>><i> On Sun, 22 Jul 2012 19:46:58 +0300 +</I>>>><i> Shlomi Fish <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">shlomif at shlomifish.org</A>> wrote: +</I>>>><i> +</I>>>>><i> Hi Colin, +</I>>>>><i> +</I>>>>><i> [QUOTE] +</I>>>>><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>>>>><i> Preparing... ############################################# +</I>>>>><i> 1/69: filesystem ############################################# +</I>>>>><i> error: unpacking of archive failed on file /var/lock: cpio: rename failed - Is a directory +</I>>>>><i> error: filesystem-2.1.9-18.mga3.x86_64: install failed +</I>>>>><i> 2/69: ncurses ############################################# +</I>>>>><i> 3/69: lib64ncurses5 ############################################# +</I>>>>><i> 4/69: lib64plymouth2 ############################################# +</I>>>>><i> 5/69: plymouth-plugin-label ############################################# +</I>>>>><i> 6/69: lib64ncursesw5 ############################################# +</I>>>>><i> 7/69: lib64ncursesw-devel ############################################# +</I>>>>><i> 8/69: plymouth-plugin-script +</I>>>>><i> ############################################# +</I>>>>><i> 9/69: lib64ncurses-devel ############################################# +</I>>>>><i> 10/69: findutils ############################################# +</I>>>>><i> 11/69: lib64dbjava5.1 ############################################# +</I>>>>><i> [/QUOTE] +</I>>>>><i> +</I>>>>><i> And the rest of the packages refuse to install. +</I>>>><i> +</I>>>><i> OK, I figured out. After I ran as root: +</I>>>><i> +</I>>>><i> # cd /var +</I>>>><i> # mv lock lock.ol +</I>>>><i> # mv run run.old +</I>>>><i> +</I>>>><i> It was fixed and I was able to install the "filesystem" package and the rest +</I>>>><i> of the packages. However, something like that should not happen. +</I>>><i> +</I>>><i> +</I>>><i> Well, this should have been done for you. Did you already have +</I>>><i> run.runmove~ and lock.lockmove~ folders in /var? +</I>>><i> +</I>>><i> If so then I suspect something is killing the symlinks. +</I>><i> +</I>><i> Is it normal that in the same time filesystem package provide +</I>><i> /usr/{lib,bin} etc as directory whereas the pre script transform it as +</I>><i> symlink (according +</I>><i> <A HREF="http://sophie.zarb.org/rpms/696f0450c6b9baa8dcf088602f19c810/files">http://sophie.zarb.org/rpms/696f0450c6b9baa8dcf088602f19c810/files</A>). +</I>><i> +</I>><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 "transform +[them to] symlinks" 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! <---- Instructions +</A></li> + <LI>Next message: <A HREF="017587.html">[Mageia-dev] ANNOUNCE: The /usr move cometh! <---- 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> |