[Mageia-dev] Mageia 2 in VirtualBox fails to upgrade to Mageia Cauldron due to /usr move

Shlomi Fish shlomif at shlomifish.org
Tue Jul 31 19:26:18 CEST 2012


Hi all,

I am including here a log of the IRC conversation I had with some people on
upgrading my x86-64 VBox virtual machine from Mageia 2 to Mageia Linux
Cauldron. I could not get an adequate answer regarding it from anyone there and
hope someone can help me here (I've waited long enough).

For the record, I'm trying to restore my backups into the VM to a working
state, and ran into a problem, see:

http://www.joelonsoftware.com/items/2009/12/14.html

Regards,

	Shlomi Fish

Jul 27 16:28:01 <rindolf>	OK, now /usrmove is giving me trouble.
Jul 27 16:28:22 <rindolf>	After following the instructions, it wants me to uninstall urpmi.
Jul 27 16:35:57 *	rindolf pokes coling 
Jul 27 16:36:27 <rindolf>	coling: upgrade from a Mageia 2 system (inside a VBox VM) does not work due to the /usrmove.
Jul 27 16:55:13 <spturtle>	rindolf: what goes wrong? I did such an upgrade a few days ago
Jul 27 16:56:12 <rindolf>	spturtle: I've rebooted with the new dracut, but I still cannot install any packages due to missing rpmlib(X-$something).
Jul 27 16:56:30 <rindolf>	spturtle: the /usr move happened a few days ago too.
Jul 27 16:57:12 <spturtle>	so /bin and /lib symlinks are correct? latest rpm installed?
Jul 27 17:07:34 <neoclust>	rindolf: have you done the rw rd.convertfs at boot ?
Jul 27 17:08:46 <rindolf>	neoclust: don't think I did.
Jul 27 17:08:52 <rindolf>	neoclust: it's not mentioned on the UsrMove page.
Jul 27 17:10:44 <JohnR>	rindolf: it is here:    https://www.mageia.org/pipermail/mageia-dev/2012-July/017532.html
Jul 27 17:11:10 <neoclust>	rindolf: step 4 in the page
Jul 27 17:11:21 <neoclust>	rindolf: Generate a new initrd and include the conversion script: dracut -f -a convertfs. Make sure you are currently running the latest kernel when you run this. If you have installed a newer kernel but not yet rebooted, then you will be generating an initrd for the current kernel, not the one you will use on next boot! Either adjust the command accordingly to include the initrd and kernel name specifically or just reboot firs
Jul 27 17:11:53 <tmb>	rindolf: yes it is... check point 8 on usrmove page
Jul 27 17:11:57 <rindolf>	neoclust: in this page - https://wiki.mageia.org/en/Feature%3AUsrMove ?
Jul 27 17:11:58 <erzulie>	[ Feature:UsrMove - Mageia wiki ]
Jul 27 17:12:14 <tmb>	At the bootloader prompt, edit the command line and append: rw rd.convertfs (without the quotes) to your command line and then boot.
Jul 27 17:12:14 <rindolf>	tmb: oh, I see. :-S
Jul 27 17:16:42 <rindolf>	tmb: I tried it - doesn't work - still the same problem.
Jul 27 17:17:27 <neoclust>	rindolf: remove the slpash silent           to see more things and see error messages
Jul 27 17:17:56 <rindolf>	neoclust: I think the new dracut did not take place.
Jul 27 17:18:29 <neoclust>	rindolf: try to redo dracut -f -a convertfs
Jul 27 17:21:03 <rindolf>	neoclust: tried it - the same problem.
Jul 27 17:21:26 <neoclust>	rindolf: you can add on pastebin the output of the command ?
Jul 27 17:21:37 <rindolf>	neoclust: which command?
Jul 27 17:22:13 <neoclust>	dracut -f -a convertfs
Jul 27 17:28:04 <rindolf>	neoclust: OK, let me try.
Jul 27 17:29:43 <rindolf>	neoclust: here you go - http://paste.debian.net/180904/
Jul 27 17:29:44 <erzulie>	[ debian Pastezone ]
I: *** Including module: dash ***
I: *** Including module: i18n ***
I: *** Including module: rpmversion ***
I: *** Including module: convertfs ***
I: *** Including module: plymouth ***
I: *** Including module: kernel-modules ***
I: *** Including module: resume ***
I: *** Including module: rootfs-block ***
I: *** Including module: terminfo ***
I: *** Including module: udev-rules ***
I: Skipping udev rule: 50-udev.rules
I: Skipping udev rule: 95-late.rules
I: Skipping udev rule: 50-firmware.rules
I: *** Including module: usrmount ***
I: *** Including module: base ***
I: *** Including module: fs-lib ***
I: *** Including module: shutdown ***
I: Skipping program kexec as it cannot be found and is flagged to be optional
I: *** Including modules done ***
I: Wrote /boot/initrd-3.4.6-desktop-1.mga3.img:
I: -rw-r--r-- 1 root root 7202555 Jul 27 17:27 /boot/initrd-3.4.6-desktop-1.mga3.img
Jul 27 17:29:58 <rindolf>	neoclust: I should note that the urpmi command on that page refuses to install anything.
Jul 27 17:36:31 <neoclust>	coling: question for you too ;)
Jul 27 17:39:00 *	rindolf is away - walk.



-- 
-----------------------------------------------------------------
Shlomi Fish       http://www.shlomifish.org/
First stop for Perl beginners - http://perl-begin.org/

I started out as a BASIC programmer. Some people would say that I’m
permanently damaged. Some people are undoubtedly right.
    — Larry Wall

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


More information about the Mageia-dev mailing list