<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Tar: blocksize = 0; broken pipe? problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-blocksize-0-broken-pipe-problem/m-p/5125107#M448565</link>
    <description>thanks for all</description>
    <pubDate>Tue, 19 Aug 2008 08:30:06 GMT</pubDate>
    <dc:creator>Mousa55</dc:creator>
    <dc:date>2008-08-19T08:30:06Z</dc:date>
    <item>
      <title>Tar: blocksize = 0; broken pipe? problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-blocksize-0-broken-pipe-problem/m-p/5125100#M448558</link>
      <description>Hi&lt;BR /&gt;i am installed more patch with .tgz extention (34MB).&lt;BR /&gt;but when i try to install this patch by this command &lt;BR /&gt;tar -xvf /tmp/patch/hpux__11.00_08130943.tgz&lt;BR /&gt;i see this problem&lt;BR /&gt;Tar: blocksize = 0; broken pipe?&lt;BR /&gt;and after this command i see &lt;BR /&gt;gzcat /tmp/patch/hpux__11.00_08130943.tgz | tar -xf -&lt;BR /&gt;unexpected end of file&lt;BR /&gt;Tar: blocksize = 0; broken pipe?&lt;BR /&gt;how to solve this problem????</description>
      <pubDate>Sun, 17 Aug 2008 09:32:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-blocksize-0-broken-pipe-problem/m-p/5125100#M448558</guid>
      <dc:creator>Mousa55</dc:creator>
      <dc:date>2008-08-17T09:32:19Z</dc:date>
    </item>
    <item>
      <title>Re: Tar: blocksize = 0; broken pipe? problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-blocksize-0-broken-pipe-problem/m-p/5125101#M448559</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;Its not a tar file.&lt;BR /&gt;&lt;BR /&gt;Its a tgz file&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.computerhope.com/issues/ch000506.htm" target="_blank"&gt;http://www.computerhope.com/issues/ch000506.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://en.wikibooks.org/wiki/Guide_to_Unix/Commands/File_Compression" target="_blank"&gt;http://en.wikibooks.org/wiki/Guide_to_Unix/Commands/File_Compression&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Sun, 17 Aug 2008 11:30:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-blocksize-0-broken-pipe-problem/m-p/5125101#M448559</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2008-08-17T11:30:01Z</dc:date>
    </item>
    <item>
      <title>Re: Tar: blocksize = 0; broken pipe? problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-blocksize-0-broken-pipe-problem/m-p/5125102#M448560</link>
      <description>&amp;gt; tar -xvf /tmp/patch/hpux__11.00_08130943.tgz&lt;BR /&gt;&lt;BR /&gt;Yes, an old UNIX "tar" program can't do the&lt;BR /&gt;required "gzip -dc"="gzcat".  (And I believe&lt;BR /&gt;that even GNU "tar" needs a "-z" option to&lt;BR /&gt;tell _it_ to do it.)&lt;BR /&gt;&lt;BR /&gt;&amp;gt; gzcat /tmp/patch/hpux__11.00_08130943.tgz | tar -xf -&lt;BR /&gt;&lt;BR /&gt;Should work better.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; unexpected end of file&lt;BR /&gt;&lt;BR /&gt;Do you have the whole xxx.tgz file, or was&lt;BR /&gt;its download aborted before you got it all?&lt;BR /&gt;&lt;BR /&gt;ls -l /tmp/patch/hpux__11.00_08130943.tgz&lt;BR /&gt;&lt;BR /&gt;What does it say if you change "tar -xf -" to&lt;BR /&gt;"tar -tvf -"?  (Are you getting nothing, or&lt;BR /&gt;only some of the files in the payload?)</description>
      <pubDate>Sun, 17 Aug 2008 11:53:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-blocksize-0-broken-pipe-problem/m-p/5125102#M448560</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2008-08-17T11:53:57Z</dc:date>
    </item>
    <item>
      <title>Re: Tar: blocksize = 0; broken pipe? problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-blocksize-0-broken-pipe-problem/m-p/5125103#M448561</link>
      <description>tgz is a compressed tar file. The gzcat command should have worked. You probably have a bad file. Either partial download or if you ftp-ed the file you did not use binary format. Try the following.&lt;BR /&gt;&lt;BR /&gt;cd /tmp/patch&lt;BR /&gt;(make a copy of the file or use "mv" instaed of "cp")&lt;BR /&gt;cp hpux__11.00_08130943.tgz hpux__11.00_08130943.tar.gz&lt;BR /&gt;&lt;BR /&gt;(uncompress the gz file, should give you the tar file)&lt;BR /&gt;gunzip hpux__11.00_08130943.tar.gz &lt;BR /&gt;&lt;BR /&gt;(Extract the tar file)&lt;BR /&gt;tar -tvf hpux__11.00_08130943.tar&lt;BR /&gt;&lt;BR /&gt;You will see whether the error is in the compressed file or in the tar file.</description>
      <pubDate>Sun, 17 Aug 2008 13:30:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-blocksize-0-broken-pipe-problem/m-p/5125103#M448561</guid>
      <dc:creator>TTr</dc:creator>
      <dc:date>2008-08-17T13:30:39Z</dc:date>
    </item>
    <item>
      <title>Re: Tar: blocksize = 0; broken pipe? problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-blocksize-0-broken-pipe-problem/m-p/5125104#M448562</link>
      <description>You can also use file(1) to see what type of file it is.  Obviously it won't tell you that the gzip or tar file as been corrupted by truncation.  TTr's suggestion about breaking it into steps may tell you where the corruption started.&lt;BR /&gt;After you downloaded your patch bundle, you should check the checksum values.</description>
      <pubDate>Mon, 18 Aug 2008 01:20:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-blocksize-0-broken-pipe-problem/m-p/5125104#M448562</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-08-18T01:20:17Z</dc:date>
    </item>
    <item>
      <title>Re: Tar: blocksize = 0; broken pipe? problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-blocksize-0-broken-pipe-problem/m-p/5125105#M448563</link>
      <description>Also:&lt;BR /&gt;&lt;BR /&gt;Try running cksum on this file and verify if you get same value that you see on the website you downloaded this file&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;so run following&lt;BR /&gt;&lt;BR /&gt;file /tmp/patch/hpux__11.00_08130943.tgz&lt;BR /&gt;cksum /tmp/patch/hpux__11.00_08130943.tgz&lt;BR /&gt;&lt;BR /&gt;see the results if not same then download the file again!!</description>
      <pubDate>Mon, 18 Aug 2008 03:38:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-blocksize-0-broken-pipe-problem/m-p/5125105#M448563</guid>
      <dc:creator>Deepak Kr</dc:creator>
      <dc:date>2008-08-18T03:38:24Z</dc:date>
    </item>
    <item>
      <title>Re: Tar: blocksize = 0; broken pipe? problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-blocksize-0-broken-pipe-problem/m-p/5125106#M448564</link>
      <description>Or just try downloading the file again, and&lt;BR /&gt;see if you get the same stuff.&lt;BR /&gt;&lt;BR /&gt;Please say that you're not using MSIE on some&lt;BR /&gt;Windows system to do the download.&lt;BR /&gt;Too-clever browsers often "help" the user by&lt;BR /&gt;decompressing compressed files without&lt;BR /&gt;adjusting the file name accordingly.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; unexpected end of file&lt;BR /&gt;&lt;BR /&gt;&amp;gt; You will see whether the error is in the&lt;BR /&gt;&amp;gt; compressed file or in the tar file.&lt;BR /&gt;&lt;BR /&gt;Someone thinks that the file ends too soon.&lt;BR /&gt;I doubt that gzip/gzcat is truncating a&lt;BR /&gt;complete ".tgz" file, and I doubt that "tar"&lt;BR /&gt;is giving up before it sees the end of the&lt;BR /&gt;expanded data.  I claim that it doesn't&lt;BR /&gt;really matter who's emitting the complaint.&lt;BR /&gt;The ".tgz" file is almost certainly corrupt,&lt;BR /&gt;although without a better description of its&lt;BR /&gt;history, it'll be hard to assign the blame.&lt;BR /&gt;Whether it started out corrupt, or got that&lt;BR /&gt;way in transit, it's sure bad now.</description>
      <pubDate>Mon, 18 Aug 2008 03:55:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-blocksize-0-broken-pipe-problem/m-p/5125106#M448564</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2008-08-18T03:55:31Z</dc:date>
    </item>
    <item>
      <title>Re: Tar: blocksize = 0; broken pipe? problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tar-blocksize-0-broken-pipe-problem/m-p/5125107#M448565</link>
      <description>thanks for all</description>
      <pubDate>Tue, 19 Aug 2008 08:30:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tar-blocksize-0-broken-pipe-problem/m-p/5125107#M448565</guid>
      <dc:creator>Mousa55</dc:creator>
      <dc:date>2008-08-19T08:30:06Z</dc:date>
    </item>
  </channel>
</rss>

