upgrading to RedHat 8 broke some dependies

Latest response

Problem: cannot install the best update candidate for package libidn2-2.0.5-1.el8.x86_64
- nothing provides libunistring.so.0()(64bit) needed by libidn2-2.2.0-1.el7.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

trying to update/upgrade give me:


How can I resolve that ?



Hi Louis,

One more example, for why I generally recommend to not upgrade RHEL from one major edition to the next.
Please backup your personal data and perform a fresh installation of RHEL 8.0 ... it'll save you a lot of time. :)


It looks like the package libidn2-2.2.0-1.el7.x86_64 built for RHEL7 (possibly from EPEL7) is trying to replace the RHEL8 libidn2 package in which case the simplest way to stop the error is to disable the EPEL7 repo (or wherever this package is coming from) once you have installed whatever you wanted from that repo if it will install, otherwise you might have to wait for EPEL8.