[prev in list] [next in list] [prev in thread] [next in thread] 

List:       snort-devel
Subject:    [Snort-devel] Snort Pkg Bug for Solaris...
From:       "Mione, Mike" <MMione () ThruPoint ! net>
Date:       2002-02-18 22:57:10
[Download RAW message or body]

all, 

 I found the following bug while performing a pkgadd on
the following system:

Sparc Ultra 1 - running Solaris 7 fully patched.

I key in this --> pkgadd -d ./snort-1.8.3-sol7.pkg and get the
following output:

The following packages are available:
  1  snortcur     Snort CURRENT Solaris 2.7 sparc 32bit
                  (sparc) CURRENT

Select package(s) you wish to process (or 'all' to process
all packages). (default: all) [?,??,q]: 1

Processing package instance <snortcur> from
</var/spool/pkg/snort-1.8.3-sol7.pkg>

Snort CURRENT Solaris 2.7 sparc 32bit
(sparc) CURRENT

cpio: Unexpected end-of-archive encountered.
1 errors
pkgadd: ERROR: attempt to process datastream failed
    - process </usr/bin/cpio -icdumD -C 512> failed, exit code 1
pkgadd: ERROR: unable to unpack datastream

I did a man on my cpio and found no -D argument that was available. 
I then d'loaded cpio latest GNU version (hopefully has a -D arg) but got
the following output:

# pkgadd -d ./snor*
/usr/bin/cpio: invalid option -- D
Usage: /usr/bin/cpio {-o|--create} [-0acvABLV] [-C bytes] [-H format] [-M
message]
       [-O [[user@]host:]archive] [-F [[user@]host:]archive]
       [--file=[[user@]host:]archive] [--format=format] [--message=message]
       [--null] [--reset-access-time] [--verbose] [--dot] [--append]
       [--block-size=blocks] [--dereference] [--io-size=bytes] [--quiet]
       [--force-local] [--help] [--version] < name-list [> archive]
       /usr/bin/cpio {-i|--extract} [-bcdfmnrtsuvBSV] [-C bytes] [-E file]
[-H format]
       [-M message] [-R [user][:.][group]] [-I [[user@]host:]archive]
       [-F [[user@]host:]archive] [--file=[[user@]host:]archive]
       [--make-directories] [--nonmatching] [--preserve-modification-time]
       [--numeric-uid-gid] [--rename] [--list] [--swap-bytes] [--swap]
[--dot]
       [--unconditional] [--verbose] [--block-size=blocks]
[--swap-halfwords]
       [--io-size=bytes] [--pattern-file=file] [--format=format]
       [--owner=[user][:.][group]] [--no-preserve-owner] [--message=message]
       [--force-local] [--no-absolute-filenames] [--sparse]
[--only-verify-crc]
       [--quiet] [--help] [--version] [pattern...] [< archive]
       /usr/bin/cpio {-p|--pass-through} [-0adlmuvLV] [-R [user][:.][group]]
       [--null] [--reset-access-time] [--make-directories] [--link]
[--quiet]
       [--preserve-modification-time] [--unconditional] [--verbose] [--dot]
       [--dereference] [--owner=[user][:.][group]] [--no-preserve-owner]
       [--sparse] [--help] [--version] destination-directory < name-list
pkgadd: ERROR: attempt to process datastream failed
    - process </usr/bin/cpio -icdumD -C 512> failed, exit code 2
pkgadd: ERROR: could not process datastream from
</usr/warez/snort-1.8.3-sol7.pkg>


I am not sure what the -D arg is but is there a fix for this?
Please advise,
Mike Mione
Thrupoint, Inc.Note:  The information contained in this message may be
privileged and confidential and protected from disclosure.  If the reader of
this message is not the intended recipient, or an employee or agent
responsible for delivering this message to the intended recipient, you are
hereby notified that any dissemination, distribution or copying of this
communication is strictly prohibited.  If you have received this
communication in error, please notify us immediately by replying to the
message and deleting it from your computer. Thank you.  ThruPoint, Inc.

