On Wed, Aug 10, 2011 at 12:21:26PM -0700, Brett wrote:
> Hi,
> 
> Occasionally when I download a file with gz extension, it fails to
> extract when I run: "gunzip filename".
> 
> eg I just downloaded a compressed gz document about "make":
> ftp://ftp.netbsd.org/pub/NetBSD/misc/lite2-docs/psd/12.make.ps.gz
> 
> $ gunzip 12.make.ps.gz
> gunzip: 12.make.ps.gz: unrecognized file format
> 
> Same thing happens with .pdf.gz files.
> 
> If I gzip and then gunzip a file myself, it works no problem, so I
> am assuming that files such as the one above have been compressed
> using gnu extensions or something similar which is incompatible with
> the OpenBSD gunzip.
> 
> I tried installing archivers/deco from ports and got:
> 
> $ deco 12.make.ps.gz
> gunzip: ./12.make.ps.gz not a regular file: unchanged
> deco: could not extract archive: 12.make.ps.gz
> deco: empty archive: 12.make.ps.gz
> 
> I have gone through all the man pages I could find and the misc
> archives and could not find mention of any utility that will handle
> these cases.
> 
> Is there another utility or command I can try that will extract
> these uncooperative files?
> 

They are already uncompressed by a greedy broswer but the name was not
changed to reflect this. It is normaly a configuration issue of the
webserver telling the browser to uncompress on the fly.

-- 
:wq Claudio

Reply via email to