自从我在我的yum install xxx上使用RHEL7的Ctrl-C
^Chttps://cdn.redhat.com/content/dist/rhel/server/7/7Server/x86_64/os/repodata/repomd.xml: [Errno 14] curl#56 - "Callback aborted"
Trying other mirror.我得到了以下错误。怎么修呢?
$ yum repolist
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
Repo rhel-7-server-rpms forced skip_if_unavailable=True due to: /etc/pki/entitlement/6004208575190148944-key.pem
https://cdn.redhat.com/content/dist/rhel/server/7/7Server/x86_64/os/repodata/repomd.xml: [Errno 14] curl#58 - "unable to load client key: -8178 (SEC_ERROR_BAD_KEY)"
Trying other mirror.yum clean all帮不上忙
发布于 2017-12-28 20:05:08
仅基于您的shell提示符是$而不是#,我假设您正在以非根用户的身份运行该命令,因此无法在/etc/pki/entitlement/6004208575190148944-key.pem上读取权限键(在我的默认RHEL7系统中,该键具有权限):
-rw-------. 1 root root ...快速解决方案是在命令前缀加上sudo,或者在运行命令之前以root身份登录。根据您先前执行yum install的尝试,我假定您具有权限。
https://unix.stackexchange.com/questions/413503
复制相似问题