[Attachment #3 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>Snort Pkg Bug for Solaris...</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>all, </FONT>
</P>

<P><FONT SIZE=2>&nbsp;I found the following bug while performing a pkgadd on</FONT>
<BR><FONT SIZE=2>the following system:</FONT>
</P>

<P><FONT SIZE=2>Sparc Ultra 1 - running Solaris 7 fully patched.</FONT>
</P>

<P><FONT SIZE=2>I key in this --&gt; pkgadd -d ./snort-1.8.3-sol7.pkg and get \
the</FONT> <BR><FONT SIZE=2>following output:</FONT>
</P>

<P><FONT SIZE=2>The following packages are available:</FONT>
<BR><FONT SIZE=2>&nbsp; 1&nbsp; snortcur&nbsp;&nbsp;&nbsp;&nbsp; Snort CURRENT \
Solaris 2.7 sparc 32bit</FONT> <BR><FONT \
SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
(sparc) CURRENT</FONT> </P>

<P><FONT SIZE=2>Select package(s) you wish to process (or 'all' to process</FONT>
<BR><FONT SIZE=2>all packages). (default: all) [?,??,q]: 1</FONT>
</P>

<P><FONT SIZE=2>Processing package instance &lt;snortcur&gt; from \
&lt;/var/spool/pkg/snort-1.8.3-sol7.pkg&gt;</FONT> </P>

<P><FONT SIZE=2>Snort CURRENT Solaris 2.7 sparc 32bit</FONT>
<BR><FONT SIZE=2>(sparc) CURRENT</FONT>
</P>

<P><FONT SIZE=2>cpio: Unexpected end-of-archive encountered.</FONT>
<BR><FONT SIZE=2>1 errors</FONT>
<BR><FONT SIZE=2>pkgadd: ERROR: attempt to process datastream failed</FONT>
<BR><FONT SIZE=2>&nbsp;&nbsp;&nbsp; - process &lt;/usr/bin/cpio -icdumD -C 512&gt; \
failed, exit code 1</FONT> <BR><FONT SIZE=2>pkgadd: ERROR: unable to unpack \
datastream</FONT> </P>

<P><FONT SIZE=2>I did a man on my cpio and found no -D argument that was available. \
</FONT> <BR><FONT SIZE=2>I then d'loaded cpio latest GNU version (hopefully has a -D \
arg) but got</FONT> <BR><FONT SIZE=2>the following output:</FONT>
</P>

<P><FONT SIZE=2># pkgadd -d ./snor*</FONT>
<BR><FONT SIZE=2>/usr/bin/cpio: invalid option -- D</FONT>
<BR><FONT SIZE=2>Usage: /usr/bin/cpio {-o|--create} [-0acvABLV] [-C bytes] [-H \
format] [-M message]</FONT> <BR><FONT SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [-O \
[[user@]host:]archive] [-F [[user@]host:]archive]</FONT> <BR><FONT \
SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [--file=[[user@]host:]archive] \
[--format=format] [--message=message]</FONT> <BR><FONT \
SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [--null] [--reset-access-time] \
[--verbose] [--dot] [--append]</FONT> <BR><FONT \
SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [--block-size=blocks] [--dereference] \
[--io-size=bytes] [--quiet]</FONT> <BR><FONT \
SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [--force-local] [--help] [--version] &lt; \
name-list [&gt; archive]</FONT> <BR><FONT SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
/usr/bin/cpio {-i|--extract} [-bcdfmnrtsuvBSV] [-C bytes] [-E file] [-H \
format]</FONT> <BR><FONT SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [-M message] [-R \
[user][:.][group]] [-I [[user@]host:]archive]</FONT> <BR><FONT \
SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [-F [[user@]host:]archive] \
[--file=[[user@]host:]archive]</FONT> <BR><FONT \
SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [--make-directories] [--nonmatching] \
[--preserve-modification-time]</FONT> <BR><FONT \
SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [--numeric-uid-gid] [--rename] [--list] \
[--swap-bytes] [--swap] [--dot]</FONT> <BR><FONT \
SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [--unconditional] [--verbose] \
[--block-size=blocks] [--swap-halfwords]</FONT> <BR><FONT \
SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [--io-size=bytes] [--pattern-file=file] \
[--format=format]</FONT> <BR><FONT SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
[--owner=[user][:.][group]] [--no-preserve-owner] [--message=message]</FONT> \
<BR><FONT SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [--force-local] \
[--no-absolute-filenames] [--sparse] [--only-verify-crc]</FONT> <BR><FONT \
SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [--quiet] [--help] [--version] \
[pattern...] [&lt; archive]</FONT> <BR><FONT \
SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /usr/bin/cpio {-p|--pass-through} \
[-0adlmuvLV] [-R [user][:.][group]]</FONT> <BR><FONT \
SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [--null] [--reset-access-time] \
[--make-directories] [--link] [--quiet]</FONT> <BR><FONT \
SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [--preserve-modification-time] \
[--unconditional] [--verbose] [--dot]</FONT> <BR><FONT \
SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [--dereference] \
[--owner=[user][:.][group]] [--no-preserve-owner]</FONT> <BR><FONT \
SIZE=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [--sparse] [--help] [--version] \
destination-directory &lt; name-list</FONT> <BR><FONT SIZE=2>pkgadd: ERROR: attempt \
to process datastream failed</FONT> <BR><FONT SIZE=2>&nbsp;&nbsp;&nbsp; - process \
&lt;/usr/bin/cpio -icdumD -C 512&gt; failed, exit code 2</FONT> <BR><FONT \
SIZE=2>pkgadd: ERROR: could not process datastream from \
&lt;/usr/warez/snort-1.8.3-sol7.pkg&gt;</FONT> </P>
<BR>

<P><FONT SIZE=2>I am not sure what the -D arg is but is there a fix for this?</FONT>
<BR><FONT SIZE=2>Please advise,</FONT>
<BR><FONT SIZE=2>Mike Mione</FONT>
<BR><FONT SIZE=2>Thrupoint, Inc.</FONT><FONT SIZE=2>Note:&nbsp; The information \
contained in this message may be privileged and confidential and protected from \
disclosure.&nbsp; If the reader of this message is not the intended recipient, or an \
employee or agent responsible for delivering this message to the intended recipient, \
you are hereby notified that any dissemination, distribution or copying of this \
communication is strictly prohibited.&nbsp; If you have received this communication \
in error, please notify us immediately by replying to the message and deleting it \
from your computer. Thank you.&nbsp; ThruPoint, Inc.</FONT></P>

</BODY>
</HTML>


_______________________________________________
Snort-devel mailing list
Snort-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/snort-devel

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic