Libidn2.i686 conflicts with libidn2.x86_64

My fedora 34 instalation has conflicting 32 bit and 64 bit packages due to steam and wine I suppose.

Initially I tried removing the conflicting packages and reinstalling but in regards to libidn2 I could only remove the 32 version since the 64 bit version is required for protected packages, now I can’t update or install any package on DNF and I get the following error:

Error: Transaction test error:
  file /usr/share/doc/libidn2/NEWS from install of libidn2-2.3.2-1.fc34.i686 conflicts with file from package libidn2-2.3.1-1.fc34.x86_64
  file /usr/share/doc/libidn2/README.md from install of libidn2-2.3.2-1.fc34.i686 conflicts with file from package libidn2-2.3.1-1.fc34.x86_64
  file /usr/share/locale/cs/LC_MESSAGES/libidn2.mo from install of libidn2-2.3.2-1.fc34.i686 conflicts with file from package libidn2-2.3.1-1.fc34.x86_64
  file /usr/share/locale/de/LC_MESSAGES/libidn2.mo from install of libidn2-2.3.2-1.fc34.i686 conflicts with file from package libidn2-2.3.1-1.fc34.x86_64
  file /usr/share/locale/eo/LC_MESSAGES/libidn2.mo from install of libidn2-2.3.2-1.fc34.i686 conflicts with file from package libidn2-2.3.1-1.fc34.x86_64
  file /usr/share/locale/fr/LC_MESSAGES/libidn2.mo from install of libidn2-2.3.2-1.fc34.i686 conflicts with file from package libidn2-2.3.1-1.fc34.x86_64
  file /usr/share/locale/nl/LC_MESSAGES/libidn2.mo from install of libidn2-2.3.2-1.fc34.i686 conflicts with file from package libidn2-2.3.1-1.fc34.x86_64
  file /usr/share/locale/pl/LC_MESSAGES/libidn2.mo from install of libidn2-2.3.2-1.fc34.i686 conflicts with file from package libidn2-2.3.1-1.fc34.x86_64
  file /usr/share/locale/pt_BR/LC_MESSAGES/libidn2.mo from install of libidn2-2.3.2-1.fc34.i686 conflicts with file from package libidn2-2.3.1-1.fc34.x86_64
  file /usr/share/locale/sr/LC_MESSAGES/libidn2.mo from install of libidn2-2.3.2-1.fc34.i686 conflicts with file from package libidn2-2.3.1-1.fc34.x86_64
  file /usr/share/locale/uk/LC_MESSAGES/libidn2.mo from install of libidn2-2.3.2-1.fc34.i686 conflicts with file from package libidn2-2.3.1-1.fc34.x86_64
  file /usr/share/locale/zh_CN/LC_MESSAGES/libidn2.mo from install of libidn2-2.3.2-1.fc34.i686 conflicts with file from package libidn2-2.3.1-1.fc34.x86_64

None of the suggested solutions on older posts worked for me, one of them was uninstalling and reinstalling the packages…

Does anyone know how to fix this ?
On a worst case scenario I could change distro but I would like to avoid that.

“sudo dnf erase libidn2-2.3.2-1.fc34.i686”
Should remove the conflicting 32 bit package.

I tried that too but it says the 32 bit package is no longer there.

Anyways I managed to go around dnf complaining libidn2 is protected by using “sudo rpm -e libidn2.x86_64”

Afterwards “sudo dnf update --refresh” worked and I managed to reinstall both 32 and 64 bit versions of libidn2.

I don’t understand why red hat engineers decided DNF should make your life harder instead of easier and that war should be declared on 32 bit packages but stuff seems to be working again for now.

Thanks for the help

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.