【发布时间】: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 应该处理它。