2 Replies Latest reply: Mar 1, 2013 4:42 AM by Wojt RSS

    cpio is missing '@'  option Solaris 10

    Wojt
      I'm trying to use lucreate to patch servers but on one of them cpio is ending with error - cpio: illegal option -- @ Interesting is this the only server where cpio is missing '@' option. Any ideas how to fix it



      cpio -@
      cpio: illegal option -- @
      cpio: One of -i, -o or -p must be specified.
      USAGE:
      cpio -i[bcdfkmrstuvBSV6] [-C size] [-E file] [-H hdr] [-I file [-M msg]] [-R id] [patterns]
      cpio -o[acvABLV] [-C size] [-H hdr] [-O file [-M msg]]
      cpio -p[adlmuvLV] [-R id] directory

      # cat /etc/release
      Oracle Solaris 10 9/10 s10s_u9wos_14a SPARC
      Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
      Assembled 11 August 2010

      # pkginfo -x SUNWcsu
      SUNWcsu Core Solaris, (Usr)
      (sparc) 11.10.0,REV=2005.01.21.15.53
      # uname -a
      SunOS 5.10 Generic_147440-25 sun4u sparc SUNW,Sun-Fire-V440

      For cmparison, even on prehistoric Solaris 10 update 3 machine cpio supports this argument:

      $ cpio -@
      cpio: One of -i, -o or -p must be specified.
      USAGE:
      cpio -i[bcdfkmrstuv@BSV6] [-C size] [-E file] [-H hdr] [-I file [-M msg]] [-R id] [patterns]
      cpio -o[acv@ABLV] [-C size] [-H hdr] [-O file [-M msg]]
      cpio -p[adlmuv@LV] [-R id] directory
      $ pkginfo -x SUNWcsu
      SUNWcsu Core Solaris, (Usr)
      (sparc) 11.10.0,REV=2005.01.21.15.53
      $ cat /etc/release
      Solaris 10 11/06 s10s_u3wos_10 SPARC
      Copyright 2006 Sun Microsystems, Inc. All Rights Reserved.
      Use is subject to license terms.
      Assembled 14 November 2006

      Edited by: Wojt on Mar 1, 2013 1:59 AM

      Edited by: Wojt on Mar 1, 2013 1:59 AM