<!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=%3C500C35EA.8010304%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="017576.html">
   <LINK REL="Next"  HREF="017585.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=%3C500C35EA.8010304%40colin.guthr.ie%3E"
       TITLE="[Mageia-dev] ANNOUNCE: The /usr move cometh! &lt;---- Instructions">mageia at colin.guthr.ie
       </A><BR>
    <I>Sun Jul 22 19:18:34 CEST 2012</I>
    <P><UL>
        <LI>Previous message: <A HREF="017576.html">[Mageia-dev] ANNOUNCE: The /usr move cometh! &lt;---- Instructions
</A></li>
        <LI>Next message: <A HREF="017585.html">[Mageia-dev] ANNOUNCE: The /usr move cometh! &lt;---- Instructions
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#17580">[ date ]</a>
              <a href="thread.html#17580">[ thread ]</a>
              <a href="subject.html#17580">[ subject ]</a>
              <a href="author.html#17580">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>'Twas brillig, and Shlomi Fish at 22/07/12 17:51 did gyre and gimble:
&gt;<i> Hi all,
</I>&gt;<i> 
</I>&gt;<i> On Sun, 22 Jul 2012 19:46:58 +0300
</I>&gt;<i> Shlomi Fish &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">shlomif at shlomifish.org</A>&gt; wrote:
</I>&gt;<i> 
</I>&gt;&gt;<i> Hi Colin,
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> On Sun, 22 Jul 2012 01:12:58 +0100
</I>&gt;&gt;<i> Colin Guthrie &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">mageia at colin.guthr.ie</A>&gt; wrote:
</I>&gt;&gt;<i>
</I>&gt;&gt;&gt;<i> OK, so the packages have now all been uploaded.
</I>&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;<i> You should see several packages now that you cannot install on Cauldron.
</I>&gt;&gt;&gt;<i> This is intended behaviour.
</I>&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;<i> Here is how to update your cauldron systems:
</I>&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;<i>  1. Run &quot;urpmi --auto-update&quot; install everything that can be installed.
</I>&gt;&gt;&gt;<i>  2. Ensure that latest dracut is installed. Run &quot;urpmi dracut&quot; to make
</I>&gt;&gt;&gt;<i> sure (it may have been excluded in the --auto-update if it was in a
</I>&gt;&gt;&gt;<i> transaction with other packages that could not be installed).
</I>&gt;&gt;&gt;<i>  3. Ensure that you do not have zapata or dpkg installed (rpm -e zapata;
</I>&gt;&gt;&gt;<i> rpm -e dpkg)
</I>&gt;&gt;&gt;<i>  4. Generate a new initrd and include the conversion script: dracut -f
</I>&gt;&gt;&gt;<i> -a convertfs
</I>&gt;&gt;&gt;<i>  5. If you have /usr on a separate partition
</I>&gt;&gt;&gt;<i>      - Ensure there is enough free space to hold /bin, /sbin, /lib and
</I>&gt;&gt;&gt;<i> /lib64 content.
</I>&gt;&gt;&gt;<i>      - If your /usr is mounted readonly, change your /etc/fstab to mount
</I>&gt;&gt;&gt;<i> it rw.
</I>&gt;&gt;&gt;<i>  6. Reboot.
</I>&gt;&gt;&gt;<i>  7. At the bootloader prompt, edit the command line and append: &quot;rw
</I>&gt;&gt;&gt;<i> rd.convertfs&quot; (without the quotes) to your command line and then boot.
</I>&gt;&gt;&gt;<i>
</I>&gt;&gt;&gt;<i> That should be all that is needed :)
</I>&gt;&gt;&gt;<i>
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> OK, I did all that and now I am getting:
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> [QUOTE]
</I>&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;<i> Preparing...                     #############################################
</I>&gt;&gt;<i>      1/69: filesystem            #############################################
</I>&gt;&gt;<i> error: unpacking of archive failed on file /var/lock: cpio: rename failed - Is a directory
</I>&gt;&gt;<i> error: filesystem-2.1.9-18.mga3.x86_64: install failed
</I>&gt;&gt;<i>      2/69: ncurses               #############################################
</I>&gt;&gt;<i>      3/69: lib64ncurses5         #############################################
</I>&gt;&gt;<i>      4/69: lib64plymouth2        #############################################
</I>&gt;&gt;<i>      5/69: plymouth-plugin-label #############################################
</I>&gt;&gt;<i>      6/69: lib64ncursesw5        #############################################
</I>&gt;&gt;<i>      7/69: lib64ncursesw-devel   #############################################
</I>&gt;&gt;<i>      8/69: plymouth-plugin-script
</I>&gt;&gt;<i>                                  #############################################
</I>&gt;&gt;<i>      9/69: lib64ncurses-devel    #############################################
</I>&gt;&gt;<i>     10/69: findutils             #############################################
</I>&gt;&gt;<i>     11/69: lib64dbjava5.1        #############################################
</I>&gt;&gt;<i> [/QUOTE]
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> And the rest of the packages refuse to install.
</I>&gt;<i> 
</I>&gt;<i> OK, I figured out. After I ran as root:
</I>&gt;<i> 
</I>&gt;<i> # cd /var
</I>&gt;<i> # mv lock lock.ol
</I>&gt;<i> # mv run run.old
</I>&gt;<i> 
</I>&gt;<i> It was fixed and I was able to install the &quot;filesystem&quot; package and the rest
</I>&gt;<i> of the packages. However, something like that should not happen.
</I>

Well, this should have been done for you. Did you already have
run.runmove~ and lock.lockmove~ folders in /var?

If so then I suspect something is killing the symlinks.

I did have this problem initially too because the
mandriva-clean-var-run-lock.service file would actually delete the
symlinks and then some other system (perhaps systemd-tmpfiles) actually
recreated the /var/run and /var/lock folders.

In the latest version of the dracut script I ensured that I disabled
that script by deleting the service file.

Can you double check that rebooting again doesn't &quot;reconvert&quot; the links
back to dirs for /var/run and /var/lock because if so, then there could
be some other &quot;cleaning&quot; config somewhere that I've missed.

Cheers

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="017576.html">[Mageia-dev] ANNOUNCE: The /usr move cometh! &lt;---- Instructions
</A></li>
	<LI>Next message: <A HREF="017585.html">[Mageia-dev] ANNOUNCE: The /usr move cometh! &lt;---- Instructions
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#17580">[ date ]</a>
              <a href="thread.html#17580">[ thread ]</a>
              <a href="subject.html#17580">[ subject ]</a>
              <a href="author.html#17580">[ 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>