Este contenido no está disponible en el idioma seleccionado.
4.223. yum-rhn-plugin
An updated yum-rhn-plugin package that fixes three bugs is now available for Red Hat Enterprise Linux 5.
The yum-rhn-plugin package provides a plug-in that allows Yum to access a Red Hat Network server for software updates.
Bug Fixes
- BZ#736058
- When a user attempted to run the rhn_check utility with no additional command line options, the package installation failed with no error reported to the user and the following error message was logged on the server:Error while executing packages action: empty transaction [[6]]This update adapts the underlying source code to ensure the command line options are handled correctly, and the rhn_check utility now works as expected.
- BZ#736060
- Previously, running the pirut package manager with no command line options rendered it unable to access repositories provided by Red Hat Network or Red Hat Network Satellite. This was caused by an error in the yum-rhn-plugin package. With this update, this error has been fixed, and pirut no longer fails to access these repositories.
- BZ#736250
- Due to an error in the option parsing algorithm, the Package Manager incorrectly prompted the user to register the system with Red Hat Network every time it was started. With this update, the relevant part of the source code has been corrected, and the Package Manager no longer prompts users to register already registered systems.
All users of yum-rhn-plugin are advised to upgrade to this updated package, which fixes these bugs.
An updated yum-rhn-plugin package that fixes one bug is now available for Red Hat Enterprise Linux 5.
The yum-rhn-plugin package provides rhnplugin, a plug-in that allows Yum to access a Red Hat Network server for software updates.
Bug Fix
- BZ#732427
- Prior to this update, rhnplugin always downloaded all available repository metadata, including the filelist.xml and others.xml files, which are not required for regular Yum transactions. To prevent unnecessary disk space consumption, this update adapts rhnplugin to download only the metadata required for a particular Yum transaction.
All users of yum-rhn-plugin are advised to upgrade to this updated package, which fixes this bug.
An updated yum-rhn-plugin package that fixes multiple bugs is now available for Red Hat Enterprise Linux 5.
The yum-rhn-plugin package provides support for connecting to Red Hat Network (RHN). Systems registered with RHN are able to update and install packages from Red Hat Network.
Bug Fixes
- BZ#709241
- Previously, the repository cache in the
/var/cache/yum/rhnplugin.repos
file was not cleaned up properly after a Red Hat Network channel was removed from the list of configured repositories. Consequently, the first run of theyum repolist
failed with an error. This update fixes the cache cleaning procedure and the problem no longer occurs. - BZ#711829
- Previously yum-rhn-plugin did not disable Location-Aware Updates when the
useNoSSLForPackages
option was set. This update adds theuseNoSSLForPackages
option to the/etc/sysconfig/rhn/up2date
configuration file and corrects the option's behavior so that when enabled (that is, when set to1
), theHTTP
protocol is used for downloading repository metadata and RPM packages. Enabling this option correctly disables Location-Aware Updates; the option can be used only overHTTPS
. - BZ#726017
- Previously, the
--nogpgcheck
option of theyum install
command failed to override thegpgcheck=1
configuration option in the/etc/yum/plugins.d/rhnplugin.conf
file. Consequently, yum-rhn-plugin ignored the--nogpgcheck
option. When installing a package with no signature, the process finished with a message that the package was not signed and returned error code1
. With this update, the underlying code has been modified and the package installation finishes successfully in this scenario. - BZ#726644
- Previously, if a Python application ran a yum command that loaded yum-rhn-plugin, the sys.path value, which contains Python module paths, was modified. If the application submodules had the same name as yum submodules, the applications failed to load the correct modules and could be rendered unusable. With this update, yum-rhn-plugin no longer changes the sys.path and the problem no longer occurs.
- BZ#729584
- If yum-rhn-plugin was installed, various yum utilities (such as yum help and repository filtering) did not work correctly. This happened due to incorrect parsing of command arguments. This update fixes the parsing of plug-in arguments and the utilities work as expected.
- BZ#729657
- Previously, the rhn_client client populated the package list with all packages after Red Hat Network setup. Consequently, the rhnplugin tool downloaded metadata of all repositories, including the
others.xml
andfilelist.xml
files, which are generally not required for regular yum usage. With this update, rhn_check no longer populates the list of packages after initial setup and rhnplugin downloads only relevant metadata. - BZ#729949
- Previously, the
yum repolist -C
command, which lists the configured repositories without accessing network only using the system cache, failed with the following error message:TypeError: iteration over non-sequence
With this update, the underlying code has been modified and the command works as expected. - BZ#734492
- Due to an error in the option parsing algorithm, the Package Manager incorrectly prompted the user to register the system with Red Hat Network every time it was started. With this update, the relevant part of the source code has been corrected and the Package Manager no longer prompts users to register already registered systems.
- BZ#734965
- Previously, running the pirut package manager with no command line options rendered it unable to access repositories provided by Red Hat Network or Red Hat Network Satellite. This was caused by an error in the yum-rhn-plugin package. With this update, this error has been fixed and pirut no longer fails to access these repositories.
- BZ#735282
- When the user attempted to run the rhn_client utility with no additional command-line options, the package installation failed with no error reported to the user and the following error message was logged on the server:
Error while executing packages action: empty transaction [[6]]
This update adapts the underlying source code to ensure the command-line options are handled correctly and the rhn_check utility now works as expected. - BZ#738193
- If the
rhnplugin.repos
file contained outdated information, for example, an RHN channel was previously removed from the server, the rhn_check utility failed with the following error when it attempted to retrieve metadata of an unavailable channel:yum.Errors.RepoError: Cannot retrieve repository metadata (repomd.xml) for repository: rhel-i386-server-5. Please verify its path and try again
With this update, metadata is no longer retrieved from unavailable channels and the problem no longer occurs.
Users of yum-rhn-plugin are advised to upgrade to this updated package, which fixes these bugs.