LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1589|回复: 6

为何不能正常解压内核文件?

[复制链接]
发表于 2006-2-13 23:38:18 | 显示全部楼层 |阅读模式
各位大哥,从kernel.org下载2.6.16-rc3.tar.gz或*.tar.bz2内核为何不能正常解压。信息如下:
……
……
linux-2.6.16-rc3/Documentation/scsi/dtc3x80.txt
tar: 跳转到下一个头
tar: Archive contains obsolescent base-64 headers
gzip: stdin: invalid compressed data--crc error

gzip: stdin: invalid compressed data--length error
tar: Child returned status 1
tar: Error exit delayed from previous errors
发表于 2006-2-14 01:31:57 | 显示全部楼层
你确定你是下完整了?
回复 支持 反对

使用道具 举报

发表于 2006-2-14 06:25:44 | 显示全部楼层
tar -xvjf  *.tar.bz2
tar -xvzf *.tar.gz

你是不是用这个命令?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-2-14 10:58:10 | 显示全部楼层
应该是完整的,同一个文件以前都可以正常解压,又从网上重下一个还是这种情况。参数是用的jvfx
回复 支持 反对

使用道具 举报

发表于 2006-2-14 11:26:43 | 显示全部楼层
j参数好象是用bz2文件吧~~

如果是gz文件,用xzvf解压看看~~

另外,你这个文件没有受损或修改过?那个错误是CRC效验错误~~说明文件受损,或被非法改动过~~
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-2-14 23:24:31 | 显示全部楼层
刚刚从kernel.org下了一个2.6.15的bz2包,用tar jxvf解压居然说它不是一个tar归档文件:
debian:/usr/src# tar jvxf linux-2.6.15.tar.bz2
tar: 它似乎不像是一个 tar 归档文件
tar: 跳转到下一个头
tar: Archive contains obsolescent base-64 headers
bzip2: Data integrity error when decompressing.
Input file = (stdin), output file = (stdout
It is possible that the compressed file(s) have become corrupted.
You can use the -tvv option to test integrity of such files.
You can use the `bzip2recover' program to attempt to recover
data from undamaged sections of corrupted files.
tar: Read 96 bytes from linux-2.6.15.tar.bz2
tar: Child returned status 2
tar: Error exit delayed from previous errors

debian:/usr/src#
这种情况不知是什么原因。可难倒了我这只小菜菜!!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-2-18 00:38:29 | 显示全部楼层

多谢各位的帮助,问题已解决!

多谢各位的帮助,问题已解决!原来是我的硬盘出了错,很多新写入的压缩文件都不能解压,换到另一硬盘上后解压没有问题。:thank
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表