<!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=%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! <---- 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! <---- 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! <---- Instructions </A></li> <LI>Next message: <A HREF="017585.html">[Mageia-dev] ANNOUNCE: The /usr move cometh! <---- 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: ><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> On Sun, 22 Jul 2012 01:12:58 +0100 </I>>><i> Colin Guthrie <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">mageia at colin.guthr.ie</A>> wrote: </I>>><i> </I>>>><i> OK, so the packages have now all been uploaded. </I>>>><i> </I>>>><i> You should see several packages now that you cannot install on Cauldron. </I>>>><i> This is intended behaviour. </I>>>><i> </I>>>><i> Here is how to update your cauldron systems: </I>>>><i> </I>>>><i> 1. Run "urpmi --auto-update" install everything that can be installed. </I>>>><i> 2. Ensure that latest dracut is installed. Run "urpmi dracut" to make </I>>>><i> sure (it may have been excluded in the --auto-update if it was in a </I>>>><i> transaction with other packages that could not be installed). </I>>>><i> 3. Ensure that you do not have zapata or dpkg installed (rpm -e zapata; </I>>>><i> rpm -e dpkg) </I>>>><i> 4. Generate a new initrd and include the conversion script: dracut -f </I>>>><i> -a convertfs </I>>>><i> 5. If you have /usr on a separate partition </I>>>><i> - Ensure there is enough free space to hold /bin, /sbin, /lib and </I>>>><i> /lib64 content. </I>>>><i> - If your /usr is mounted readonly, change your /etc/fstab to mount </I>>>><i> it rw. </I>>>><i> 6. Reboot. </I>>>><i> 7. At the bootloader prompt, edit the command line and append: "rw </I>>>><i> rd.convertfs" (without the quotes) to your command line and then boot. </I>>>><i> </I>>>><i> That should be all that is needed :) </I>>>><i> </I>>><i> </I>>><i> OK, I did all that and now I am getting: </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> 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 "reconvert" the links back to dirs for /var/run and /var/lock because if so, then there could be some other "cleaning" 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! <---- Instructions </A></li> <LI>Next message: <A HREF="017585.html">[Mageia-dev] ANNOUNCE: The /usr move cometh! <---- 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>