当前位置:   article > 正文

ubuntu中解压.tgz出错的解决方法_gzip: stdin: decompression ok, trailing garbage ig

gzip: stdin: decompression ok, trailing garbage ignored tar: child returned

  在UBUNTU中解压TGZ格式的文档出现一下错误:

  gzip: stdin: decompression OK, trailing garbage ignored
  tar: Child returned status 2
  tar: Error is not recoverable: exiting now


公司一个高手解决方法如下: 

       The source code package is delivered in .tgz format. The command "tar xvfz <package_name.tgz" does not work, but this will:

  1. Unzip the .tgz files into .tar. I use 7zip on Windows to do it. To do it in Ubuntu:
    gzip -d file.tgz

  2. Extracr the tar file:
    tar xvf file.tar

   在此做个记录,以备后面用到。


声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/很楠不爱3/article/detail/195782
推荐阅读
相关标签
  

闽ICP备14008679号