Fedora 40 to 41 upgrade, libgdiplus0 requires libtiff.so.5

Using dnf to upgrade from Fedora 40 to 41 fails due to libtiff issue in libgdiplus0. libgdiplus0 requires libtiff.so.5, but this library is no longer available in libtiff for Fedora 41.

My current packages are

libgdiplus-devel.x86_64       6.1-7.fc40                            @fedora             
libgdiplus0.x86_64            6.0.5-0.xamarin.1.epel8       @mono-centos8-stable
libgdither.x86_64             0.6-31.fc40                              @fedora   
libtiff.x86_64                      4.6.0-5.fc40.1                        @updates

and

dnf system-upgrade download --releasever=41 --skip-broken

produces the following output:

Copr repo for PyCharm owned by phracek          2.4 kB/s | 1.8 kB     00:00    
Fedora 41 - x86_64                               67 kB/s |  32 kB     00:00    
Fedora 41 openh264 (From Cisco) - x86_64        3.6 kB/s | 989  B     00:00    
Fedora 41 - x86_64 - Updates                     86 kB/s |  30 kB     00:00    
google-chrome                                   4.9 kB/s | 1.3 kB     00:00    
mono-centos8-stable                             6.5 kB/s | 2.9 kB     00:00    
ROCm 5.1.2 repository                           6.6 kB/s | 2.9 kB     00:00    
RPM Fusion for Fedora 41 - Free                 7.9 kB/s | 3.6 kB     00:00    
RPM Fusion for Fedora 41 - Free - Updates       8.8 kB/s | 3.3 kB     00:00    
RPM Fusion for Fedora 41 - Nonfree               24 kB/s | 6.8 kB     00:00    
RPM Fusion for Fedora 41 - Nonfree - NVIDIA Dri  21 kB/s | 6.5 kB     00:00    
RPM Fusion for Fedora 41 - Nonfree - Steam       22 kB/s | 6.2 kB     00:00    
RPM Fusion for Fedora 41 - Nonfree - Updates     14 kB/s | 6.3 kB     00:00    
No match for group package "obs-studio-freeworld"
No match for group package "levien-museum-fonts"
No match for group package "kanotf-fonts"
Error: 
 Problem: problem with installed package libgdiplus0-6.0.5-0.xamarin.1.epel8.x86_64
  - package libgdiplus0-6.0.5-0.xamarin.1.epel8.x86_64 from @System requires libtiff.so.5()(64bit), but none of the providers can be installed
  - package libgdiplus0-6.0.5-0.xamarin.1.epel8.x86_64 from @System requires libtiff.so.5(LIBTIFF_4.0)(64bit), but none of the providers can be installed
  - package libgdiplus0-5.6-0.xamarin.2.epel8.x86_64 from mono-centos8-stable requires libtiff.so.5()(64bit), but none of the providers can be installed
  - package libgdiplus0-5.6-0.xamarin.2.epel8.x86_64 from mono-centos8-stable requires libtiff.so.5(LIBTIFF_4.0)(64bit), but none of the providers can be installed
  - package libgdiplus0-5.6.1-0.xamarin.3.epel8.x86_64 from mono-centos8-stable requires libtiff.so.5()(64bit), but none of the providers can be installed
  - package libgdiplus0-5.6.1-0.xamarin.3.epel8.x86_64 from mono-centos8-stable requires libtiff.so.5(LIBTIFF_4.0)(64bit), but none of the providers can be installed
  - package libgdiplus0-6.0.2-0.xamarin.1.epel8.x86_64 from mono-centos8-stable requires libtiff.so.5()(64bit), but none of the providers can be installed
  - package libgdiplus0-6.0.2-0.xamarin.1.epel8.x86_64 from mono-centos8-stable requires libtiff.so.5(LIBTIFF_4.0)(64bit), but none of the providers can be installed
  - package libgdiplus0-6.0.4-0.xamarin.1.epel8.x86_64 from mono-centos8-stable requires libtiff.so.5()(64bit), but none of the providers can be installed
  - package libgdiplus0-6.0.4-0.xamarin.1.epel8.x86_64 from mono-centos8-stable requires libtiff.so.5(LIBTIFF_4.0)(64bit), but none of the providers can be installed
  - package libgdiplus0-6.0.5-0.xamarin.1.epel8.x86_64 from mono-centos8-stable requires libtiff.so.5()(64bit), but none of the providers can be installed
  - package libgdiplus0-6.0.5-0.xamarin.1.epel8.x86_64 from mono-centos8-stable requires libtiff.so.5(LIBTIFF_4.0)(64bit), but none of the providers can be installed
  - libtiff-4.6.0-5.fc40.1.x86_64 from @System  does not belong to a distupgrade repository

The best I can tell, I am at the latest level of everything in f40. In f40, libtiff provides both *.5 and *.6 libraries, but under f41, it provides only *.6 libraries.

Any ideas what I’m doing wrong? Thanks!

That is not a fedora package nor a fedora repo.
Possibly remove it then try again

3 Likes

You have mixed centos and fedora packages this is not a good thing to do as each distribution has different packaging dependencies.

To upgrade first remove the conflicting packages from centos repos.
Did you find a package you need that fedora is not packaging?

THANK YOU!!!

I installed this in the mist of antiquity when I needed mono for something. When I ran repoquery --requires I got a scary list, but it seems to have removed cleanly and the dnf ran fine. I’ll update my system next and see what happens.

Remember to remove the centos repos from /etc/yum.repos.d.

1 Like

Thanks, would have forgotten…