【问题标题】:Unzipping zipped dstream packages解压缩压缩的 dstream 包
【发布时间】:2018-01-31 18:17:57
【问题描述】:

如何在 Sun Solaris 中解压缩 .dstream.Z 软件包。我尝试了所有方法如下

压缩包

 # gunzip pkg@1821417@27528.dstream.Z

gzip: pkg@1821417@27528.dstream.Z: not in gzip format

解压

# unzip pkg@1821417@27528.dstream.Z
Archive:  pkg@1821417@27528.dstream.Z
  End-of-central-directory signature not found.  Either this file is not
  a zipfile, or it constitutes one disk of a multi-part archive.  In the
  latter case the central directory and zipfile comment will be found on
  the last disk(s) of this archive.
unzip:  cannot find zipfile directory in one of pkg@1821417@27528.dstream.Z or
       pkg@27528.dstream.Z.zip, and cannot find pkg@1821417@27528.dstream.Z.ZIP, period.

罐子

 jar xf pkg@1821417@27528.dstream.Z
bash: jar: command not found

cpio

# cpio -idvu pkg@1821417@27528.dstream.Z

在这里我不得不按Ctrl+C,因为没有打印出来。

此外,我检查了 file 命令:

# file pkg@1821417@27528.dstream.Z
pkg@1821417@27528.dstream.Z:   html document

【问题讨论】:

  • 您是否查看了该文件以确认它实际上是一个有效的下载,而不是一个告诉您下载失败的 HTML 错误页面?如果它确实是一个有效的 *.Z 文件,gunzip 应该处理它。

标签: solaris sun sunos dstream


【解决方案1】:

对于带有.Z 后缀的此类文件,您应该使用uncompress。现在它是一种古老的工具,但它当然仍然有效。

类似这样的:

uncompress pkg@1821417@27528.dstream.Z

【讨论】:

    猜你喜欢
    • 2019-01-29
    • 1970-01-01
    • 2010-10-15
    • 2022-12-21
    • 2018-06-25
    • 2021-01-19
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多