Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

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

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

This article may have been automatically translated. If you have any feedback regarding its quality, please let us know using the form at the bottom of this page.

Article Content


Symptoms

Cause

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

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

Resolution

2.清除事务错误

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

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

Article Properties


Affected Product

PowerEdge, Red Hat Enterprise Linux Version 5, Red Hat Enterprise Linux Version 6, Red Hat Enterprise Linux Version 7

Last Published Date

20 Oct 2021

Version

5

Article Type

Solution