Bug 27918

Summary: Package libgl1-1.3.2-16.mga8.i586 "cannot be installed" "due to unsatisfied libmesagl1[>= 20.1.4], trying to promote libGL.so.1".
Product: Mageia Reporter: PC LX <mageia>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: Normal CC: arusanu, ghibomgx, mageia, ouaurelien, thierry.vignaud, tmb
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: libglvnd-1.3.2-16.mga8.src.rpm CVE:
Status comment:
Attachments: /usr/sbin/urpmi --split-length 0 --auto-update --urpmi-root /var/lib/machines/marte_cauldron/ --debug 2>&1 | tee /tmp/urpmi.log
urpmi --debug log

Description PC LX 2020-12-23 13:36:06 CET
Description of problem:

When upgrading an up-to-date Mageia 7 system to Mageia 8/cauldron the following message is shown:

"""
Some requested packages cannot be installed:
libgl1-1.3.2-16.mga8.i586 (due to unsatisfied libmesagl1[>= 20.1.4], trying to promote libGL.so.1)
"""



Version-Release number of selected component (if applicable):

libgl1-1.3.2-16.mga8.i586



How reproducible:

Always.



Steps to Reproduce:
1. Start with a fully up-to-date Mageia 7 system the package mesa installed.
2. Remove all the Mageia 7 repositories (urpmi.removemedia -a).
3. Add the Mageia 8/cauldron repositories (urpmi.addmedia --distrib "http://ftp.free.fr/mirrors/mageia.org/distrib/cauldron/x86_64/").
4. Do an update (urpmi --split-length 0 --auto-update).
5. See the error message indicated above.
Comment 1 Aurelien Oudelet 2020-12-23 15:19:34 CET
Hi, thanks reporting this.

What I don't understand is in steps to reproduce. You wrote you add x86_64 media and the mentioned package is i586...........

So this is totally normal.
Also, Cauldron is not frozen for now until 4th January 2021 at least.
Upgrading is not totally reliable.

CC: (none) => ouaurelien

David Walser 2020-12-23 16:34:16 CET

CC: (none) => ghibomgx, thierry.vignaud, tmb

Comment 2 Thomas Backlund 2020-12-23 16:45:03 CET
are the 32bit medias active ?

we are switching from standard mesa in Mageia 7 to glvnd enabled mesa in Mageia 8
Comment 3 PC LX 2020-12-23 17:10:04 CET
Yes, 32bit media are active (core, nonfree, tainted).
Comment 4 Thomas Backlund 2020-12-23 17:22:22 CET
Can you run the same command with "--debug  2>&1 |tee urpmi.log" added.

then compress the urpmi.log and attach it here
Comment 5 PC LX 2020-12-23 20:56:25 CET
Created attachment 12148 [details]
/usr/sbin/urpmi --split-length 0 --auto-update --urpmi-root /var/lib/machines/marte_cauldron/ --debug  2>&1 | tee  /tmp/urpmi.log

Compressed debug log of urpmi as requested.
Comment 6 PC LX 2020-12-23 21:00:05 CET
The debug log may also be useful for bug 27919 and bug 27916.
Comment 7 Aurelian R 2020-12-23 21:31:17 CET
Created attachment 12149 [details]
urpmi --debug log

The bug seems to lay down to some incompatibility risen from llvm-11 package.
My up to date cauldron x64 system with llvm-11 generate similar issues if I try to install libgl1-1.3.2-16.mga8.i586 as required by nvidia390-lib32-390.138-16.mga8.nonfree.x86_64. This was previously working fine with llvm-10.
Attached is a file with "urpmi --debug" log for libgl1-1.3.2-16.mga8.i586 and nvidia390-lib32-390.138-16.mga8.nonfree.x86_64 rpms.

The following is a list of llvm rpms installed on my system 

$rpm -qa --last | grep llvm
llvm-test-11.0.1-2.rc2.1.mga8.x86_64          Mon 21 Dec 2020 10:30:52 PM EET
lib64llvm-devel-11.0.1-2.rc2.1.mga8.x86_64    Mon 21 Dec 2020 10:30:52 PM EET
llvm-11.0.1-2.rc2.1.mga8.x86_64               Mon 21 Dec 2020 10:30:51 PM EET
lib64llvm11.0-11.0.1-2.rc2.1.mga8.x86_64      Mon 21 Dec 2020 10:30:51 PM EET
llvm-static-11.0.1-2.rc2.1.mga8.x86_64        Mon 21 Dec 2020 10:30:50 PM EET

Hope this helps.

CC: (none) => arusanu

Comment 8 Aurelian R 2020-12-23 21:42:14 CET
Adding to comment #7:

This is the list of packages that I had to remove in order to install all the llvm-11 rpms listed in comment7:

- libdri-drivers-20.3.1-1.mga8.i586
- libegl1-1.3.2-16.mga8.i586
- libgl1-1.3.2-16.mga8.i586
- libgldispatch0-1.3.2-16.mga8.i586
- libglesv1_cm1-1.3.2-16.mga8.i586
- libglesv22-1.3.2-16.mga8.i586
- libglx0-1.3.2-16.mga8.i586
- libmesaegl1-20.3.1-1.mga8.i586
- libmesagl1-20.3.1-1.mga8.i586
- libmesaglesv1_1-20.3.1-1.mga8.i586
- libmesaglesv2_2-20.3.1-1.mga8.i586
- libmesaglu1-9.0.1-2.mga8.i586
- libopengl0-1.3.2-16.mga8.i586
- libosmesa8-20.3.1-1.mga8.i586
- nvidia390-lib32-390.138-16.mga8.nonfree.x86_64

- python3-llvmlite-0.32.0-1.mga8.x86_64
- python3-numba-0.49.0-1.mga8.x86_64
Comment 9 Thomas Backlund 2020-12-24 17:56:56 CET
Please try again when  llvm-11.0.1-2.rc2.2.mga8 is on your mirror, it has removed the devel deps causing the install issues
Comment 10 Aurelian R 2020-12-24 18:50:44 CET
All seems fine with the latest llvm-11. Every conflicting rpms are sorted out for my comments.
Thanks for your hard work.
Comment 11 Thomas Backlund 2020-12-24 18:52:03 CET
You can thank Thierry, it was he that fixed the deps...
I'm just the messenger :)
Comment 12 Aurelian R 2020-12-24 21:17:38 CET
You're a great team over there at Mageia, even thou my thanks are not aimed pointedly at one person I do appreciate each and everyone's contribution and help (even messenger ;) ).
Thus, thanks Thierry and team Mageia and Happy Holidays!
Comment 13 Nicolas Lécureuil 2020-12-25 23:02:35 CET
closing thanks :-)

Resolution: (none) => FIXED
CC: (none) => mageia
Status: NEW => RESOLVED