Fatal null Error when using ZLMAN to add packages to a bundle.

  • 3977593
  • 06-Jul-2006
  • 27-Apr-2012

Environment


Novell ZENworks Linux Management Linux Management 7 - ZLM7

Situation

The following error can be seen when a package is added to a bundle with the command line utility zlman:

"FATAL ERROR: An unknown error has occurred: null"


Resolution

The --force-nevra switch should be passed to zlman command during the package import to the bundle.

To obtain access to interim release 1 with the fix for this problem, Send an email to zen.feedback@novell.com with the subject of "ZLM7 Hot Patch". An email reply will be sent with instructions on how to obtain the patch.

Additional Information

The issue is caused by a package with the same NEVRAT but different sha1sum existing in the ZENworks Linux Management Datastore.

The ZENworks Linux Management Datastore has the following two checks built in to stop the possibility of package duplication within the database:
1) The NEVRAT is an acronym for NAME, EPOCH, VERSION, RELEASE, ARCHITECTURE and TARGET.
2) The sha1sum of the package.

The problem occurs when the same package is re-released but the NEVRAT information is not increased (also known as a blind revision). The sha1sum of the package would be different but the NEVRAT would be the same.