SuperManito / LinuxMirrors

GNU/Linux 更换系统软件源脚本
https://linuxmirrors.cn
MIT License
2.51k stars 337 forks source link

ARM换源安装报错 #59

Open zzvip888 opened 1 day ago

zzvip888 commented 1 day ago

操作系统

CentOS / CentOS Stream

处理器架构

arm64 / arm/v8 / arm/v7 / arm/v6

系统详细信息

NAME="CentOS Linux" VERSION="7 (AltArch)" ID="centos" ID_LIKE="rhel fedora" VERSION_ID="7" PRETTY_NAME="CentOS Linux 7 (AltArch)" ANSI_COLOR="0;31" CPE_NAME="cpe:/o:centos:centos:7" HOME_URL="https://www.centos.org/" BUG_REPORT_URL="https://bugs.centos.org/"

CENTOS_MANTISBT_PROJECT="CentOS-7" CENTOS_MANTISBT_PROJECT_VERSION="7" REDHAT_SUPPORT_PRODUCT="centos" REDHAT_SUPPORT_PRODUCT_VERSION="7"

环境信息

Linux localhost.localdomain 4.14.0-115.el7a.0.1.aarch64 #1 SMP Sun Nov 25 20:54:21 UTC 2018 aarch64 aarch64 aarch64 GNU/Linux

描述您的问题

切换源后安装报 The GPG keys listed for the "CentOS-7.9.2009 - Updates" 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: unzip-6.0-24.el7_9.aarch64 GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7


网上查的解决方案都试了解决不了 手动切换了阿里的arm源 curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-altarch-7.repo 目前可以使用了

详细的执行日志

image

SuperManito commented 1 day ago

操作系统

CentOS / CentOS Stream

处理器架构

arm64 / arm/v8 / arm/v7 / arm/v6

系统详细信息

NAME="CentOS Linux" VERSION="7 (AltArch)" ID="centos" ID_LIKE="rhel fedora" VERSION_ID="7" PRETTY_NAME="CentOS Linux 7 (AltArch)" ANSI_COLOR="0;31" CPE_NAME="cpe:/o:centos:centos:7" HOME_URL="https://www.centos.org/" BUG_REPORT_URL="https://bugs.centos.org/"

CENTOS_MANTISBT_PROJECT="CentOS-7" CENTOS_MANTISBT_PROJECT_VERSION="7" REDHAT_SUPPORT_PRODUCT="centos" REDHAT_SUPPORT_PRODUCT_VERSION="7"

环境信息

Linux localhost.localdomain 4.14.0-115.el7a.0.1.aarch64 #1 SMP Sun Nov 25 20:54:21 UTC 2018 aarch64 aarch64 aarch64 GNU/Linux

描述您的问题

切换源后安装报 The GPG keys listed for the "CentOS-7.9.2009 - Updates" 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: unzip-6.0-24.el7_9.aarch64 GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7

网上查的解决方案都试了解决不了 手动切换了阿里的arm源 curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-altarch-7.repo 目前可以使用了

详细的执行日志

image

你系统里的 /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 这个文件被你删了?