Bug 2386890 - gdk-pixbuf-thumbnailer.thumbnailer conflicts between attempted installs of gdk-pixbuf2-2.43.3-4.fc43.i686 and gdk-pixbuf2-2.43.3-4.fc43.x86_64
Summary: gdk-pixbuf-thumbnailer.thumbnailer conflicts between attempted installs of gd...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gdk-pixbuf2
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Michael Catanzaro
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 2388275 2388374 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-08-06 16:26 UTC by Mikhail
Modified: 2025-08-17 15:49 UTC (History)
11 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-08-16 14:11:02 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Mikhail 2025-08-06 16:26:04 UTC
# dnf upgrade --refresh --exclude="ca-certificates"
Updating and loading repositories:
 warpdotdev                             100% |   1.8 KiB/s |   1.5 KiB |  00m01s
 vivaldi-snapshot                       100% |   3.5 KiB/s |   3.0 KiB |  00m01s
 Sublime Text - x86_64 - Dev            100% |   3.4 KiB/s |   2.9 KiB |  00m01s
 Scooter Software                       100% |   4.2 KiB/s |   3.0 KiB |  00m01s
 Fedora rawhide openh264 (From Cisco) - 100% | 354.0   B/s | 986.0   B |  00m03s
 google-chrome-unstable                 100% |   2.2 KiB/s |   1.3 KiB |  00m01s
 RPM Fusion for Fedora Rawhide - Nonfre 100% |   4.2 KiB/s |   9.8 KiB |  00m02s
 Fedora - Rawhide - Debug               100% |   6.1 KiB/s |  12.6 KiB |  00m02s
 local repo                             100% |   5.4 KiB/s |   1.5 KiB |  00m00s
 microsoft-edge-dev                     100% |   5.4 KiB/s |   1.5 KiB |  00m00s
 RPM Fusion for Fedora Rawhide - Free   100% |   5.3 KiB/s |   9.4 KiB |  00m02s
 Brave Browser - Nightly                100% |   9.9 KiB/s |   2.0 KiB |  00m00s
 Fedora - Rawhide - Developmental packa 100% |  14.2 KiB/s |  16.0 KiB |  00m01s
Repositories loaded.
Package                          Arch   Version                 Reposit      Size
Upgrading:
 gdk-pixbuf2                     i686   2.43.3-4.fc43           rawhide   2.5 MiB
   replacing gdk-pixbuf2         i686   2.42.12-10.fc42         rawhide   2.5 MiB
 gdk-pixbuf2                     x86_64 2.43.3-4.fc43           rawhide   2.5 MiB
   replacing gdk-pixbuf2         x86_64 2.42.12-10.fc42         rawhide   2.5 MiB
 gdk-pixbuf2-modules             i686   2.43.3-4.fc43           rawhide 107.6 KiB
   replacing gdk-pixbuf2-modules i686   2.42.12-10.fc42         rawhide  61.8 KiB
 gdk-pixbuf2-modules             x86_64 2.43.3-4.fc43           rawhide 114.8 KiB
   replacing gdk-pixbuf2-modules x86_64 2.42.12-10.fc42         rawhide  63.4 KiB
Installing dependencies:
 glycin-libs                     x86_64 2.0~alpha.6-2.fc43      rawhide   5.1 MiB

Transaction Summary:
 Installing:         1 package
 Upgrading:          4 packages
 Replacing:          4 packages

Total size of inbound packages is 3 MiB. Need to download 0 B.
After this operation, 5 MiB extra will be used (install 10 MiB, remove 5 MiB).
Is this ok [y/N]: y
[1/5] glycin-libs-0:2.0~alpha.6-2.fc43. 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                          
[2/5] gdk-pixbuf2-0:2.43.3-4.fc43.x86_6 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                          
[3/5] gdk-pixbuf2-modules-0:2.43.3-4.fc 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                          
[4/5] gdk-pixbuf2-0:2.43.3-4.fc43.i686  100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                          
[5/5] gdk-pixbuf2-modules-0:2.43.3-4.fc 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                          
--------------------------------------------------------------------------------
[5/5] Total                             100% |   0.0   B/s |   0.0   B |  00m00s
Running transaction
Transaction failed: Rpm transaction failed.
  - file /usr/share/thumbnailers/gdk-pixbuf-thumbnailer.thumbnailer conflicts between attempted installs of gdk-pixbuf2-2.43.3-4.fc43.i686 and gdk-pixbuf2-2.43.3-4.fc43.x86_64


Reproducible: Always

Comment 1 Danijel Posilovic 2025-08-07 15:52:32 UTC
Same issue here:

Comment 2 Hadi Chokr 2025-08-11 07:11:32 UTC
Can reproduce.

Comment 3 Michael Catanzaro 2025-08-13 20:56:35 UTC
*** Bug 2388374 has been marked as a duplicate of this bug. ***

Comment 4 Michael Catanzaro 2025-08-13 20:56:50 UTC
*** Bug 2388275 has been marked as a duplicate of this bug. ***

Comment 5 Michael Catanzaro 2025-08-13 21:04:02 UTC
Here is the x86_64 version of this file:

[Thumbnailer Entry]
TryExec=/usr/bin/gdk-pixbuf-thumbnailer
Exec=/usr/bin/gdk-pixbuf-thumbnailer -s %s %u %o
MimeType=image/png;image/jpeg;image/gif;image/tiff;

I wonder what the 32-bit version of the file looks like. For multilib to work, it needs to be identical. But I guess I wouldn't be too surprised if the 32-bit version points to a 32-bit version of the executable under a different path....

Comment 6 Michael Catanzaro 2025-08-13 22:15:31 UTC
(In reply to Michael Catanzaro from comment #5)
> But I guess I wouldn't be too surprised if
> the 32-bit version points to a 32-bit version of the executable under a
> different path....

Worst case scenario: need to move the thumbnailers from /usr/share to /usr/lib and /usr/lib64?

Comment 7 Fabio Valentini 2025-08-14 11:28:43 UTC
Contents of the file in gdk-pixbuf2-2.43.3-4.fc43.i686:

```
[Thumbnailer Entry]
TryExec=/usr/bin/gdk-pixbuf-thumbnailer
Exec=/usr/bin/gdk-pixbuf-thumbnailer -s %s %u %o
MimeType=image/png;image/gif;image/jpeg;image/tiff;
```

So it is semantically identical, but the *order* of entries in the MimeType filed is different, which causes this issue.

Comment 8 Michael Catanzaro 2025-08-14 18:15:00 UTC
Should be fixed by gdk-pixbuf2-2.43.3-5.fc43. However, Bodhi is currently broken, so I'm not able to create an update. I'm going to give up now. Anybody else should feel free to create the update once Bodhi has recovered.

Comment 9 Michael Catanzaro 2025-08-14 20:34:53 UTC
Looks like the update was created automatically: https://bodhi.fedoraproject.org/updates/FEDORA-2025-6ba949319b

Please complain if you still have trouble with gdk-pixbuf2-2.43.3-5.fc43.

Comment 10 Sebastian Keller 2025-08-15 12:59:59 UTC
The problem still persists when trying to install the 2.43.3-5.fc43 packages downloaded from koji. The packages support a different set of formats. The i686 build does not use glycin and thus only supports the formats supported in gdk-pixbuf and enabled by default when building. The x86_64 build uses glycin and thus supports everything supported by glycin.

The supported mime types of the i686 build are:
MimeType=image/gif;image/jpeg;image/png;image/tiff;

And for x86_64:
MimeType=application/ico;image/avif;image/bmp;image/gif;image/gif;image/heic;image/heif;image/ico;image/icon;image/jpeg;image/jpeg;image/jxl;image/png;image/png;image/qoi;image/raw;image/svg;image/svg+xml;image/svg+xml-compressed;image/svg-xml;image/tiff;image/tiff;image/vnd.adobe.svg+xml;image/vnd.microsoft.icon;image/webp;image/x-MS-bmp;image/x-bmp;image/x-dds;image/x-exr;image/x-ico;image/x-icon;image/x-portable-anymap;image/x-portable-bitmap;image/x-portable-graymap;image/x-portable-pixmap;image/x-qoi;image/x-tga;image/x-win-bitmap;text/ico;text/xml-svg;

Were you maybe looking at the supported mime types for x86_64 builds before the switch to glycin in 2.43.3?

Comment 11 Michael Catanzaro 2025-08-15 17:51:06 UTC
Unfortunately yes.

Well, the glycin package has:

# https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
ExcludeArch:    %{ix86}

We can probably just remove it. Fabio, do you agree? glycin is a huge security improvement, so we surely don't want to disable it on x86_64.

Comment 12 Fabio Valentini 2025-08-15 19:10:31 UTC
Compiling glycin takes up a huge amount of RAM, so it might just not compile on i686, but I can try ...

Comment 13 Fabio Valentini 2025-08-15 20:13:19 UTC
Alternative solution:
https://src.fedoraproject.org/rpms/gdk-pixbuf2/pull-request/13

Comment 14 Michael Catanzaro 2025-08-16 14:11:02 UTC
Thanks Fabio. OK folks, try again with 2.43.3-6.fc43 please.

Matthias has suggested we stop packaging the thumbnailer entirely and rely on glycin's thumbnailer instead. That can be a task for another day, though.

Comment 15 Michael Catanzaro 2025-08-16 14:12:03 UTC
(In reply to Michael Catanzaro from comment #14)
> Thanks Fabio. OK folks, try again with 2.43.3-6.fc43 please.

Just kidding, the new build is actually 2.43.3-7.fc43.

Comment 16 Sebastian Keller 2025-08-16 14:46:18 UTC
2.43.3-7.fc43 installs fine, but fails to generate thumbnails from nautilus. A new file is added to `.cache/thumbnails/fail/gnome-thumbnail-factory` when opening a folder with an unthumbnailed image (tested png and svg). Manually running something like `/usr/bin/gdk-pixbuf-thumbnailer -s 128 /usr/share/icons/hicolor/256x256/apps/firefox.png  /tmp/test.png` works fine though. Also showing existing thumbnails works fine in nautilus.

Should I file a new bug for that?

Comment 17 Michael Catanzaro 2025-08-17 15:49:13 UTC
Probably not worth it. I will disable the gdk-pixbuf thumbnailer and look into making sure the glycin thumbnailer gets installed.


Note You need to log in before you can comment on or make changes to this bug.