Bug 28753

Summary: Mageia uninstalled steam and now it can't be reinstalled
Product: Mageia Reporter: Ricardo Naranjo <gramo.gnu>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED FIXED QA Contact:
Severity: critical    
Priority: Normal CC: davidwhodgins, lewyssmith, ouaurelien
Version: 8Keywords: NEEDINFO
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: steam-1.0.0.68-2.mga8.nonfree.x86_64 CVE:
Status comment:

Description Ricardo Naranjo 2021-04-08 23:56:50 CEST
Description of problem:
On first week of mars 2021 I downloaded and installed Mageia 8 with lot of software included steam.

Steam worked fine, but 2 weeks ago I find that steam was not present on my application-games menu (where it is supposed to be)

Now when I run the urpmi steam command I receive the following message:

Si bien algunos paquetes podrían haber sido instalados, hubo problemas.
Los siguientes paquetes no pueden instalarse porque dependen de paquetes
más antiguos que los ya instalados:


I think that the issue was because of an update.


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


How reproducible:

Steps to Reproduce:
1.
Install Mageia 8
Activate Core Release and Updates
Activate Non-Free Release and Updates
Activate Tainted Release and Updates
Activate Core 32bit Release and Updates
Activate Non-Free 32bit Release and Updates
Activate Tainted 32bit Release and Updates
don't update anything

2.
Install steam package.

3.
Play for a while. (everything works fine)

4.
Update Mageia with the MCC

5.
Search steam - it will be nowhere

6.
urpmi steam
Comment 1 Aurelien Oudelet 2021-04-09 16:01:19 CEST
Hi, thanks reporting this.

We do not ship a complete steam client. Our RPM is a tool that will download later the correct Client from Valve servers.

I can't reproduce your bug.

Steam is well pulled by urpmi to be installed. You NEED to activate 32 Bits version of core/release, core/updates and corresponding nonfree and tainted ones of they are also activated.

steam needs:
- gnu-free-fonts-common-20120503-10.mga8.noarch
- gnu-free-mono-fonts-20120503-10.mga8.noarch
- libblkid1-2.36.1-5.mga8.i586
- libbrotlicommon1-1.0.9-2.mga8.i586
- libbrotlidec1-1.0.9-2.mga8.i586
- libbsd0-0.10.0-2.mga8.i586
- libbz2_1-1.0.8-2.mga8.i586
- libcom_err2-1.45.6-6.mga8.i586
- libcurl4-7.74.0-1.mga8.i586
- libdbus-glib1_2-0.110-3.mga8.i586
- libdbus1_3-1.13.18-3.mga8.i586
- libdri-drivers-21.0.1-1.mga8.i586
- libdrm2-2.4.104-1.mga8.i586
- libdrm_amdgpu1-2.4.104-1.mga8.i586
- libdrm_intel1-2.4.104-1.mga8.i586
- libdrm_nouveau2-2.4.104-1.mga8.i586
- libdrm_radeon1-2.4.104-1.mga8.i586
- libedit0-3.1-0.20191231.2.mga8.i586
- libelfutils1-0.182-1.mga8.i586
- libexpat1-2.2.10-1.mga8.i586
- libffi7-3.3-2.mga8.i586
- libfreetype6-2.10.4-2.mga8.i586
- libgcrypt20-1.8.7-1.mga8.i586
- libgio2.0_0-2.66.8-1.mga8.i586
- libgl1-1.3.2-16.mga8.i586
- libglapi0-21.0.1-1.mga8.i586
- libgldispatch0-1.3.2-16.mga8.i586
- libglib-networking-gnutls-2.66.0-1.mga8.i586
- libglib2.0_0-2.66.8-1.mga8.i586
- libglx0-1.3.2-16.mga8.i586
- libgmp10-6.2.1-1.mga8.i586
- libgnutls30-3.6.15-3.mga8.i586
- libgpg-error0-1.41-1.mga8.i586
- libhogweed6-3.6-1.mga8.i586
- libidn2_0-2.3.0-4.mga8.i586
- libintl8-0.21-8.mga8.i586
- libkeyutils1-1.6.3-1.mga8.i586
- libkrb53-1.18.3-1.mga8.i586
- libldap2.4_2-2.4.57-1.1.mga8.i586
- libllvm11.0-11.0.1-4.2.1.mga8.i586
- liblm_sensors5-3.6.0-2.mga8.i586
- liblz4_1-1.9.3-1.mga8.i586
- liblzma5-5.2.5-2.mga8.i586
- libmesagl1-21.0.1-1.mga8.i586
- libmesaglu1-9.0.1-2.mga8.i586
- libmount1-2.36.1-5.mga8.i586
- libncurses6-6.2-20201205.1.mga8.i586
- libnettle8-3.6-1.mga8.i586
- libnghttp2_14-1.42.0-1.mga8.i586
- libopenssl1.1-1.1.1k-1.mga8.i586
- libp11-kit0-0.23.22-2.mga8.i586
- libpciaccess0-0.16-2.mga8.i586
- libpcre1-8.44-1.mga8.i586
- libpng16_16-1.6.37-2.mga8.i586
- libpsl5-0.21.1-1.mga8.i586
- libsasl2_3-2.1.27-3.mga8.i586
- libssh4-0.9.5-1.mga8.i586
- libsystemd0-246.13-1.mga8.i586
- libtasn1_6-4.16.0-4.mga8.i586
- libudev1-246.13-1.mga8.i586
- libunistring2-0.9.10-4.mga8.i586
- libverto1-0.3.1-2.mga8.i586
- libvulkan-loader1-1.2.162.0-1.mga8.i586
- libx11-xcb1-1.7.0-1.mga8.i586
- libx11_6-1.7.0-1.mga8.i586
- libxau6-1.0.9-2.mga8.i586
- libxcb-dri2_0-1.14-1.mga8.i586
- libxcb-dri3_0-1.14-1.mga8.i586
- libxcb-glx0-1.14-1.mga8.i586
- libxcb-present0-1.14-1.mga8.i586
- libxcb-shm0-1.14-1.mga8.i586
- libxcb-sync1-1.14-1.mga8.i586
- libxcb-xfixes0-1.14-1.mga8.i586
- libxcb1-1.14-1.mga8.i586
- libxdmcp6-1.1.3-2.mga8.i586
- libxext6-1.3.4-2.mga8.i586
- libxfixes3-5.0.3-3.mga8.i586
- libxml2_2-2.9.10-7.mga8.i586
- libxshmfence1-1.3-3.mga8.i586
- libxxf86vm1-1.1.4-4.mga8.i586
- libzlib1-1.2.11-9.mga8.i586
- libzstd1-1.4.8-1.mga8.i586
- steam-udevrules-1.0.0.68-1.mga8.noarch
- zenity-3.32.0-2.mga8.x86_64

