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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.