Unable to update - os updates

Latest response

unable to update "null"

GDBus.Error:org.gtk.GDBus.UnmappedGError.Quark._pk_2dengine_2derror_2dquark.Code1:Prepared update not found: /var/lib/PackageKit/prepare-update

Operating system

[root@localhost bin]# cat /etc/redhat-release
Red Hat Enterprise Linux release 8.0 (Ootpa)

Error while perform update - dnf

[root@localhost bin]# sudo dnf upgrade
Updating Subscription Management repositories.
Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs) 2.9 kB/s | 4.5 kB 00:01
Red Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs) 2.6 kB/s | 4.1 kB 00:01
Error:
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.3.0-1.el7.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
[root@localhost bin]#

Error when using yum

[root@localhost bin]# yum update
Updating Subscription Management repositories.
Last metadata expiration check: 0:03:49 ago on Friday 17 January 2020 07:12:13 AM IST.
Error:
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.3.0-1.el7.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
[root@localhost bin]#

Responses