Nov 13 13:38:57 host abrt: detected unhandled Python exception in '/usr/bin/yum'
Nov 13 13:38:57 host abrtd: New client connected
Nov 13 13:38:57 host abrt-server[3508]: Saved Python crash dump of pid 3151 to /var/spool/abrt/pyhook-2012-11-13-13:38:57-3151
Nov 13 13:38:57 host abrtd: Directory 'pyhook-2012-11-13-13:38:57-3151' creation detected
Nov 13 13:38:57 host abrtd: Can't load public GPG key /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta
Nov 13 13:38:57 host abrtd: Can't load public GPG key /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-legacy-former
Nov 13 13:38:57 host abrtd: Can't load public GPG key /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-legacy-release
Nov 13 13:38:57 host abrtd: Can't load public GPG key /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-legacy-rhx
Nov 13 13:38:57 host abrtd: Can't load public GPG key /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
Nov 13 13:38:57 host abrtd: Package 'yum' isn't signed with proper key
Nov 13 13:38:57 host abrtd: 'post-create' on '/var/spool/abrt/pyhook-2012-11-13-13:38:57-3151' exited with 1
Nov 13 13:38:57 host abrtd: Corrupted or bad directory /var/spool/abrt/pyhook-2012-11-13-13:38:57-3151, deleting
崩溃转储文件中也没有任何内容。有什么想法吗?
yum update
Loaded plugins: fastestmirror, rhnplugin, security
An error has occurred:
Internal Server Error
See /var/log/up2date for more information
yum 坏了吗
答案1
这是(或者曾经是)RHEL 或 CentOS(您用于标签)吗?我希望...
红帽企业版:
显示什么rpm -qa | grep redhat-release
?rpm -V redhat-release-server-6Server
(使用第 1 步中的包)?如果未安装或已损坏,您可能需要从安全来源获取包并重新安装。
如果是
CentOS:
我不认为 CentOS 使用红帽密钥或 RHN - 您是否尝试从 RHEL 迁移到 CentOS 或反之亦然?或者您只是遵循了 CentOS 的部署指南?\
在这种情况下,您应该禁用 RHN 并安装 centos repos - 按照 CentOS 的迁移指南进行操作。
您应该能够centos-release-...
从 获得相应的包http://mirror.centos.org/centos/YOUR_VERSION/os/x86_64/Packages/
。