Attempted upgrade from mga4 to mga5 using 5b3 dvd 64 with online medias added. Two script failures related to gnome-icon-theme (bug 14971) 195 transactions failed report.bug.xz attached Reproducible: Steps to Reproduce:
Priority: Normal => release_blockerCC: (none) => ennael1, tmbBlocks: (none) => 15013
Created attachment 5943 [details] report.bug.xz
strange (10 vs 9 & util-linux disapeared from the transaction): remove=0= update=10=lib64systemd0,lib64mount1,findutils,gawk,lib64uuid1,lib64cap-ng0,lib64blkid1,util-linux,lib64smartcols1,lib64sigsegv2 (...) installing lib64sigsegv2-2.10-5.mga5.x86_64.rpm lib64blkid1-2.25.2-3.mga5.x86_64.rpm lib64cap-ng0-0.7.4-5.mga5.x86_64.rpm gawk-4.1.1-3.mga5.x86_64.rpm lib64uuid1-2.25.2-3.mga5.x86_64.rpm lib64smartcols1-2.25.2-3.mga5.x86_64.rpm findutils-4.5.14-3.mga5.x86_64.rpm lib64systemd0-217-8.mga5.x86_64.rpm lib64mount1-2.25.2-3.mga5.x86_64.rpm from /tmp/image/media/core starting installing packages created transaction for installing on /mnt (remove=0, install=0, upgrade=9) Maybe either rpmlib's rpmtsCheck() or rpmtsOrder() fscked sg?
CC: (none) => thierry.vignaud
Claire, is it still valid with RC iso ?
I'll test now, still have the mga4 snapshot.
204 failed, with local http frozen medias added during upgrade. I'll add an updated log
Created attachment 6020 [details] report.bug.xz
Can you try again? But instead of typing '<ENTER>' at the CD prompt, can you type "linux debug_urpmi"?
CC: (none) => doktor5000
Will check this in the morning Thierry, thanks
CC: (none) => remiBlocks: (none) => 14069
Created attachment 6030 [details] report.bug.xz with debug_urpmi The ISO doesn't pause to enter 'linux debug_urpmi' in the same way as boot.iso but entered debug_urpmi as a kernel option at the boot menu isolinux/gfboot, not sure of the terminology.
Should have said .. "223 installation transactions failed" this time.
I suspect that there's issue with deps loops and thus librpm breaks at random places thus we got broken transactions. I guess you've a snapshot of a VM you keep trying update? So that you can easily revert to pre-update state? If yes, could you: - start it, - removee all urpmi media, - add mga5 media, - run the following commands: urpmi --bug bug15350 --auto-select --auto -v --debug --deploops 2>&1|tee bug15350.txt tar cfa bug15350{.tar.xz,} - then: o attach the bug15350.txt log to this bug report o send me the bug15350.tar.xz file (it will be too big for bugzilla to attach)
Keywords: (none) => NEEDINFO
Yes, it is, thats right. I'll do that now.
Email emailed Thierry, thanks. It's 4.8Mb but should be OK gmail to gmail.
Can you try again with --no-priority-upgrade? That should be more similar to drakx. If urpmi still doesn't fail, it may be b/c you installed some soft for which the updates are not on the DVD.
I added online medias during upgrade from the ISO too. You want me to use this..? urpmi --bug bug15350 --auto-select --auto -v --debug --deploops --no-priority-upgrade 2>&1|tee bug15350.txt
Could you run urpmi with only the media from the ISO and not the online media?
I'm not sure :\ I'll give it a go!
Email emailed again Thierry.
Keywords: NEEDINFO => (none)
There's been some email debugging so adding the current command used, for future reference.. # urpmi --bug bug15350-3 --auto-select --auto -v --debug --deploops --previous-priority-upgrade='rpm,perl-URPM,perl-MDV-Distribconf,urpmi,meta-task,glibc,aria2' 2>&1|tee bug15350-3.txt
Created attachment 6056 [details] report.bug from Claire's VM: OK I've imported Claire's VM. I've tried an update with Mageia-5-rc-x86_64-DVD.iso. It worked smoothly
The ISO I tested is: -rw-r--r-- 1 tv users 3901751296 Meu 3 09:15 Mageia-5-rc-x86_64-DVD.iso A difference being you added online media
Link to the VM https://drive.google.com/file/d/0B6AjnXi2R6HcNk1GQkdGT3IwVnM/view?usp=sharing user/pass = user/user & root/root
Created attachment 6072 [details] report.bug.xz from RC build 3 Valid RC build 3 (16th March) 191 transactions failed
Hardware: i586 => x86_64
Does the bug only happen if you add online media?
Created attachment 6073 [details] patch to put on a USB key to attach to the VM Could you add this patch file on a USB key that you'll attach to the VM prior to starting the stage2? See: https://wiki.mageia.org/en/Drakx-installer_tips_and_tricks#Using_a_patch_.26_regular_ISO Then add the "deploops" option on the command line. Let's see if we see more interesting stuff in report.bug
I'll have to do some tests to confirm it's only when online media and iso media are being used together. At the moment I've dropped patch.pl onto a USB stick which I atteched to the VM before starting it. I added "patch deploops" to the kernel options in isolinux/gfxboot. Added online medias and it's currently upgrading. I'll attach report.bug again when it's done. It seemed to do something different at the end of stage 1. There was an extra message, which I've forgotten of course.
Created attachment 6074 [details] report.bug.xz with patch used (hopefully) 194 failed this time
Upgrade completes using only ISO media, all except a script error for ibus-gtk3 which I'll create a bug for now.
Summary: Upgrade failed mga4 to mga5 - 195 transactions failed => Upgrade failed mga4 to mga5 when adding online media to DVD - 195 transactions failed
commit cf9265e5981c5fe24c9e654935600d2348e2ba82 Author: Thierry Vignaud <thierry.vignaud@...> Date: Tue Mar 17 21:39:40 2015 +0100 add 'deploops' option for debugging (mga#15350) --- Commit Link: http://gitweb.mageia.org/software/drakx/commit/?id=cf9265e5981c5fe24c9e654935600d2348e2ba82
Sorry for the naive question, but is that just not the online media being Cauldron and therefore continuously updated during install? I posted on the mailing list last year similar issues with network install during beta releases of mga4. Because our mirrors are not frozen beta snapshot, the install fails after a while with a random number of missed transactions due to a few packages being actually changed during the install. On the bright side, this does not happen anymore when the mirror are really frozen.
CC: (none) => dirteat
That's a relevant remark, but IMO that's not the issue here. MrsB has done tons of failed upgrade tests, and cauldron is in hard freeze currently with very few packages being pushed, and most of them are not relevant for upgrades (e.g. games). So it's unlikely that Claire hit a mirror issue so many times.
Thierry, need some more information about this one ?
It would be nice to try again with latest ISO which include the right support for "deploops" option (previous patch was incomplete)
Created attachment 6129 [details] (check) fix reporting problems Though I suspect many issues were hidden from urpmi since at least 2003 :-(, ie calling check() actually makes urpmi ignore potential issues. It could be nice if either you or Thomas could: - locally build a new perl-URPM with that patch - then rebuild stage2 with that new perl-URPM installed - then redo a test ISO with that new stage2 (could be done by temporary rename install/stage2/mdkinst.sqfs in your build tree and putting the new patched one there) So that Claire (or someone else) could try with it, aka a DVD install with adding online media.
ok I'll do that
Created attachment 6130 [details] report obsoletse issues also, we would ignore obsolete issues reported by rpmlib since rpm-4.9.0
ok adding also that patch
Testing vbox upgrade now with latest RC ISO with deploops option. I'll attach a log when it's finished/failed. ISO: Mageia-5-RC-x86_64-DVD.iso DATE: Sun Mar 29 15:06:35 CEST 2015 MD5: OK SHA1: OK I saw this problem on another mga4 install yesterday on real hardware so I don't think the particular install matters so much.
Created attachment 6158 [details] report29-03-15.bug.xz
Created attachment 6174 [details] report01-04-15.bug.xz Updated deploops upgrade log for new ISOs.
Thierry any input on that one?
Blocks: (none) => 15637
I just completed a test install, using the latest RC x86_64 dvd, with online media added, selecting everything except individual packages. No transaction errors. Closing the bug. Please reopen, if other selections do result in transaction errors.
Status: NEW => RESOLVEDCC: (none) => davidwhodginsResolution: (none) => FIXED
Oops. Tested a clean install. Reopening, until I can test an upgrade.
Status: RESOLVED => REOPENEDResolution: FIXED => (none)
Starting with a Mageia 4 x86_64 install, done with the boot-nonfree.iso, selecting all package groups except individual packages results in 266 transactions failed, starting with perl-base, apparently due to a version specific require in the Mageia 4 version of the perl package. In Mageia 4 ... $ rpm -q --requires perl|grep base perl-base = 2:5.18.1-3.2.mga4 perl-base >= 2:5.18.1 I expect that if perl-base and perl are installed in the same transaction, that the problem would not show up, which may explain why it doesn't always happen. I'll dig through the logs tomorrow, to try and figure out which other packages are triggering the problem. Just realized it didn't save the logs. I'll have to redo the upgrade (about 4 hours, for over 3000 packages), and use the bug command to get the logs.
You can boot the DVD by typing "linux tune-rpm" instead of just <enter> (which implies "linux"). It'll make librpm skips costly fsync() calls making installation faster...
Status: REOPENED => NEW
This is still valid, current logs in comment 40.
Created attachment 6212 [details] compressed bug command output The failures start at line 36619
Created attachment 6213 [details] Initial ananlyse of packages causing transaction failures
After discussing with David Walser on irc, instead of playing whack-a-mole trying to fix the version specific requires, urpmi should be fixed, to ensure packages with version specific requires are installed in the same transaction as the required package, or that the required package is installed in an earlier transaction.
Assignee: bugsquad => thierry.vignaud
That's already the case. but if there are broken deps that creates dependency loops, there is nothing urpmi can do as rpm will break the loop arbitrary in order to try and get the install done instead of getting stuck in an endless loop.
As per comment 48 /tmp/image/media/core/perl-base-5.20.1-8.mga5.x86_64.rpm is in the second transaction (line 36579), and fails as perl is not included in that transaction, and perl has version specific requires on perl-base. The perl package, /tmp/image/media/core/perl-5.20.1-8.mga5.x86_64.rpm isn't attempted until a later transaction at line 36681. Either we need a way to force urpmi to keep required/requiring packages in the same transaction, or we need an automated way to locate and replace all version specific requires with >= requires, in both Mageia 4 and 5. As per comment 17, this install attempt has shown at least 17 rpm packages where packages with version specific requires failed, so fixing the requires in Mageia 4 and 5, will affect an unknown number of packages.
That's a bogus explanation since it works fine with only the DVD's media...
"Fixing" the requires will break things. They are valid and needed. There is another problem with some packages, yet to determine. This is the transaction urpmi is creating, containing everything needed: remove=0= update=90=perl-XML-Parser,gcc-cpp,perl-Curses,lib64gio2.0_0,perl-BSD-Resource,harddrake-ui,glib2.0-common,perl-Term-ReadKey,userdrake,lib64ncursesw5,frozen-bubble,perl-File-FnMatch,perl-Data-Dump,microcode,gtk+2.0,perl-Digest-SHA1,perl,perl-Apache-Test,lib64gtk+-x11-2.0_0,locales-en,perl-Compress-Bzip2,perl-SVN,lib64rpm3,gcc,libgcc1,perl-Glib,drakxtools-curses,perl-String-CRC32,subversion,samba-client,perl-Glib-Object-Introspection,vim-common,perl-URPM,perl-Crypt-SSLeay,lib64glib2.0_0,perl-WWW-Curl,lib64ncursesw-devel,rpm-build,lib64glib2.0-devel,perl-Data-Flow,perl-Cairo,perl-Filesys-Df,perl-HTML-Parser,glibc,rpm,glib-gettextize,lib64ncurses5,run-parts,perl-SDL,perl-Term-ReadLine-Gnu,perl-Linux-Pid,perl-DBD-mysql,perl-Gtk2,locales,bash,perl-Pango,perl-Gnome2-Vte,apache-mod_perl,perl-Net-DBus,lib64gtk+2.0_0,perl-Cairo-GObject,perl-File-Sync,perl-List-MoreUtils,transfugdrake,libstdc++6,libstdc++-devel,perl-Locale-gettext,perl-devel,lib64SDL_gfx15,drakxtools-backend,perl-DBI,drakxtools,lib64rpmbuild3,harddrake,perl-Archive-Zip,perl-base,lib64svn0,vim-enhanced,perl-Gtk2-WebKit,perl-Net-SSLeay,lib64ncurses-devel,perl-XML-LibXML,dash-static,filesystem,setup,gcc-c++,glibc-devel,python-rpm,lib64lua5.2,ncurses But then forseome reason (probably a loop) it gets split and the first transaction only contains 74 packages instead of 90: retrieving rpm files from medium "Core Release2"... retrieved subversion-1.8.13-1.mga5.x86_64.rpm harddrake-16.77-1.mga5.x86_64.rpm harddrake-ui-16.77-1.mga5.x86_64.rpm perl-SDL-2.544.0-5.mga5.x86_64.rpm perl-Archive-Zip-1.380.0-3.mga5.noarch.rpm lib64svn0-1.8.13-1.mga5.x86_64.rpm perl-Compress-Bzip2-2.180.0-5.mga5.x86_64.rpm perl-SVN-1.8.13-1.mga5.x86_64.rpm frozen-bubble-2.212.0-24.mga5.x86_64.rpm drakxtools-backend-16.77-1.mga5.x86_64.rpm drakxtools-16.77-1.mga5.x86_64.rpm drakxtools-curses-16.77-1.mga5.x86_64.rpm ...retrieving done installing /tmp/image/media/core/perl-URPM-5.05-1.mga5.x86_64.rpm /tmp/image/media/core/vim-common-7.4.430-7.mga5.x86_64.rpm /tmp/image/media/core/perl-Glib-Object-Introspection-0.25.0-2.mga5.x86_64.rpm /mnt/var/cache/urpmi/rpms/subversion-1.8.13-1.mga5.x86_64.rpm /tmp/image/media/core/samba-client-3.6.25-1.mga5.x86_64.rpm /tmp/image/media/core/perl-String-CRC32-1.500.0-5.mga5.x86_64.rpm /mnt/var/cache/urpmi/rpms/drakxtools-curses-16.77-1.mga5.x86_64.rpm /tmp/image/media/core/libgcc1-4.9.2-4.mga5.x86_64.rpm /tmp/image/media/core/perl-Glib-1.305.0-5.mga5.x86_64.rpm /tmp/image/media/core/lib64rpm3-4.12.0.1-20.mga5.x86_64.rpm /tmp/image/media/core/gcc-4.9.2-4.mga5.x86_64.rpm /mnt/var/cache/urpmi/rpms/perl-SVN-1.8.13-1.mga5.x86_64.rpm /tmp/image/media/core/perl-Gtk2-1.249.500-2.mga5.x86_64.rpm /tmp/image/media/core/perl-Filesys-Df-0.920.0-13.mga5.x86_64.rpm /tmp/image/media/core/perl-Data-Flow-1.20.0-5.mga5.noarch.rpm /tmp/image/media/core/lib64glib2.0-devel-2.42.1-1.mga5.x86_64.rpm /tmp/image/media/core/lib64ncursesw-devel-5.9-21.mga5.x86_64.rpm /tmp/image/media/core/perl-WWW-Curl-4.170.0-6.mga5.x86_64.rpm /tmp/image/media/core/lib64glib2.0_0-2.42.1-1.mga5.x86_64.rpm /tmp/image/media/core/perl-Term-ReadKey-2.320.0-4.mga5.x86_64.rpm /tmp/image/media/core/perl-List-MoreUtils-0.330.0-12.mga5.x86_64.rpm /tmp/image/media/core/glib2.0-common-2.42.1-1.mga5.x86_64.rpm /mnt/var/cache/urpmi/rpms/harddrake-ui-16.77-1.mga5.x86_64.rpm /tmp/image/media/core/perl-BSD-Resource-1.290.700-6.mga5.x86_64.rpm /tmp/image/media/core/gcc-cpp-4.9.2-4.mga5.x86_64.rpm /tmp/image/media/core/perl-XML-Parser-2.410.0-9.mga5.x86_64.rpm /tmp/image/media/core/python-rpm-4.12.0.1-20.mga5.x86_64.rpm /mnt/var/cache/urpmi/rpms/perl-Compress-Bzip2-2.180.0-5.mga5.x86_64.rpm /tmp/image/media/core/lib64gtk+-x11-2.0_0-2.24.26-2.mga5.x86_64.rpm /tmp/image/media/core/perl-Apache-Test-1.380.0-6.mga5.noarch.rpm /tmp/image/media/core/perl-Digest-SHA1-2.130.0-15.mga5.x86_64.rpm /tmp/image/media/core/gtk+2.0-2.24.26-2.mga5.x86_64.rpm /mnt/var/cache/urpmi/rpms/frozen-bubble-2.212.0-24.mga5.x86_64.rpm /tmp/image/media/core/perl-Data-Dump-1.220.0-5.mga5.noarch.rpm /tmp/image/media/core/lib64ncursesw5-5.9-21.mga5.x86_64.rpm /tmp/image/media/core/userdrake-2.8-1.mga5.x86_64.rpm /mnt/var/cache/urpmi/rpms/lib64svn0-1.8.13-1.mga5.x86_64.rpm /tmp/image/media/core/perl-base-5.20.1-8.mga5.x86_64.rpm /mnt/var/cache/urpmi/rpms/perl-Archive-Zip-1.380.0-3.mga5.noarch.rpm /mnt/var/cache/urpmi/rpms/harddrake-16.77-1.mga5.x86_64.rpm /tmp/image/media/core/lib64rpmbuild3-4.12.0.1-20.mga5.x86_64.rpm /mnt/var/cache/urpmi/rpms/drakxtools-16.77-1.mga5.x86_64.rpm /tmp/image/media/core/perl-DBI-1.631.0-6.mga5.x86_64.rpm /mnt/var/cache/urpmi/rpms/drakxtools-backend-16.77-1.mga5.x86_64.rpm /tmp/image/media/core/lib64SDL_gfx15-2.0.25-4.mga5.x86_64.rpm /tmp/image/media/core/perl-XML-LibXML-2.11.600-7.mga5.x86_64.rpm /tmp/image/media/nonfree/microcode-0.20140913-4.mga5.nonfree.noarch.rpm /tmp/image/media/core/ncurses-5.9-21.mga5.x86_64.rpm /tmp/image/media/core/lib64lua5.2-5.2.3-6.mga5.x86_64.rpm /tmp/image/media/core/glibc-devel-2.20-16.mga5.x86_64.rpm /tmp/image/media/core/gcc-c++-4.9.2-4.mga5.x86_64.rpm /tmp/image/media/core/setup-2.7.21-4.mga5.noarch.rpm /tmp/image/media/core/filesystem-2.1.9-25.mga5.x86_64.rpm /tmp/image/media/core/dash-static-0.5.7-6.mga5.x86_64.rpm /tmp/image/media/core/lib64ncurses-devel-5.9-21.mga5.x86_64.rpm /tmp/image/media/core/perl-Gtk2-WebKit-0.90.0-11.mga5.x86_64.rpm /mnt/var/cache/urpmi/rpms/perl-SDL-2.544.0-5.mga5.x86_64.rpm /tmp/image/media/core/run-parts-4.4-4.mga5.x86_64.rpm /tmp/image/media/core/lib64ncurses5-5.9-21.mga5.x86_64.rpm /tmp/image/media/core/glib-gettextize-2.42.1-1.mga5.x86_64.rpm /tmp/image/media/core/locales-en-2.20-4.mga5.x86_64.rpm /tmp/image/media/core/rpm-4.12.0.1-20.mga5.x86_64.rpm /tmp/image/media/core/glibc-2.20-16.mga5.x86_64.rpm /tmp/image/media/core/perl-HTML-Parser-3.710.0-5.mga5.x86_64.rpm /tmp/image/media/core/libstdc++6-4.9.2-4.mga5.x86_64.rpm /tmp/image/media/core/libstdc++-devel-4.9.2-4.mga5.x86_64.rpm /tmp/image/media/core/transfugdrake-1.9.7-1.mga5.noarch.rpm /tmp/image/media/core/apache-mod_perl-2.0.7-17.20130221svn1448245.mga5.x86_64.rpm /tmp/image/media/core/lib64gtk+2.0_0-2.24.26-2.mga5.x86_64.rpm /tmp/image/media/core/perl-Gnome2-Vte-0.110.0-5.mga5.x86_64.rpm /tmp/image/media/core/perl-Pango-1.226-5.mga5.x86_64.rpm /tmp/image/media/core/bash-4.3-33.1.mga5.x86_64.rpm /tmp/image/media/core/locales-2.20-4.mga5.x86_64.rpm /tmp/image/media/core/perl-DBD-mysql-4.28.0-3.mga5.x86_64.rpm starting installing packages created transaction for installing on /mnt (remove=0, install=0, upgrade=74) Installation failed: lib64gio2.0_0 = 2.42.1 is needed by lib64glib2.0-devel-2.42.1-1.mga5.x86_64 lib64glib2.0_0 = 2.38.2 is needed by (installed) lib64gio2.0_0-2.38.2-4.mga4.x86_64 perl-base = 2:5.18.1-3.2.mga4 is needed by (installed) perl-2:5.18.1-3.2.mga4.x86_64 perl-base = 2:5.18.1 is needed by (installed) vim-enhanced-7.4.052-3.mga4.x86_64 perlapi-5.18.1 is needed by (installed) perl-File-Sync-0.110.0-6.mga4.x86_64 perlapi-5.18.1 is needed by (installed) perl-File-FnMatch-0.20.0-10.mga4.x86_64 perlapi-5.18.1 is needed by (installed) perl-Locale-gettext-1.50.0-10.mga4.x86_64 perlapi-5.18.1 is needed by (installed) perl-Cairo-1.104.0-2.mga4.x86_64 perlapi-5.18.1 is needed by (installed) perl-Net-SSLeay-1.550.0-2.mga4.x86_64 perlapi-5.18.1 is needed by (installed) perl-Curses-1.280.0-11.mga4.x86_64 perlapi-5.18.1 is needed by (installed) perl-Linux-Pid-0.40.0-4.mga4.x86_64 perlapi-5.18.1 is needed by (installed) perl-Cairo-GObject-1.1.0-5.mga4.x86_64 perlapi-5.18.1 is needed by (installed) perl-Crypt-SSLeay-0.640.0-4.mga4.x86_64 perlapi-5.18.1 is needed by (installed) perl-Net-DBus-1.0.0-5.mga4.x86_64 perlapi-5.18.1 is needed by (installed) perl-Term-ReadLine-Gnu-1.200.0-10.mga4.x86_64 rpm = 1:4.11.1-9.1.mga4 is needed by (installed) rpm-build-1:4.11.1-9.1.mga4.x86_64 List of packages urpmi wanted in the first transaction which were excluded: < lib64gio2.0_0 < perl < perl-Cairo < perl-Cairo-GObject < perl-Crypt-SSLeay < perl-Curses < perl-File-FnMatch < perl-File-Sync < perl-Linux-Pid < perl-Locale-gettext < perl-Net-DBus < perl-Net-SSLeay < perl-Term-ReadLine-Gnu < perl-devel < rpm-build < vim-enhanced
strange thing, in setSelectedFromCompssList, lib64gio2.0_0 is listed twice: ... lib64gimp2.0_0 lib64gio2.0_0 lib64gio2.0_0 lib64girepository-gir2.0 ... Also in "rpms sorted by dependencies": dash-static glibc+setup+filesystem+bash+lib64ncurses5+libgcc1+libstdc++6+ncurses+run-parts lib64ffi6 lib64pcre1 lib64glib2.0_0 lib64expat1 lib64dbnss5.3 lib64zlib1 lib64crack2 lib64audit1 lib64pam0 lib64gio2.0_0 lib64nspr4 lib64mozjs185_1.0 lib64gio2.0_0 lib64lzma5
CC: (none) => pterjan
Duplicates in rpms sorted by dependencies: $ sort deps | uniq -d kernel-firmware-nonfree lib64gio2.0_0 locales-en microcode perl-Cairo perl-File-FnMatch perl-List-MoreUtils perl-Locale-gettext python-rpm radeon-firmware
Some are very strange, for example kernel-firmware-nonfree does not require anything and is not required by anything.
When I run it here: installed lib64gio2.0_0-2.38.2-4.mga4.x86_64 is conflicting because of unsatisfied lib64glib2.0_0[== 2.38.2] lib64glib2.0_0[*][== 2.38.2] promoting lib64gio2.0_0-2.42.1-1.mga5.x86_64 because of conflict above In the report.bug: * installed lib64gio2.0_0-2.38.2-4.mga4.x86_64 is conflicting because of unsatisfied lib64glib2.0_0[*][== 2.38.2] lib64glib2.0_0[== 2.38.2] * promoting lib64gio2.0_0-2.42.1-1.mga5.x86_64 lib64gio2.0_0-2.42.1-1.mga5.x86_64 because of conflict above I am not using the install media, only cauldron. Downloading an iso to try again with it + cauldron.
OK that line is unrelated, it is indeed twice there when in 2 media, but still only once in the list sorted by dependencies: installed lib64gio2.0_0-2.38.2-4.mga4.x86_64 is conflicting because of unsatisfied lib64glib2.0_0[== 2.38.2] lib64glib2.0_0[*][== 2.38.2] promoting lib64gio2.0_0-2.42.1-1.mga5.x86_64 lib64gio2.0_0-2.42.1-1.mga5.x86_64 because of conflict above
other duplicate I had not noticed as it's on a single line, perl: perl-base+perl+perl+perl-parent+perl-Apache-Test which gives me more like it: e2fsprogs gtk lib64gtk perl perl-Gtk2 perl-Net-DBus perl-URPM perl-XML-LibXML plymouth sound-scripts util-linux
similar issue in my run: 13 vs 14 and thus boom * scheduled sets of transactions: remove=0= update=14=libgcc1,microcode,lib64ncurses5,libstdc++6,bash,setup,locales,glibc,lib64ncursesw5,ncurses,filesystem,dash-static,run-parts,locales-en installing setup-2.7.21-4.mga5.noarch.rpm bash-4.3-33.1.mga5.x86_64.rpm lib64ncursesw5-5.9-21.mga5.x86_64.rpm glibc-2.20-16.mga5.x86_64.rpm locales-2.20-4.mga5.x86_64.rpm libgcc1-4.9.2-4.mga5.x86_64.rpm libstdc++6-4.9.2-4.mga5.x86_64.rpm lib64ncurses5-5.9-21.mga5.x86_64.rpm locales-en-2.20-4.mga5.x86_64.rpm run-parts-4.4-4.mga5.x86_64.rpm dash-static-0.5.7-6.mga5.x86_64.rpm filesystem-2.1.9-25.mga5.x86_64.rpm ncurses-5.9-21.mga5.x86_64.rpm from /tmp/image/media/core starting installing packages created transaction for installing on /mnt (remove=0, install=0, upgrade=13) Installation failed: microcode < 0.20140913-2 conflicts with glibc-6:2.20-16.mga5.x86_64
Interesting that only one package was excluded, microcode while it doesn't require anything or is required by anything.
But as the error points out, it has a conflict: microcode:glibc[< 6:2.20-11]
Other side of the conflict: glibc:microcode[< 0.20140913-2]
I had missed comment #2 pointing out another package missing from a transaction (util-linux). It was also part of the packages listed twice in the "sorted by dependencies" list: e2fsprogs gtk kernel-firmware-nonfree lib64gio2.0_0 lib64gtk locales-en microcode perl perl-Cairo perl-File-FnMatch perl-Gtk2 perl-List-MoreUtils perl-Locale-gettext perl-Net-DBus perl-URPM perl-XML-LibXML plymouth python-rpm radeon-firmware sound-scripts util-linux Could it be that urpmi moves it to another transaction when it sees it the second time, and it ends up not put in the first one?
In this example lib64gio2.0_0 is in 2 transactions, and gets dropped from the first one: remove=0= update=90=perl-XML-Parser,gcc-cpp,perl-Curses,lib64gio2.0_0,perl-BSD-Resource,harddrake-ui,glib2.0-common,perl-Term-ReadKey,userdrake,lib64ncursesw5,frozen-bubble,perl-File-FnMatch,perl-Data-Dump,microcode,gtk+2.0,perl-Digest-SHA1,perl,perl-Apache-Test,lib64gtk+-x11-2.0_0,locales-en,perl-Compress-Bzip2,perl-SVN,lib64rpm3,gcc,libgcc1,perl-Glib,drakxtools-curses,perl-String-CRC32,subversion,samba-client,perl-Glib-Object-Introspection,vim-common,perl-URPM,perl-Crypt-SSLeay,lib64glib2.0_0,perl-WWW-Curl,lib64ncursesw-devel,rpm-build,lib64glib2.0-devel,perl-Data-Flow,perl-Cairo,perl-Filesys-Df,perl-HTML-Parser,glibc,rpm,glib-gettextize,lib64ncurses5,run-parts,perl-SDL,perl-Term-ReadLine-Gnu,perl-Linux-Pid,perl-DBD-mysql,perl-Gtk2,locales,bash,perl-Pango,perl-Gnome2-Vte,apache-mod_perl,perl-Net-DBus,lib64gtk+2.0_0,perl-Cairo-GObject,perl-File-Sync,perl-List-MoreUtils,transfugdrake,libstdc++6,libstdc++-devel,perl-Locale-gettext,perl-devel,lib64SDL_gfx15,drakxtools-backend,perl-DBI,drakxtools,lib64rpmbuild3,harddrake,perl-Archive-Zip,perl-base,lib64svn0,vim-enhanced,perl-Gtk2-WebKit,perl-Net-SSLeay,lib64ncurses-devel,perl-XML-LibXML,dash-static,filesystem,setup,gcc-c++,glibc-devel,python-rpm,lib64lua5.2,ncurses remove=0= update=9=lib64pam0,lib64lzma-devel,lib64lzma5,lib64nspr4,lib64gdbm4,lib64gio2.0_0,lib64mozjs185_1.0,lib64db5.3,xz
so there would be 2 issues: - duplicate packages - removing package from 1st transaction when seen a 2nd tile
Yes, I think so. So far looking through the code and reading the log I would believe they have to have different ids, so probably the same package gets selected from both media. I couldn't find where it would get dropped, still reading.
in urpm::main_loop::run(), in my case, microcode is part of the first $set, but it's not present anymore in $transaction_blists returned by urpm::install::prepare_transaction() It's likely that the duplicate packages cause issue in urpm::get_pkgs::selected2local_and_blists()
Created attachment 6239 [details] Patch which may help This patch should help avoid duplicates
Created attachment 6240 [details] sort by ids (like in other place) when promoting b/c of eg: conflicts
Comment on attachment 6213 [details] Initial ananlyse of packages causing transaction failures sort {$a <=> $b}
Attachment 6213 is obsolete: 0 => 1
Attachment 6158 is obsolete: 0 => 1
Attachment 6074 is obsolete: 0 => 1
Attachment 6073 is obsolete: 0 => 1
Attachment 6072 is obsolete: 0 => 1
Attachment 5943 is obsolete: 0 => 1
Attachment 6030 is obsolete: 0 => 1
Attachment 6020 is obsolete: 0 => 1
Created attachment 6241 [details] more complete fix Pascal, I didn't saw your patch, I'll check if it's OK too.
Attachment 6240 is obsolete: 0 => 1
Mine may or may not be useful, yours look more interesting for fixing this bug :)
Sadly there's still a failure b/c of shorewall around 3/4 of the upgrade :-(
I think we'll need both patches. Waiting for a full upgrade. If you want faster testing, you can use drakx-in-chroot on the mounted ISO: tools/drakx-in-chroot $PWD/iso/x86_64 /T2 --useless_thing_accepted --justdb --flang fr --keyboard fr --tune-rpm --debug_urpmi --lang fr --stage2-update any.pm /usr/lib/libDrakX/install/any.pm --stage2-update main_loop.pm /usr/lib/perl5/vendor_perl/5.20.1/urpm/main_loop.pm --stage2-update install.pm /usr/lib/perl5/vendor_perl/5.20.1/urpm/install.pm --stage2-update Resolve.pm /usr/lib/perl5/vendor_perl/5.20.1/x86_64-linux-thread-multi/URPM/Resolve.pm --stage2-update steps_interactive.pm /usr/lib/libDrakX/install/steps_interactive.pm I've local patches for forcing my local mirror w/o typing its URL in ask_mirror() and for spiking media screen If that's OK, I'll still have to run urpmi testsuite
Created attachment 6242 [details] one more fix :-(
(In reply to Thierry Vignaud from comment #76) > Created attachment 6242 [details] > one more fix :-( I was looking into why this happen with installer but not with urpmi --auto-select and ended up in that place, so this one may be the most important.
Well with all of those, upgrade completed last night.
Comment on attachment 6239 [details] Patch which may help Sorry your patch doesn't help. But we need both my URPM patch & my drakx one. Neither is enough
Attachment 6239 is obsolete: 0 => 1
commit fb1aa950f8a70e05c123a48bcab369465037cb0f Author: Thierry Vignaud <thierry.vignaud@...> Date: Sun Apr 12 20:55:47 2015 +0200 fix upgrade when package's in several media sort by ids (like in other places) when finding providing package, thus fixing upgrade when the same package is offered in several media (mga#15350) --- Commit Link: http://gitweb.mageia.org/software/drakx/commit/?id=fb1aa950f8a70e05c123a48bcab369465037cb0f
commit ffb2d910aa08ff5feb4337454af10ecc03bfd0c3 Author: Thierry Vignaud <thierry.vignaud@...> Date: Sun Apr 12 02:39:09 2015 +0200 fix upgrade when package's in several media sort by ids (like in other places) when promoting (b/c of eg: conflicts), thus fixing upgrade when the same package is offered in several media (mga#15350) see commit 53e38beae4d9638f41b219521b802a2969d68909 for similar issue --- Commit Link: http://gitweb.mageia.org/software/rpm/perl-URPM/commit/?id=ffb2d910aa08ff5feb4337454af10ecc03bfd0c3
Closing
Status: NEW => RESOLVEDResolution: (none) => FIXED
Great job tracking it down!
Confirmed fixed with latest isos (april 15th)
commit e134398e5535ddf0e4fbda067eeffd7581a9b339 Author: Thierry Vignaud <thierry.vignaud@...> Date: Tue Mar 24 05:08:14 2015 -0400 (check) fix reporting problems for at least 12 years, since swiching rpm to 4.2 (see commit 60031191b7012fdfe8e1af6bd43ff9b36b0c5825) $trans->check() failed to actually report issues rationale: rpmtsCheck() only actually return !0 if it fails to open rpmdb... in order to check if any problem was found by rpmtsCheck(), one must call retrieving the problem set with rpmtsProblems() rpmtsCheck() success only means that the resolution was successfully attempted for all packages in the set, which isn't that usefull... this might help mga#15350... --- Commit Link: http://gitweb.mageia.org/software/rpm/perl-URPM/commit/?id=e134398e5535ddf0e4fbda067eeffd7581a9b339
oh robot works again? I've 1 one commit in urpmi & one in drakx and voila, no more issue...