You are not logged in.

#1 2024-03-25 21:10:48

zuntik
Member
Registered: 2017-08-11
Posts: 37

[Solved] glib2 conflicts with gobject-introspection-runtime

Hello,

I'm getting the following when running `sudo pacman -Syy && sudo pacman -S glib2

:: Synchronizing package databases...
core                                                                    128.0 KiB   451 KiB/s 00:00 [###########################################################] 100%
extra                                                                     8.2 MiB  11.0 MiB/s 00:01 [###########################################################] 100%
resolving dependencies...
looking for conflicting packages...

Packages (1) glib2-2.80.0-2

Total Installed Size:  37.69 MiB
Net Upgrade Size:      13.49 MiB

:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring                                                                       [###########################################################] 100%
(1/1) checking package integrity                                                                     [###########################################################] 100%
(1/1) loading package files                                                                          [###########################################################] 100%
(1/1) checking for file conflicts                                                                    [###########################################################] 100%
error: failed to commit transaction (conflicting files)
glib2: /usr/lib/girepository-1.0/GLib-2.0.typelib exists in filesystem (owned by gobject-introspection-runtime)
glib2: /usr/lib/girepository-1.0/GModule-2.0.typelib exists in filesystem (owned by gobject-introspection-runtime)
glib2: /usr/lib/girepository-1.0/GObject-2.0.typelib exists in filesystem (owned by gobject-introspection-runtime)
glib2: /usr/lib/girepository-1.0/Gio-2.0.typelib exists in filesystem (owned by gobject-introspection-runtime)
Errors occurred, no packages were upgraded.

Thank you!

Last edited by zuntik (2024-03-25 21:47:23)

Offline

#2 2024-03-25 21:22:39

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

Re: [Solved] glib2 conflicts with gobject-introspection-runtime

Then... don't do that.


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-25 21:46:43

zuntik
Member
Registered: 2017-08-11
Posts: 37

Re: [Solved] glib2 conflicts with gobject-introspection-runtime

Thank you for the reply.
I did do a normal upgrade with "pacman -Syu"  that failed. So that is why I posted the specific "pacman -S glib2", because I thought it would help highlight the problem. So the problem wasn't that. There was still something more going on. However, the problem has gone because I ran an upgrade and ignored that package. I left it for last. After finishing, the normal "pacman -Syu" worked so the problem is solved. Perhaps it was because I was simultaneously upgrading AUR packages (I was actually using yay and not pacman)

Offline

Board footer

Powered by FluxBB