In my first test of trying to upgrade from Mageia 1 to cauldron, using a qa only version of mgaapplet from bug 5065, after urpmi was installed, the restart failed.
Created attachment 1828 [details] log file from upgrade attempt
Blocks: (none) => 3342Assignee: bugsquad => thierry.vignaud
uh? Did you have a DVD media set up for urpmi? I failed to see how it's possible urpmi tried to load Glib. Can you add the two following lines after "package Glib" in /usr/lib/perl5/vendor_perl/5.14.2/x86_64-linux-thread-multi/Glib.pm, then retry and attach the printed trace here? use MDK::Common; warn "\n\n" . backtrace() ."\n\n";
Keywords: (none) => NEEDINFO
Created attachment 1836 [details] Log file with modified Glib.pm No dvd. This is using a modified copy of the Megeia 1 mgaapplet to test upgrading to cauldron. It correctly deletes all repositories, then adds the Cauldron repositories, and starts the upgrade process. I've also compared the rpms used by urpmi --auto-select to the ones installed by the distro upgrade attempt, before restarting urpmi. The following have not yet been installed/upgraded ... cmake fdupes jpackage-utils kde4-macros libbzip2_1 libcap2 libdb4.8 libelfutils1 liblua5.1 liblzma5 libmagic1 libncursesw5 libnspr4 libnss3 libpopt0 libreadline6 libsqlite3_0 libzlib1 mageia-release-common mageia-release-Default multiarch-utils perl-Config-IniFiles perl-MDV-Distribconf perl-MDV-Distribconf rpm-helper rpm-mageia-setup rpm-mageia-setup-build setup spec-helper
So you did not use urpmi but gurpmi.... I'll have to alter gurpmi so that it push perl-Glib & perl-Gtk2 as priority packages too
Summary: Upgrade from Mageia 1 to Cauldron fails on urpmi restart => Live upgrade from Mga1 to Cauldron fails on gurpmi restart
Created attachment 1840 [details] Can you try again with that patch? Just alter gurpm.pm file from gurpmi. Path will be different on mga1 of course (perl-5.12 instead of 5.14) With that, gurpmi should upgrade perl-Glib & perl-Gtk2 prior to restart
Created attachment 1846 [details] Patch for gurpmi.pm As per the attached patch, I also had to add libglib2.0_0. After that, the restart works.
This won't work on 64bit and anyway the proper fix would be to bump the required glib version in perl-Glib What was the error?
Attachment 1846 is obsolete: 0 => 1
I'd have to redo the test with the old patch to confirm, but IIRC it was undefined symbol mutex_lock in /usr/lib/perl5/vendor_perl/5.14.2/i386-linux-thread-multi/auto/Glib/Glib.so I used the output ldd on that module in a working cauldron install to figure out which other package was needed.
This has been fixed in perl-Glib-1.251.0-2.mga2 Once urpmi-6.40.3-1.mga1 lands on your mirror, you should try again just with enabling the core/updates_testing medium and it should just work
Closing as fixed. Thanks for the quick response.
Status: NEW => RESOLVEDResolution: (none) => FIXED