Veritas-bu

[Veritas-bu] Can't upgrade to 7.5.0.4 Solaris sparc client

2013-02-25 17:59:53
Subject: [Veritas-bu] Can't upgrade to 7.5.0.4 Solaris sparc client
From: su_A_ve <nbu-forum AT backupcentral DOT com>
To: VERITAS-BU AT MAILMAN.ENG.AUBURN DOT EDU
Date: Mon, 25 Feb 2013 14:59:47 -0800
So 7.5.0.5 will also fail.  The problem is inside the unbundle_pkg routine of 
the postinstall script.  In 7.5.0.4 (and later) they added a routine to detect 
the file size.

                                pkg_file_size_req="`gzip -cd ${gzip_file} | tar 
tvf - 2>&1 | head -1 | awk '{print $3}'`"

This expression returns different - without the awk argument it would print as:

tar: 36861 blocks + 5632 bytes (total of 377462272 bytes = 368615.50k).

Instead with GNU tar, it would print as:

-rw-r--r-- root/bin  377459712 2012-09-17 10:30 SYMCnbclt.pkg

Oddly enough, the problem does not exist on Solaris 10 x86 - only SPARC.

+----------------------------------------------------------------------
|This was sent by stella AT rider DOT edu via Backup Central.
|Forward SPAM to abuse AT backupcentral DOT com.
+----------------------------------------------------------------------


_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu