xdscr fails with ' Can't locate object method ....

  • 3762649
  • 19-Jul-2007
  • 27-Apr-2012

Environment

Novell Linux Point Of Service 9 SSP3

Situation

On trying to build a incremental update the command xdscr fails with the following message:
Can't locate object method "new" via package "POSImageData::GroupData" (perhaps you forgot to load"POSImageData::GroupData"?) at /opt/SLES/POS/modules/features/POSImageXml/GroupUserHandler.pm line 121

This will only happen if the user and group description has changed in the second image (e.g. in ImageSpecification.xml).

Resolution

Please build a new images which contains only changes in the RPM description.

If this is not possible you can also easily correct the problem with the command:
sed -i "28iuse POSImageData::GroupData;" /opt/SLES/POS/imagediff.pl

Additional Information

Please note:
The command xdscr can only use for comparing two images and build a tarball containing a list of RPMs. No other information can be change or add. Because of this, there is no need to change any other things in the second image.

For more information please see:
Section 9.6 Incremental Update of the NLPOS9 Administration Guide

Feedback service temporarily unavailable. For content questions or problems, please contact Support.