Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Create and access a list of your products

更新 RedHat Enterprise (RHEL)、Fedora 或 CentOS Linux 时出现事务错误

Summary: 如何解决更新 RedHat Enterprise (RHEL)、Fedora 或 CentOS Linux 时出现的事务错误

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

Cause

1.更新 RedHat Enterprise (RHEL)、Fedora 或 CentOS Linux 时出现事务错误

在尝试在 RedHat Enterprise Linux、Fedora 或 CentOS 上安装更新时,某些用户可能会报告事务错误。在更新过程超时几秒后此错误以弹出框形式显示。  

Resolution

2.清除事务错误

要解决此问题,请切换为超级用户 (su)。然后运行以下命令。
yum clean all
yum upgrade

这应该会清除事务错误并允许更新安装,而不会出现问题。除了列出的版本之外,此修复可能适用于使用 yum 软件包管理器的其他 Linux 发行版。 

Affected Products

PowerEdge, Red Hat Enterprise Linux Version 5, Red Hat Enterprise Linux Version 6, Red Hat Enterprise Linux Version 7
Article Properties
Article Number: 000177044
Article Type: Solution
Last Modified: 21 Aug 2024
Version:  6
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.