How to force install with dnf?
Hey guys,
I'm trying to install a few 32-bit libraries to my 64-bit system because they are needed by a 32-bit software I need to install, but when I run dnf I get this:
file /usr/share/doc/krb5-libs/README from install of krb5-libs-1.14.4-4.fc24.i686 conflicts with file from package krb5-libs-1.14.3-9.fc24.x86_64
file /usr/share/man/man5/k5identity.5.gz from install of krb5-libs-1.14.4-4.fc24.i686 conflicts with file from package krb5-libs-1.14.3-9.fc24.x86_64
file /usr/share/man/man5/k5login.5.gz from install of krb5-libs-1.14.4-4.fc24.i686 conflicts with file from package krb5-libs-1.14.3-9.fc24.x86_64
file /usr/share/man/man5/krb5.conf.5.gz from install of krb5-libs-1.14.4-4.fc24.i686 conflicts with file from package krb5-libs-1.14.3-9.fc24.x86_64
As you can see these files are just man texts and a README file of a library I cannot uninstall because it's needed by dnf and systemd.
Any ideas how can I accomplish this?
Thanks.
First of all you should report this as a bug. In the meantime you can download the rpm with
dnf download <packagename>
and force rpm to install it:rpm -ihv --force <packagename>
The issue there is that the two packages are different version my suggestion will be to update those package to the current version then it will install the i686.
Oh yes their version is different, probably a problem with repo mirrors synchronization. You can try --allowerasing or wait for a while and try again.