[Mageia-dev] ANNOUNCE: The /usr move cometh! <---- Instructions

Shlomi Fish shlomif at shlomifish.org
Sun Jul 22 18:51:15 CEST 2012


Hi all,

On Sun, 22 Jul 2012 19:46:58 +0300
Shlomi Fish <shlomif at shlomifish.org> wrote:

> Hi Colin,
> 
> On Sun, 22 Jul 2012 01:12:58 +0100
> Colin Guthrie <mageia at colin.guthr.ie> wrote:
> 
> > OK, so the packages have now all been uploaded.
> > 
> > You should see several packages now that you cannot install on Cauldron.
> > This is intended behaviour.
> > 
> > Here is how to update your cauldron systems:
> > 
> >  1. Run "urpmi --auto-update" install everything that can be installed.
> >  2. Ensure that latest dracut is installed. Run "urpmi dracut" to make
> > sure (it may have been excluded in the --auto-update if it was in a
> > transaction with other packages that could not be installed).
> >  3. Ensure that you do not have zapata or dpkg installed (rpm -e zapata;
> > rpm -e dpkg)
> >  4. Generate a new initrd and include the conversion script: dracut -f
> > -a convertfs
> >  5. If you have /usr on a separate partition
> >      - Ensure there is enough free space to hold /bin, /sbin, /lib and
> > /lib64 content.
> >      - If your /usr is mounted readonly, change your /etc/fstab to mount
> > it rw.
> >  6. Reboot.
> >  7. At the bootloader prompt, edit the command line and append: "rw
> > rd.convertfs" (without the quotes) to your command line and then boot.
> > 
> > That should be all that is needed :)
> > 
> 
> OK, I did all that and now I am getting:
> 
> [QUOTE]
> 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
> Preparing...                     #############################################
>      1/69: filesystem            #############################################
> error: unpacking of archive failed on file /var/lock: cpio: rename failed - Is a directory
> error: filesystem-2.1.9-18.mga3.x86_64: install failed
>      2/69: ncurses               #############################################
>      3/69: lib64ncurses5         #############################################
>      4/69: lib64plymouth2        #############################################
>      5/69: plymouth-plugin-label #############################################
>      6/69: lib64ncursesw5        #############################################
>      7/69: lib64ncursesw-devel   #############################################
>      8/69: plymouth-plugin-script
>                                  #############################################
>      9/69: lib64ncurses-devel    #############################################
>     10/69: findutils             #############################################
>     11/69: lib64dbjava5.1        #############################################
> [/QUOTE]
> 
> And the rest of the packages refuse to install.

OK, I figured out. After I ran as root:

# cd /var
# mv lock lock.ol
# mv run run.old

It was fixed and I was able to install the "filesystem" package and the rest
of the packages. However, something like that should not happen.

Regards,

	Shlomi Fish

> 
> What should I do?
> 
> Regards,
> 
> 	Shlomi Fish
> 
> 
> > If you are extra paranoid, or want to see what is going on, then you can
> > remove the "splash" and "quiet" options from the kernel too.
> > 
> > If you want to see things in more depth, you can also add
> > rd.break=pre-pivot to the kernel. You will be dumped into a shell with
> > your / mounted as /sysroot. This shell is *before* conversion. If you
> > type "exit" the conversion will be done, and you'll be dumped to another
> > shell afterwards. Typing exit once more here will boot the system as normal.
> > 
> > 
> > 
> > All the best and good luck!!!
> > 
> > Col
> > 
> 
> 
> 



-- 
-----------------------------------------------------------------
Shlomi Fish       http://www.shlomifish.org/
Chuck Norris/etc. Facts - http://www.shlomifish.org/humour/bits/facts/

Only perl and Chuck Norris can parse Perl.

Please reply to list if it's a mailing list post - http://shlom.in/reply .


More information about the Mageia-dev mailing list