My Favorites

Close

Please to see your favorites.


SUSE Manager client fails to complete scheduled package installations

This document (7012366) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Manager 1.7
zypper server version >= 1.6.169
zypper client version <= 1.6.169

Situation

When scheduling package installations in the SUSE Manager web interface, the task fails to complete on the client. The failed actions event in the SUSE Manager web interface shows the following error message:
This action's status is: Failed.
The client picked up this action on 05/ 2/13 3:22:01 PM CEST.
The client completed this action on 05/ 2/13 3:22:03 PM CEST.
Client execution returned "" (code 2)

On the client, messages similar to the following may be found in /var/log/zypper.log:
2013-05-02 15:22:02 <1> hostname(30388) [zypper] main.cc(main):75 ===== Hi, me zypper 1.6.167
2013-05-02 15:22:02 <1> hostname(30388) [zypper] main.cc(main):76 ===== 'zypper' '-n' '-x' 'install' '--oldpackage' '<packagename>' =====
[...]
2013-05-02 15:22:02 <3> hostname(30388) [zypper] Zypper.cc(processCommandOptions):2485 Unknown option or missing argument, returning.
2013-05-02 15:22:02 <1> hostname(30388) [zypper] Zypper.cc(cleanup):4660 START
2013-05-02 15:22:02 <1> hostname(30388) [zypper] main.cc(~Bye):60 ===== Exiting main() =====
2013-05-02 15:22:02 <1> hostname(30388) [zypper] Zypper.cc(~Zypper):83 Zypper instance destroyed. Bye!

Resolution

Please install zypper version 1.6.169 or higher on the client. To do so, sync the patch CL-softwaremgmt-201302-7358 (or later) into the cloned channel to make this update available to all systems. The procedure is as follows:
  1. Login to the SUSE manager web interface
  2. Click on the Channels tab
  3. Switch to Manage Software Channels
  4. Select the cloned SLES11-SP2-Updates channel
  5. Click Patches
  6. Click Add
  7. Select Add SUSE Patches
  8. Search for "software"
  9. The search may return several items, look for the software management update released 2013-Feb-15 (2/15/13) or later
  10. Select the patch and click confirm
  11. On the summary page click "Clone Patches" to add the patch to the cloned channel. SUSE Manager will confirm this action with a message similar to:

    Successfully added 7 package(s) and scheduled 1 patches to be cloned to channel sles11-sp2-updates-clone. The cloned patches should appear in the channel and applicable to systems within a few minutes.

Please wait some minutes until the packages become available to the client system.

Note: As long as the packages are not fully synced yet, the client will display a dependency error message when trying to install the patch using "zypper patch".

Cause

SUSE Manager and client are using different versions of zypper. As of version 1.6.169, zypper uses --oldpackage to allow rollbacks without using --force. The package version on the client is not aware of this option and exits with "unknown option".

Additional Information

When using cloned channels, it is recommended to sync the SUSE Manager Tools channel on regular base and to add available software management updates from the official SUSE repository to the cloned updates channel.


Disclaimer

This Support Knowledgebase provides a valuable tool for NetIQ/Novell/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:7012366
  • Creation Date:06-MAY-13
  • Modified Date:20-MAY-13
    • SUSESUSE Manager

Did this document solve your problem? Provide Feedback