Error "cpio: open failed" when installing a package through rug

  • 7000646
  • 11-Jun-2008
  • 30-Apr-2012

Environment

Novell ZENworks 7.2 Linux Management - ZLM7.2

Situation

When installing a package from a patch bundle via "rug in " it leads to a cpio error and the package is not installed.

Resolution

To obtain access to a hot patch with the fix for this problem, follow the instructions in KB 3469853 "Updates to Novell ZENworks 7.2 Linux Management" which can be found at https://www.novell.com/support

Additional Information

STEPS TO REPRODUCE:
1) Client: SLES9 SP3 WITHOUT rsync previously installed.
2) ZLM server: Mirror patch-11690 from https://you.novell.com/update
3) Creat a catalog containing this patch and assign it to the client.
4) Subscribe to the catalog and "rug in rsync" from the client

RESULTS:
ERROR: Transaction failed: Unable to complete RPM transaction: unpacking of
archive failed on file /usr/share/doc/packages/rsync/tech_report.ps;46f3bcfb:
cpio: open failed - No such file or directory

CAUSE:
This is due to the bundle.xml from ZLM server for that patch bundle being ordered randomly. If the bundle.xml has metadata for patch.rpm before the rpm metadata rug fails to install the package.

NOTE:
The install succeeds if the package/patch rpm is an upgrade scenario rather a fresh install.