The 32 bits repos must always activated because of updates.

CC: (none) => ouaurelien

Comment 2 Lewis Smith 2021-04-12 11:13:25 CEST
(In reply to Aurelien Oudelet from comment #1)
> Steam is well pulled by urpmi to be installed. You NEED to activate 32 Bits
> version of core/release, core/updates and corresponding nonfree and tainted
> ones of they are also activated.
> The 32 bits repos must always activated because of updates.
Ricardo did that: (In reply to Ricardo Naranjo from comment #0)
> Activate Core 32bit Release and Updates
> Activate Non-Free 32bit Release and Updates
> Activate Tainted 32bit Release and Updates

> Steam worked fine, but 2 weeks ago I find that steam was not present on my
> application-games menu (where it is supposed to be)
Do you know that Steam had 'disappeared' entirely from your system, or just from the menu? You could try
 $ rpm -q steam
to see whether it is still installed. Or try launching it from a terminal:
 $ steam

> Now when I run the urpmi steam command I receive the following message:
> Si bien algunos paquetes podrían haber sido instalados, hubo problemas.
> Los siguientes paquetes no pueden instalarse porque dependen de paquetes
> más antiguos que los ya instalados:
Please translate briefly what this means; or run:
 # LANG=C urpmi steam
to see what it says in English.
I wonder whether the installion is failing because it was already installed. If so, do (or try anyway; it will complain if steam is not there to remove):
 # urpme steam

> Steam worked fine, but 2 weeks ago...
> I think that the issue was because of an update.
If you do:
 $ rpm --last -qa | less
you will see all packages installed or updated in date order, most recent first. If you have an idea when the problem arose, you can look at what updates were done at the time. Steam itself does not seem to have been changed for some weeks; within the 'less' list, search for steam with /steam to see when it was updated.

CC: (none) => lewyssmith
Status: NEW => NEEDINFO

Comment 3 Aurelien Oudelet 2021-04-18 19:51:25 CEST
Reporter, could you please reply to the previous question? If you don't reply within two weeks from now, I will have to close this bug as OLD. Thank you.

Keywords: (none) => NEEDINFO

Comment 4 Ricardo Naranjo 2021-04-18 23:36:18 CEST
[gramo@localhost ~]$ su -
Contraseña: 
[root@localhost]# rpm -q steam
el paquete steam no está instalado
(steam package is not installed)
[root@localhost]# steam
steam: Command not found.
[root@localhost]# 

Maybe this information is relevant
[root@localhost ~]# find /usr -iname "*steam*" | grep -v svg$
/usr/share/doc/steam
/usr/share/teams/resources/node_modules/@msteams
/usr/share/teams/resources/app.asar.unpacked/node_modules/@msteams
/usr/share/teams/resources/tmp/teams_1.4.00.7556/usr/share/teams/resources/node_modules/@msteams
/usr/share/licenses/steam-udevrules
/usr/share/grilo-plugins/grl-lua-factory/grl-steam-store.lua
/usr/share/mageiawelcome/img/steam.png
/usr/lib/modules/5.10.25-desktop-1.mga8/kernel/drivers/hid/hid-steam.ko.xz
/usr/lib/modules/5.10.20-desktop-2.mga8/kernel/drivers/hid/hid-steam.ko.xz
/usr/lib/modules/5.10.16-desktop-1.mga8/kernel/drivers/hid/hid-steam.ko.xz
/usr/lib/modules/5.10.19-desktop-1.mga8/kernel/drivers/hid/hid-steam.ko.xz
/usr/lib/modules/5.10.27-desktop-1.mga8/kernel/drivers/hid/hid-steam.ko.xz
/usr/lib/udev/rules.d/60-steam-input.rules
/usr/lib/udev/rules.d/60-steam-vr.rules
/usr/src/kernel-5.10.27-desktop-1.mga8/include/config/hid/steam.h
/usr/src/kernel-5.10.20-desktop-2.mga8/include/config/hid/steam.h
/usr/src/kernel-5.10.25-desktop-1.mga8/include/config/hid/steam.h
/usr/src/kernel-5.10.16-desktop-1.mga8/include/config/hid/steam.h
/usr/src/kernel-5.10.19-desktop-1.mga8/include/config/hid/steam.h

[root@localhost ~]# find /lib -iname "*steam*" | grep -v svg$
[root@localhost ~]# 


When I ran LANG=C urpmi steam messages are still displayed in spanish
[root@localhost ~]# LANG=C urpmi steam
Los siguientes paquetes no pueden instalarse porque dependen de paquetes
más antiguos que los ya instalados:
libdri-drivers-20.3.4-2.mga8
libmesagl1-20.3.4-2.mga8
libgl1-1.3.2-16.mga8
steam-1.0.0.68-2.mga8.nonfree
libmesaglu1-9.0.1-2.mga8
libgldispatch0-1.3.2-16.mga8
libglx0-1.3.2-16.mga8
¿Seguir adelante con la instalación? (S/n) n

But the message says something like:
"The following packages can't be installed because they deppend on older packages than the already installed"
"Keep going on installation? (Y/n)"

maybe this udevrules seems to be suspicious:
[root@localhost ~]# rpm --last -qa | grep steam
steam-udevrules-1.0.0.68-1.mga8.noarch        dom 28 feb 2021 16:43:30

[root@localhost ~]# urpme steam
Los siguientes paquetes contienen steam: 
"The following packages contains steam:"
steam-udevrules-1.0.0.68-1.mga8.noarch

do you suggest to uninstall this steam-udevrules and try to reinstall steam?

Thanks for your response
Comment 5 Aurelien Oudelet 2021-04-19 05:04:53 CEST
Yeah, try it.

As root:

urpme steam-udevrules

urpme steam

Reboot

Now make sure to enable 32 bits repositories with drakrpm-edit-media command:
core release and core updates enabled;
Nonfree release and nonfree updates;
Tainted release and tainted updates.

If this still occurs:
As root:

urpmi.removemedia -a

Now you must add a specific mirror next you. If you are in Europe:

urpmi.addmedia --distrib http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/8/x86_64

Next make sure again that 32bits repositories are enabled with drakrpm-edit-media command.

Try again run urpmi steam
Comment 6 Ricardo Naranjo 2021-04-19 05:16:00 CEST
I did

urpme steam-udevrules
urpmi.addmedia --distrib http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/8/x86_64

then I checked 32bits repositories were enabled and
urpmi steam

Everything seems to be working, (I did't reboot, seems to be no need to)
Comment 7 Ricardo Naranjo 2021-04-19 05:16:52 CEST
yes steam works nicely

Status: NEEDINFO => RESOLVED
Resolution: (none) => FIXED

Comment 8 Aurelien Oudelet 2021-04-19 05:45:15 CEST
Yeah thanks for feedback.

But now we are unsure if this is due to removing steam-udevrules first or changing repositories to distrib-coffee mirror......

Can you even say me what mirror where chosen by $MIRRORLIST? Sometimes we find this in rpm log... under /var/log... Can be useful to know which mirror messed up... But nevermind if you don't have the infos.
Comment 9 Ricardo Naranjo 2021-04-19 06:21:14 CEST
No, I can't find that information

When I installed Mageia 8, as usual, I went to the repository list and clicked on the third button that adds the full set of repositories automatically, maybe that info worth something.

Something I noticed after install the repositories you recommended, was the update button shows lots of packages out of date. It seems that the automatic repositories I had were oudated.

The list includes gcc-c++, gcc-cpp, gimp, mate-desktop, php, gstreamer, python 3, tkinter and X11 into the most relevants.

If you show me how to get the list of my current repositories, I can remove them again (urpmi.removemedia -a), ask for automatic repositories and I'll tell you which ones the system loads.
Comment 10 Dave Hodgins 2021-04-19 18:02:34 CEST
"urpmq --list-url" will show which mirror is being used, whether it's auto
selected based on mirrorlist or a specific mirror has been chosen.

CC: (none) => davidwhodgins

Comment 11 Ricardo Naranjo 2021-04-21 01:03:42 CEST
I erased all repositories and then I obtained automatically them

The information says:
 http://mirror.cedia.org.ec

I think this is the repository I used to get automatically before your advise but not 100% sure

# urpmq --list-url
Core Release (distrib1) http://mirror.cedia.org.ec/mageia/distrib/8/x86_64/media/core/release
Core Release Debug (distrib2) 
Core Updates (distrib3) http://mirror.cedia.org.ec/mageia/distrib/8/x86_64/media/core/updates
Core Updates Debug (distrib4) 
Core Updates Testing (distrib5) 
Core Updates Testing Debug (distrib6) 
Core Backports (distrib7) 
Core Backports Debug (distrib8) 
Core Backports Testing (distrib9) 
Core Backports Testing Debug (distrib10) 
Nonfree Release (distrib11) http://mirror.cedia.org.ec/mageia/distrib/8/x86_64/media/nonfree/release
Nonfree Release Debug (distrib12) 
Nonfree Updates (distrib13) http://mirror.cedia.org.ec/mageia/distrib/8/x86_64/media/nonfree/updates
Nonfree Updates Debug (distrib14) 
Nonfree Updates Testing (distrib15) 
Nonfree Updates Testing Debug (distrib16) 
Nonfree Backports (distrib17) 
Nonfree Backports Debug (distrib18) 
Nonfree Backports Testing (distrib19) 
Nonfree Backports Testing Debug (distrib20) 
Tainted Release (distrib21) http://mirror.cedia.org.ec/mageia/distrib/8/x86_64/media/tainted/release
Tainted Release Debug (distrib22) 
Tainted Updates (distrib23) http://mirror.cedia.org.ec/mageia/distrib/8/x86_64/media/tainted/updates
Tainted Updates Debug (distrib24) 
Tainted Updates Testing (distrib25) 
Tainted Updates Testing Debug (distrib26) 
Tainted Backports (distrib27) 
Tainted Backports Debug (distrib28) 
Tainted Backports Testing (distrib29) 
Tainted Backports Testing Debug (distrib30) 
Core 32bit Release (distrib31) http://mirror.cedia.org.ec/mageia/distrib/8/i586/media/core/release
Core 32bit Updates (distrib32) http://mirror.cedia.org.ec/mageia/distrib/8/i586/media/core/updates
Core 32bit Updates Testing (distrib33) 
Core 32bit Backports (distrib34) 
Core 32bit Backports Testing (distrib35) 
Nonfree 32bit Release (distrib36) http://mirror.cedia.org.ec/mageia/distrib/8/i586/media/nonfree/release
Nonfree 32bit Updates (distrib37) http://mirror.cedia.org.ec/mageia/distrib/8/i586/media/nonfree/updates
Nonfree 32bit Updates Testing (distrib38) 
Nonfree 32bit Backports (distrib39) 
Nonfree 32bit Backports Testing (distrib40) 
Tainted 32bit Release (distrib41) http://mirror.cedia.org.ec/mageia/distrib/8/i586/media/tainted/release
Tainted 32bit Updates (distrib42) http://mirror.cedia.org.ec/mageia/distrib/8/i586/media/tainted/updates
Tainted 32bit Updates Testing (distrib43) 
Tainted 32bit Backports (distrib44) 
Tainted 32bit Backports Testing (distrib45)
Comment 12 Ricardo Naranjo 2021-04-26 23:06:31 CEST
Hello

I just confirmed on other computer that cedia.org.ec are the outdated ones.

I ask for the list of repositories just after steam stop working and rpm reports cedia.org.

Then I did the procedure you recommend and then the list of software to be updated grows to 200 packages (including steam)
Comment 13 Lewis Smith 2021-04-27 20:51:34 CEST
(In reply to Ricardo Naranjo from comment #12)
> I just confirmed on other computer that cedia.org.ec are the outdated ones.
> I ask for the list of repositories just after steam stop working and rpm
> reports cedia.org.
Thank you for your further trials.
If we are using an outdated mirror (http://mirror.cedia.org.ec/) then it seems to me that the bug could be re-opened with a different title. And to whom direct it? Await more expert feedback.