You are not logged in.

#1 2024-03-23 23:33:15

GeorgeJP
Member
From: Czech Republic
Registered: 2020-01-28
Posts: 187

[SOLVED] glib2 vs util-linux-libs

After performing system update (glib2 + many others):

:: Spouští se volání po transakcích...
( 1/12) Reloading user manager configuration...
( 2/12) Creating temporary files...
( 3/12) Reloading device manager configuration...
( 4/12) Arming ConditionNeedsUpdate...
( 5/12) Updating the MIME type database...
( 6/12) Refreshing PackageKit...
gdbus: /usr/lib/libmount.so.1: version `MOUNT_2_40' not found (required by /usr/lib/libgio-2.0.so.0)
chyba: příkaz se nepodařilo spustit správně
( 7/12) Probing GDK-Pixbuf loader modules...
/usr/bin/gdk-pixbuf-query-loaders: /usr/lib/libmount.so.1: version `MOUNT_2_40' not found (required by /usr/lib/libgio-2.0.so.0)
chyba: příkaz se nepodařilo spustit správně
( 8/12) Updating GIO module cache...
( 9/12) Compiling GSettings XML schema files...
/usr/bin/glib-compile-schemas: /usr/lib/libmount.so.1: version `MOUNT_2_40' not found (required by /usr/lib/libgio-2.0.so.0)
chyba: příkaz se nepodařilo spustit správně
(10/12) Updating icon theme caches...
gtk-update-icon-cache: /usr/lib/libmount.so.1: version `MOUNT_2_40' not found (required by /usr/lib/libgio-2.0.so.0)
gtk-update-icon-cache: /usr/lib/libmount.so.1: version `MOUNT_2_40' not found (required by /usr/lib/libgio-2.0.so.0)
chyba: příkaz se nepodařilo spustit správně
(11/12) Reloading GVFS config...
(12/12) Updating the desktop file MIME type cache...

it looks, that util-linux-libs 2.40 is needed.
Current package versions are :

jp@ryzen ~ $ LC_ALL=C sudo pacman -F libmount.so.1
core/util-linux-libs 2.39.3-2 [installed]
    usr/lib/libmount.so.1
jp@ryzen ~ $ LC_ALL=C sudo pacman -F libgio-2.0.so.0
core/glib2 2.80.0-2 [installed]
    usr/lib/libgio-2.0.so.0

Last edited by GeorgeJP (2024-03-23 23:46:06)

Offline

#2 2024-03-23 23:39:54

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,939
Website

Re: [SOLVED] glib2 vs util-linux-libs

Looks like util-linux-libs 2.40rc2 has just been pushed to core: https://archlinux.org/packages/core/x86 … inux-libs/

You may need to wait for a little while for your local mirror to pick up the new version.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2024-03-23 23:46:58

GeorgeJP
Member
From: Czech Republic
Registered: 2020-01-28
Posts: 187

Re: [SOLVED] glib2 vs util-linux-libs

I did select wrong time for update :-D

Offline

#4 2024-03-24 00:09:28

papodaca
Member
Registered: 2016-10-15
Posts: 6

Re: [SOLVED] glib2 vs util-linux-libs

I was able to solve this issue by setting my mirror to one of the successfully synced mirrors on this list, then updating to get the new version of libmount etc.

Offline

#5 2024-03-24 00:37:43

knthmn
Member
Registered: 2021-12-03
Posts: 13

Re: [SOLVED] glib2 vs util-linux-libs

I was using https://mirror.aarnet.edu.au/pub/archlinux/ and had the same issue, how do I prevent this from happening in the future? I assumed that even if the mirror was out of sync, it would still provide me with a consistent set of packages.

Offline

#6 2024-03-24 09:05:48

rouelle
Member
Registered: 2018-03-13
Posts: 34

Re: [SOLVED] glib2 vs util-linux-libs

Since the update I lost any gui, my Asus laptop starts on a black screen, no gdm, only a small cursor. I can switch to tty2 and login with cli works but no gui possible.
systemctl says gdm.service status is enable but preset: disabled.
Gdm: Child process -1207 was already dead.

I was using Gnome 45.4 or .5 (last version) on Wayland without any problem before today's update.


Sous Linux depuis 1998 / Using Linux since 1998

Offline

#7 2024-03-24 09:41:57

rouelle
Member
Registered: 2018-03-13
Posts: 34

Re: [SOLVED] glib2 vs util-linux-libs

here is my gdm status:

gdm.service - GNOME Display Manager
     Loaded: loaded (/usr/lib/systemd/system/gdm.service; enabled; preset: disabled)
     Active: active (running) since Sun 2024-03-24 22:00:35 NZDT; 32min ago
   Main PID: 746 (gdm)
      Tasks: 4 (limit: 9282)
     Memory: 3.7M (peak: 6.2M)
        CPU: 299ms
     CGroup: /system.slice/gdm.service
             └─746 /usr/bin/gdm

mar 24 22:00:38 ZEN14RO gdm[746]: Gdm: GdmDisplay: Session never registered, failing
mar 24 22:00:38 ZEN14RO gdm[746]: Gdm: Child process -1219 was already dead.
mar 24 22:00:38 ZEN14RO gdm[746]: Gdm: GdmDisplay: Session never registered, failing
mar 24 22:00:38 ZEN14RO gdm[746]: Gdm: Child process -1219 was already dead.
mar 24 22:00:38 ZEN14RO gdm[746]: Gdm: GdmDisplay: Session never registered, failing
mar 24 22:00:38 ZEN14RO gdm[746]: Gdm: GdmLocalDisplayFactory: maximum number of X display failures reached: check X server log for errors
mar 24 22:00:38 ZEN14RO gdm[746]: Gdm: Child process -1231 was already dead.
mar 24 22:10:21 ZEN14RO gdm[746]: Gdm: GdmDisplay: Session never registered, failing
mar 24 22:10:21 ZEN14RO gdm[746]: Gdm: GdmLocalDisplayFactory: maximum number of X display failures reached: check X server log for errors
mar 24 22:10:21 ZEN14RO gdm[746]: Gdm: Child process -3572 was already dead.

Strangely I can only do a startx on cli to get only a terminal in which I can run one single app at the time. I was using Wayland and arch linux Gnome on this laptop since 2019 without any problem...


Sous Linux depuis 1998 / Using Linux since 1998

Offline

#8 2024-03-24 10:16:36

larso
Member
Registered: 2015-04-07
Posts: 2

Re: [SOLVED] glib2 vs util-linux-libs

I had issues with gdm as well after fixing the wrong util-linux-libs package version.

I fixed it by reinstalling gdm and gnome shell packages. I did that because I remembered some post upgrade task failed, due to the wrong version of the util-linux-libs package, and reinstalling gdm and/or gnome shell fixed it (don't know if both are needed).

Offline

#9 2024-03-24 11:39:24

Oflor
Member
Registered: 2024-03-24
Posts: 1

Re: [SOLVED] glib2 vs util-linux-libs

It seems this was a mistake on the maintainers' side:

glib2 (provider of libgio):
https://archlinux.org/packages/core/x86_64/glib2/
Signature Date:     2024-03-20 23:09 UTC
Last Updated:     2024-03-23 22:55 UTC

util-linux-libs (provider of libmount):
https://archlinux.org/packages/core/x86 … inux-libs/
Signature Date:     2024-03-01 16:55 UTC
Last Updated:     2024-03-23 23:34 UTC

libgio was built against newer 2.40 version of libmount, which was in testing for a while and never was supposed to be released. Unfortunately, they released it as it is and it caused broken systems, because libmount was still 2.39 for ~40 minutes (+ mirror sync delays). They had to release 2.40rc2 of libmount soon after to fix broken systems, but for some people the damage was already done. If you updated libgio, but did not update libmount, after-commit hooks of pacman were broken and caused broken installations of gnome.

This wasn't a problem with out-of-date mirrors.

Offline

#10 2024-03-24 13:42:36

GeorgeJP
Member
From: Czech Republic
Registered: 2020-01-28
Posts: 187

Re: [SOLVED] glib2 vs util-linux-libs

rouelle wrote:

Since the update I lost any gui...

This thread is marked SOLVED as the reported problem is solved. If you have another problem, open new thread.

The problem was, that package glib2 was pushed to core before util-linux-libs, on which it depends (package util-linux-libs was still in core-testing).
So, anybody (like me) updating system between glib2 release and util-linux-libs release was affected.
Details provided in post #9.

Offline

Board footer

Powered by FluxBB