[Mageia-dev] ANN: Upgrading from Mageia 2 via urpmi

Colin Guthrie mageia at colin.guthr.ie
Mon Dec 17 09:54:37 CET 2012

'Twas brillig, and Mika Laitio at 16/12/12 17:00 did gyre and gimble:
> On 12/16/2012 01:55 PM, Thierry Vignaud wrote:
>> On 16 December 2012 12:38, Mika Laitio <lamikr at pilppa.org> wrote:
>>> Install started fine and offered that I have about 2200 rpm's to update.
>>> During the install some package seemed to hang (I don't remember anymore
>>> which one) and I canceled install with ctrl-c and saw message about
>>> error in postinst section.
>>> I run urpmi.update again and then "urpmi auto-select" and somehow
>>> ended up to situation where all my network interfaces are down
>> maybe b/c kernel-firmware was upgraded first and your network card needs
>> a firmware that is not compatible between different kernels
>>> and about 900 rpm's fail to install as some of their dependencies are
>>> missing.
>>> I tried to download and copy the missing rpm's with another computer to
>>> usb stick, but usb fails to mount... (I can not see /dev/sdb, etc...
>>> only /dev/sda which is my harddisk)
>> Strange... Probably related to your network issue.
>> You could run "modprobe usb_storage" (you may also have to load the USB
>> controller modules (see output of "lspcidrake -v"))
> Yes, this indeed helped. modprobe usb_serial and then /dev/sdb* showed
> up and I was able to mount manually. May be related to fact that udev
> failed to start.
>> Didn't you reboot to a new kernel which you aborted the installation?
>> What if you boot to an older kernel (eg mga2 one)?
> Forget to say that I can get to console only from the "mageia 3 safe
> mode" grup option which goes directly to console.
> With normal mageia 3 or older mageia 2 kernel options I will eventually
> reach the login screen, but login itself always fails with all desktop
> envs I have and resets itself back to login screen again. (kde4, gnome,
> lxde, openbox, icewm)
> Now that I can mount the usb stick and manually copy the missing rpm's
> to harddrive, can I install these 900 rpm packages from this mga3 safe
> mode login, or should I create a new "Mageia 3 upgrade preparation safe
> mode" option to grup which has this rd.convertfs boot option and boot
> there for upgrading the rest of the rpm's from mga2 version to mga3?

Once the conversion has been done once, it doesn't need to run again
(it's safe enough to do so, but it's a no-op and does nothing)

The timeout you possibly saw was waiting for a service to restart or
similar. Chances are it would have timed out eventually (but that
timeout may be up to five minutes). It would be interesting to know
which %postinst failed if you still have that info so I can try
reproducing the situation and work on a more graceful solution.



Colin Guthrie

Day Job:
  Tribalogic Limited http://www.tribalogic.net/
Open Source:
  Mageia Contributor http://www.mageia.org/
  PulseAudio Hacker http://www.pulseaudio.org/
  Trac Hacker http://trac.edgewall.org/

More information about the Mageia-dev mailing list