彩虹战士11 2022-08-29 13:06 采纳率: 0%
浏览 27
已结题

红帽linux8.5中用yum下载包报错。yum源没问题,也已经挂载

Updating Subscription Management repositories.
Unable to read consumer identity

This system is not registered with an entitlement server. You can use subscription-manager to register.

Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/CentOS-Base.repo; Configuration: OptionBinding with id "failovermethod" does not exist
Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/CentOS-Base.repo; Configuration: OptionBinding with id "failovermethod" does not exist
Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/CentOS-Base.repo; Configuration: OptionBinding with id "failovermethod" does not exist
Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/CentOS-Base.repo; Configuration: OptionBinding with id "failovermethod" does not exist
Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/CentOS-Base.repo; Configuration: OptionBinding with id "failovermethod" does not exist

You have enabled checking of packages via GPG keys. This is a good thing.
However, you do not have any GPG public keys installed. You need to download
the keys for packages you wish to install and install them.
You can do that by running the command:
rpm --import public.gpg.key

Alternatively you can specify the url to the key you would like to use
for a repository in the 'gpgkey' option in a repository section and YUM
will install it for you.

For more information contact your distribution or package provider.

Problem repository: [mirrors.tuna.tsinghua.edu.cn_docker-ce_linux_centos_8.5_x86_64_stable_]
bandwidth: 0
baseurl: https://mirrors.tuna.tsinghua.edu.cn/docker-ce/linux/centos/8.5/x86_64/stable/
cachedir: /var/cache/dnf
cost: 1000
countme: 0
deltarpm: 1
deltarpm_percentage: 75
enabled: 1
enabled_metadata:
enablegroups: 1
exclude:
excludepkgs:
fastestmirror: 0
gpgcheck: 1
gpgkey:
includepkgs:
ip_resolve: whatever
max_parallel_downloads: 3
mediaid:
metadata_expire: 172800
metalink:
minrate: 1000
mirrorlist:
module_hotfixes: 0
name: created by dnf config-manager from https://mirrors.tuna.tsinghua.edu.cn/docker-ce/linux/centos/8.5/x86_64/stable/
password:
priority: 99
protected_packages: dnf, dnf, redhat-release, setup, systemd, systemd-udev, sudo, yum, dnf, redhat-release, setup, systemd, systemd-udev, sudo, yum
proxy:
proxy_auth_method: any
proxy_password:
proxy_sslcacert:
proxy_sslclientcert:
proxy_sslclientkey:
proxy_sslverify: 1
proxy_username:
repo_gpgcheck: 0
retries: 10
skip_if_unavailable: 0
sslcacert:
sslclientcert:
sslclientkey:
sslverify: 1
sslverifystatus: 0
throttle: 0
timeout: 30
type:
user_agent: libdnf (Red Hat Enterprise Linux 8.5; generic; Linux.x86_64)
username:

  • 写回答

0条回答 默认 最新

    报告相同问题?

    问题事件

    • 系统已结题 9月6日
    • 创建了问题 8月29日

    悬赏问题

    • ¥30 STM32 INMP441无法读取数据
    • ¥100 求汇川机器人IRCB300控制器和示教器同版本升级固件文件升级包
    • ¥15 用visualstudio2022创建vue项目后无法启动
    • ¥15 x趋于0时tanx-sinx极限可以拆开算吗
    • ¥500 把面具戴到人脸上,请大家贡献智慧
    • ¥15 任意一个散点图自己下载其js脚本文件并做成独立的案例页面,不要作在线的,要离线状态。
    • ¥15 各位 帮我看看如何写代码,打出来的图形要和如下图呈现的一样,急
    • ¥30 c#打开word开启修订并实时显示批注
    • ¥15 如何解决ldsc的这条报错/index error
    • ¥15 VS2022+WDK驱动开发环境