검색

이 콘텐츠는 선택한 언어로 제공되지 않습니다.

7.294. yum

download PDF
Updated yum packages that fix several bugs and add two enhancements are now available for Red Hat Enterprise Linux 6.
Yum is a command-line utility that allows the user to check for updates and automatically download and install updated RPM packages. Yum automatically obtains and downloads dependencies, prompting the user for permission as necessary.

Bug Fixes

BZ#674756
When running the yum localinstall command, various requires, obsoletes, and conflicts situations were not handled properly and resulted in inconsistent package installations using different Yum commands. The underlying source code has been modified and Yum resolves all the aforementioned situations properly.
BZ#727553
When trying to execute the yum update --skip-broken command on the command line, the package dependency resolution never ended. This bug is now fixed and dependencies are resolved successfully after executing the yum update --skip-broken command.
BZ#802462
After creating a new yum history file, the yum history stats command failed with a traceback instead of reporting an actual error. This bug is now fixed and when the yum history stats command fails after creating a new yum history file, it displays an error message.
BZ#815568
Previously, when running the yum makecache command, followed by the yum -C updateinfo command, the second command failed to execute because although the updateinfo file had been downloaded by yum makecache it was uncompressed and treated as unavailable by yum -C updateinfo. This bug is now fixed and yum -C updateinfo works as expected in this scenario.
BZ#834159
Previously, when trying to install an obsoleted package from a repository, Yum reported Nothing to do instead of providing an "obsolete" error message. This bug is now fixed and Yum now correctly warns users about obsolete packages.
BZ#840543
Previously, when the yum upgrade command failed to execute, Yum displayed a misleading Protected multilib versions error message instead of the accurate one. This bug is now fixed and if Yum fails, it displays the correct error message.
BZ#872518
When Yum was executed by a regular user, Yum downloaded metadata even if the "root" metadata were up-to-date. This bug is now fixed and Yum does not download unnecessary data if the "root" metadata are up-to-date.
BZ#809117
A typo in the yum(8) man page has been fixed.
BZ#878335
After a rebase update of the createrepo utility, execution of the createrepo --update command took significantly longer. This update reduces the time for executing the createrepo --update command.
BZ#737173
Previously, when the yum updateinfo command, provided by the yum-security plug-in, was used, Yum did not merge the version information from multiple repositories. This could prevent the latest version of a package that was present in multiple repositories to not be installed. Now, when installing packages from multiple repositories, Yum installs only the latest packages available.
BZ#819522
Previously, when trying to reinstall an unavailable package and the execution failed, the exit code had the value of 0. This bug is now fixed and when reinstallation of an unavailable package fails, it returns an exit code with the value of 1.
BZ#820674
Previously, when the yum-debug-restore command was used to restore multiple installonly packages, Yum tried to keep a limit of packages that were installed simultaneously and removed packages that were present in the system. Also, Yum restored multiple packages but assumed that just one would be installed. Yum's installonly_limit configuration now determines what to install and remove correctly when multiple items are installed at once. This is most noticeable when using commands like yum shell and yum-debug-restore.
BZ#858844
When using the yum.yumBase().update() function to specify a package name, version, and/or release of a certain package, the function terminated and failed to update the aforementioned variables. This bug is now fixed and the yum.yumBase().update() function can be used successfully to specify a package name, version, and release.
BZ#868840
Previously, when trying to resolve dependencies while updating packages that had dependencies, Yum entered a loop and no packages were installed after execution of the yum update command. After this update, the yum update command now handles packages with obsoleting dependencies as expected.
BZ#880968
Due to an incorrect prioritization of actions performed by Yum after entering a command with a syntactically incorrect subcommand, Yum performed a series of unnecessary actions before acknowledging the typo. This bug has been fixed and Yum performs an immediate syntax check in the described scenario.
BZ#887935
When updateinfo.xml was generated via the update_md.UpdateNotice() method, the yum API only accounted for the "issued date" element and ignored the updated date element. Now, the yum API accounts for the "updated date" element and the "updated date" element is displayed in the XML file.
BZ#885159
Previously, users were not notified that different certificate files with the same basename were treated as identical, which could lead to various problems. With this update, Yum checks certificate files for such duplicates and displays an error message appropriately.

Enhancements

BZ#684859
Yum plug-ins are now able to set exit codes on any Yum operations.
BZ#744335
With this update, yum-cron is now documented in the yum-cron(8) man page.
BZ#748054
Support for the installonlypkgs functionality in rhev-hypervisor packages has been added.
Users of yum are advised to upgrade to these updated packages, which fix these bugs and add these enhancements.
Red Hat logoGithubRedditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 문서 정보

Red Hat을 사용하는 고객은 신뢰할 수 있는 콘텐츠가 포함된 제품과 서비스를 통해 혁신하고 목표를 달성할 수 있습니다.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

© 2024 Red Hat, Inc.