"zac install" fails if package name consists special symbol

  • 7003800
  • 11-Apr-2012
  • 15-Jan-2014

Environment

Novell ZENworks 11 Configuration Management
SUSE Linux

Situation

The command: 
 zac install [options] <pattern|package name> [pattern|package name] ...
is failing if the package name contains symbols like '+'

Resolution

This is fixed in version 11.2.2 - see KB 7010757 "ZENworks Configuration Management 11.2.2 - update information and list of fixes" which can be found at https://support.microfocus.com/kb/doc.php?id=7010757
 
A fix for this issue is intended to be included in a future update to the product: however, in the interim, Novell has made a Patch available for testing, as part of a Monthly patch update: it can be obtained at https://download.novell.com/Download?buildid=EWuCrZ4JAO0~ as "ZCM 11.2 Monthly Update 1 - see TID 7004550". This update should only be applied if the symptoms above are being experienced, and are causing problems.

Please report any problems encountered when using this Patch, by using the feedback link on this TID.

Workaround: escape special characters like '+' with '\'.
Example:
 zac in 'libstdc\+\+43-devel-32bit'

Cause

The command supports both full package name installation and regex installation in same syntax.
For given input it was not possible to identify that is it actual package name or regex.
If package name contains special symbol the code is treating it as regex and giving results different than expected.