You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried running the migrate2rocky from https://docs.rockylinux.org/guides/migrate2rocky/ , and it failed with dnf version. So I tried using dnf install dnf and dnf udpate, but update failed like this:
[root@localhost]# dnf update
Last metadata expiration check: 0:02:01 ago on Fri 22 Jul 2022 02:43:59 PM CST.
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.2-1.el7.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
Then added the argument --nobest and tried again, it's still not working
[root@localhost]# dnf update --nobest
Last metadata expiration check: 0:02:18 ago on Fri 22 Jul 2022 02:43:59 PM CST.
Dependencies resolved.
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.2-1.el7.x86_64
...
GPG key at file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8 (0x2F86D6A1) is already installed
The GPG keys listed for the "Extra Packages for Enterprise Linux 7 - x86_64" repository are already installed but they are not correct for this package.
Check that the correct key URLs are configured for this repository.. Failing package is: adobe-source-code-pro-fonts-2.030.1.050-5.el7.noarch
GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8
Public key for python36-lxml-4.2.5-5.el7.x86_64.rpm is not installed. Failing package is: python36-lxml-4.2.5-5.el7.x86_64
GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8
Public key for python36-psutil-5.6.7-1.el7.x86_64.rpm is not installed. Failing package is: python36-psutil-5.6.7-1.el7.x86_64
GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8
Public key for python36-pysocks-1.6.8-7.el7.noarch.rpm is not installed. Failing package is: python36-pysocks-1.6.8-7.el7.noarch
GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8
Public key for python36-six-1.14.0-3.el7.noarch.rpm is not installed. Failing package is: python36-six-1.14.0-3.el7.noarch
GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8
Public key for python36-urllib3-1.25.6-2.el7.noarch.rpm is not installed. Failing package is: python36-urllib3-1.25.6-2.el7.noarch
GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8
Public key for brotli-1.0.7-5.el7.x86_64.rpm is not installed. Failing package is: brotli-1.0.7-5.el7.x86_64
GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8
Public key for libuv-1.44.1-1.el7.x86_64.rpm is not installed. Failing package is: libuv-1:1.44.1-1.el7.x86_64
GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8
Public key for p7zip-16.02-20.el7.x86_64.rpm is not installed. Failing package is: p7zip-16.02-20.el7.x86_64
GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8
Public key for sscg-2.6.1-1.el7.x86_64.rpm is not installed. Failing package is: sscg-2.6.1-1.el7.x86_64
GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: GPG check FAILED
And dnf clean packages plus dnf update --nobest returned the same error.
My CentOS version is 8.0, now using mirror of 8 stream.
You are trying to update to an el7 repository, this cannot be done from el8. You need to check your repos and installed packages and remove anything that references an el7 repository.
I tried running the
migrate2rocky
from https://docs.rockylinux.org/guides/migrate2rocky/ , and it failed withdnf
version. So I tried usingdnf install dnf
anddnf udpate
, but update failed like this:Then added the argument
--nobest
and tried again, it's still not workingAnd
dnf clean packages
plusdnf update --nobest
returned the same error.My CentOS version is 8.0, now using mirror of 8 stream.
Thanks!
The text was updated successfully, but these errors were encountered: