Red Hat Training

A Red Hat training course is available for Red Hat Enterprise Linux

8.267. yum-utils

Updated yum-utils packages that fix several bugs are now available for Red Hat Enterprise Linux 6.
The yum-utils packages provide a collection of utilities and examples for the yum package manager to make yum easier and more powerful to use.

Bug Fixes

BZ#676193
Previously, the debuginfo-install utility considered only a certain naming scheme of debuginfo repositories, which Certificate-based Red Hat Network content delivery network (CDN) did not follow. As a consequence, debuginfo-install did not work with the debuginfo repositories created in CDN. With this update, support for the new naming scheme of debuginfo repositories has been added, and debuginfo-install now works with debuginfo CDN repositories as intended.
BZ#808347
Prior to this update, enabled source repositories without their respective binary repositories were automatically disabled. As a consequence, source packages could not be downloaded using the "yumdownloader --source" command. With this update, enabled source repositories are no longer disabled automatically, and the "yumdownloader --source" command now works as expected.
BZ#850612
Prior to this update, the fs-snapshot plugin did not work with the Device Mapper as the "dmsetup splitname" command line interface had changed and no longer supported the "-o" option. More specifically, fs-snapshot did not take snapshots of user's file systems before running a yum transaction. In addition, fs-snapshot did not work with Logical Volumes Management (LVM), failing to create new LVM snapshots. With this update, the plugin adjusts to the new command line interface, thus fixing both bugs.
BZ#981773
Previously, man pages for several utilities, such as repo-rss, repodiff, repoquery, or reposync, were missing. With this update, for each utility a man page has been created.
BZ#984119
When the yum-complete-transaction command was run, the /var/run/yum.pid file was left in the file system. A patch has been applied to yum-complete-transaction to clean the file system, and /var/run/yum.pid is now deleted after yum-complete-transaction finishes.
BZ#1004089
When the user tried to download an RPM using the yumdownloader utility when there had already been the same RPM of a bigger size in the destination directory, RPM was not redownloaded, and only a confusing error was displayed to the user. A patch for handling already downloaded RPMs has been applied, and if the checksum of RPMs does not match the intended, yumdownloader redownloads the RPM.
BZ#1013475
Previously, there was an insufficient check in the yum code. Consequently, under some circumstances, the yum-complete-transaction command removed the complete packages, nearly deleting the whole system, instead of updating them. With this update, yum-complete-transaction is more cautious with package removals, and when finding incomplete or aborted yum transactions on a system, it attempts to complete them.
BZ#1045494
Previously, when a package was removed and the yum post-transaction-action extension for a changed directory was enabled, the "yum remove" command terminated unexpectedly. A patch has been provided to fix the bug, "yum remove" no longer crashes, and post-transaction-action is fulfilled successfully without any exceptions.
BZ#1075705
Previously, executing the "yum-config-manager --setopt='debuglevel=9' --save" command caused the yum-utils utility to terminate unexpectedly. The underlying source code has been patched, and the "yum-config-manager --setopt='debuglevel=9' --save" command is now successfully executed.
BZ#1097560
Previously, running the repoquery command when the RPM database failed to open caused the repoquery utility to terminate unexpectedly. A patch has been applied to fix this bug, and repoquery no longer crashes.
Users of yum-utils are advised to upgrade to these updated packages, which fix these bugs.