SUSE Manager Server encounters zypper errors while Package Hub is enabled
This document (000021325) is provided subject to the disclaimer at the end of this document.
SUSE Manager Proxy
The most efficient way to replace the unsupported packages with supported versions is to:
1. Disable the Package Hub repositories.
You can disable the Package Hub repositories by disabling the product with the SUSEConnect command. For example, to disable Package Hub on SUSE Manager 4.3:
SUSEConnect -d PackageHub/15.4/x86_64For other versions of SUSE Manager, run this to find out the command that will disable Package Hub:
2. Ensure that only the supported repositories are enabled on the SUSE Manager server.
The supported repositories that should be enabled on the SUSE Manager server are the 'pool' and 'updates' repositories for the SUSE Manager product and for the modules SUSE Manager, Basesystem, Server Applications, and Web Scripting. These are the repositories that are enabled when the server is activated. If any third party repositories are enabled, these should be disabled during normal updates so that packages from these repositories don't replace any important supported packages.
Once the Package Hub repositories are disabled and only the supported repositories are enabled, the distribution upgrade can be run to replace the unsupported packages with supported versions. The distribution upgrade will upgrade, downgrade, and uninstall packages until all packages that are installed on the server are provided by the repositories that the server is currently subscribed to. This will cause packages that are not provided by supported repositories to be uninstalled, so if you need any packages that only come from the Package Hub these will need to be installed after this issue is resolved.
3. Perform a distribution upgrade.
You can perform the distribution upgrade with this command:
If the Package Hub repositories are enabled while the packages on the SUSE Manager server are updated, or while new packages are installed on the SUSE Manager server, this may cause supported packages to be replaced by the unsupported version coming from the Package Hub repositories. The Package Hub packages may be packaged in a way that is incompatible with the SUSE Manager product, or the packages may provide software that is not configured with SUSE Manager in mind, and this can lead to a variety of different issues impacting SUSE Manager functionality and ability to update.
Documentation on using managing repositories with Zypper: https://documentation.suse.com/sles/15-SP5/html/SLES-all/cha-sw-cl.html#sec-zypper-instrepo
Documentation on updating SUSE Manager: https://documentation.suse.com/suma/4.3/en/suse-manager/installation-and-upgrade/server-z.html
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:000021325
- Creation Date: 17-Jan-2024
- Modified Date:08-Feb-2024
- SUSE Manager Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com