Bug 29098

Summary: Installing libqt5waylandclient-devel fails due to missing an older version of systemd-devel for i586
Product: Mageia Reporter: Kristoffer Grundström <lovaren>
Component: New RPM package requestAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: Normal CC: davidwhodgins, lovaren
Version: 8   
Target Milestone: ---   
Hardware: i586   
OS: Linux   
Whiteboard:
Source RPM: systemd-devel CVE:
Status comment:
Attachments: Output of the commands

Description Kristoffer Grundström 2021-06-10 02:20:01 CEST
Description of problem: I wanted to install libqt5waylandclient-devel, but urpmi failed to find systemd-devel for i586 even though all my 32 bit medias are added and fully enabled. Fedora have this package so I don't know why we don't have it.
Comment 1 Thomas Backlund 2021-06-10 08:42:15 CEST
We have all packages needed.

Status: NEW => RESOLVED
Resolution: (none) => INVALID

Comment 3 Kristoffer Grundström 2021-06-10 20:42:59 CEST
It appears as though libqt5waylandclient cannot be installed due to libqt5core-devel needing systemd-devel-246.9-5.mga8.i586 and if I rpm -qa | grep systemd I get:

libsystemd0-246.13-2.mga8
systemd-debuginfo-246.13-2.mga8
lib64systemd0-debuginfo-246.13-2.mga8
lib64systemd0-246.13-2.mga8
systemd-246.13-2.mga8
systemd-devel-246.13-2.mga8
systemd-debugsource-246.13-2.mga8
rpm-plugin-systemd-inhibit-4.16.1.3-1.mga8

This means that the current systemd-devel version is to new. Can this easily be fixed?

Here's the install error from trying to install libqt5waylandclient-devel:

[kristoffer@localhost Desktop]$ sudo urpmi libqt5waylandclient-devel --auto
[sudo] password for kristoffer: 
A requested package cannot be installed:
libdbus-devel-1.13.18-3.mga8.i586 (due to unsatisfied systemd-devel-246.9-5.mga8.i586)
While some packages may have been installed, there were failures.
A requested package cannot be installed:
libdbus-devel-1.13.18-3.mga8.i586 (due to unsatisfied systemd-devel-246.9-5.mga8.i586)
Comment 4 Dave Hodgins 2021-06-10 23:32:26 CEST
There is no libqt5waylandclient package to install. On one of my current
Mageia 8 i586 installs, libqt5waylandclient5 is already installed.

Installing libqt5core-devel and libqt5waylandclient-devel went cleanly along with all of the dependencies.

# rpm -q libqt5waylandclient5 libqt5core-devel systemd-devel
libqt5waylandclient5-5.15.2-2.mga8
libqt5core-devel-5.15.2-4.2.mga8
systemd-devel-246.13-2.mga8

Use urpmq --list-url to determine which mirror that system is using.
Use https://mirrors.mageia.org/status to ensure that mirror is updating on
a reasonable basis.
See https://wiki.mageia.org/en/Installing_and_removing_software#Adding_a_specific_Media_Mirror if you
need to change mirrors.
Comment 5 Kristoffer Grundström 2021-06-10 23:34:31 CEST
(In reply to Dave Hodgins from comment #4)
> There is no libqt5waylandclient package to install. On one of my current
> Mageia 8 i586 installs, libqt5waylandclient5 is already installed.
> 
> Installing libqt5core-devel and libqt5waylandclient-devel went cleanly along
> with all of the dependencies.
> 
> # rpm -q libqt5waylandclient5 libqt5core-devel systemd-devel
> libqt5waylandclient5-5.15.2-2.mga8
> libqt5core-devel-5.15.2-4.2.mga8
> systemd-devel-246.13-2.mga8
> 
> Use urpmq --list-url to determine which mirror that system is using.
> Use https://mirrors.mageia.org/status to ensure that mirror is updating on
> a reasonable basis.
> See
> https://wiki.mageia.org/en/
> Installing_and_removing_software#Adding_a_specific_Media_Mirror if you
> need to change mirrors.

I wasn't looking to install libqt5waylandclient5. I wanted libqt5waylandclient-devel.
Comment 6 Dave Hodgins 2021-06-10 23:54:03 CEST
# rpm -q libqt5waylandclient-devel
libqt5waylandclient-devel-5.15.2-2.mga8

What's the output of "uptime" and "rpm -qa --last|grep systemd" and
"urpmq --list-url|grep /media/core/updates$"?

On my system ...
[root@i8v ~]# uptime
 17:50:57 up 41 min,  3 users,  load average: 0.20, 0.14, 0.07
[root@i8v ~]# rpm -qa --last|grep systemd
systemd-devel-246.13-2.mga8.i586              Thu 10 Jun 2021 05:21:09 PM
systemd-246.13-2.mga8.i586                    Sun 16 May 2021 05:36:46 PM
libsystemd0-246.13-2.mga8.i586                Sun 16 May 2021 05:36:41 PM
rpm-plugin-systemd-inhibit-4.16.1.3-1.mga8.i586 Thu 15 Apr 2021 12:34:20 PM
[root@i8v ~]# urpmq --list-url|grep /media/core/updates$
Core Updates (distrib3) http://mirror.math.princeton.edu/pub/mageia/distrib/8/i586/media/core/updates
Comment 7 Dave Hodgins 2021-06-10 23:57:10 CEST
Also, what's the output of urpmq --not-available?
Comment 8 Kristoffer Grundström 2021-06-11 00:00:24 CEST
Created attachment 12767 [details]
Output of the commands

CC: (none) => lovaren

Kristoffer Grundström 2021-06-11 00:03:22 CEST

Summary: Installing libqt5waylandclient-devel fails due to missing systemd-devel for i586 => Installing libqt5waylandclient-devel fails due to missing an older version of systemd-devel for i586

Comment 9 Dave Hodgins 2021-06-11 00:45:02 CEST
It's an x86-64 system, not an i586 system as specified in the Hardware above,
and I missed noticing that previously.

Mixing x86-64 and i586 devel packages does not work due to file conflicts,
which is part of the reason why i586 repos are not enabled by default. They
should only be enabled to install packages such as wine32, and then disabled
after installing the needed packages. Having them enabled all of the time may
lead to extremely difficult to debug problems if a mirror gets a 32 bit package
before the corresponding 64 bit package. Rare, but very hard to troubleshoot.

Use an i586 install for i586 development.

On that system, there's a mix such as ...
systemd-devel-246.13-2.mga8.x86_64
libsystemd0-246.13-2.mga8.i586

The i586 version of systemd-devel can not be installed with the x86-64 version
also installed.

To clean up that system, I'd disable the 32 bit repos and remove all packages
shown by "urpmq --not-available", then reinstall any wanted 32 bit packages such
as wine32.

It would probably be faster to do a new clean install.