你要把所有的.gz.a*的压缩包整合成一个再去解压即可,参考下面的命令
cat output_prefix.tar.gz.* > complete_archive.tar.gz
tar -xzf complete_archive.tar.gz
ronfull
January 10, 2025, 10:54am
3
是的,我已经合并,再解压了,但还是解压出错,所以想看下MD5是否正确
出错如下:
.repo/project-objects/android_prebuilts_r8.git/hooks/
.repo/project-objects/android_prebuilts_r8.git/hooks/pre-auto-gc
.repo/project-objects/android_prebuilts_r8.git/description
.repo/project-objects/android_prebuilts_r8.git/branches/
.repo/project-objects/android_prebuilts_r8.git/objects/
.repo/project-objects/android_prebuilts_r8.git/objects/info/
.repo/project-objects/android_prebuilts_r8.git/objects/pack/
.repo/project-objects/android_prebuilts_r8.git/objects/pack/pack-bb391d9a200435fd797e3c84731358b8b0be4b81.idx
.repo/project-objects/android_prebuilts_r8.git/objects/pack/pack-bb391d9a200435fd797e3c84731358b8b0be4b81.pack
gzip: stdin: invalid compressed data–format violated
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
s4324@s4324:/mnt/4T_B/os_code/a311d_android9.0_
试下下面的命令,不行的话你把你的命令发我看看
cat vim3-android9-20240808.tar.gz.a* | tar -xzv
1、s4324@s4324:/mnt/4T_B/project/datasheet/khadas/a311d_android9.0_sdk$ cat vim3-android9-20240808.tar.gz.a* > vim3-android9-20240808.tar.gz
s4324@s4324:/mnt/4T_B/project/datasheet/khadas/a311d_android9.0_sdk$
s4324@s4324:/mnt/4T_B/project/datasheet/khadas/a311d_android9.0_sdk$
s4324@s4324:/mnt/4T_B/project/datasheet/khadas/a311d_android9.0_sdk$ ls
vim3-android9-20240808.tar.gz vim3-android9-20240808.tar.gz.ab vim3-android9-20240808.tar.gz.ad vim3-android9-20240808.tar.gz.af vim3-android9-20240808.tar.gz.ah
vim3-android9-20240808.tar.gz.aa vim3-android9-20240808.tar.gz.ac vim3-android9-20240808.tar.gz.ae vim3-android9-20240808.tar.gz.ag vim3-android9-20240808.tar.gz.ai
s4324@s4324:/mnt/4T_B/project/datasheet/khadas/a311d_android9.0_sdk$
2、
s4324@s4324:/mnt/4T_B/os_code/a311d_android9.0_khadas_sdk$ tar -zxvf …/…/project/datasheet/khadas/a311d_android9.0_sdk/vim3-android9-20240808.tar.gz
3、最后解压出错信息
.repo/project-objects/android_prebuilts_r8.git/refs/heads/
.repo/project-objects/android_prebuilts_r8.git/info/
.repo/project-objects/android_prebuilts_r8.git/info/exclude
.repo/project-objects/android_prebuilts_r8.git/hooks/
.repo/project-objects/android_prebuilts_r8.git/hooks/pre-auto-gc
.repo/project-objects/android_prebuilts_r8.git/description
.repo/project-objects/android_prebuilts_r8.git/branches/
.repo/project-objects/android_prebuilts_r8.git/objects/
.repo/project-objects/android_prebuilts_r8.git/objects/info/
.repo/project-objects/android_prebuilts_r8.git/objects/pack/
.repo/project-objects/android_prebuilts_r8.git/objects/pack/pack-bb391d9a200435fd797e3c84731358b8b0be4b81.idx
.repo/project-objects/android_prebuilts_r8.git/objects/pack/pack-bb391d9a200435fd797e3c84731358b8b0be4b81.pack
gzip: stdin: invalid compressed data–format violated
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
s4324@s4324:/mnt/4T_B/os_code/a311d_android9.0_khadas_sdk$
我验证是ok的,使用的命令如下
cat vim4-android9-20240808.tar.gz.a* | tar -xzv
md5如下
fefeea29c47c384f01ad39b1f263741b
帮忙把每一部分的压缩包md5也发出来下,看是否哪个出错,谢谢
b526fd481fd0add518e6c298fd8996b3 vim3-android9-20240808.tar.gz.aa
9aa87a4b49581542d9cb3cb12c27e8ac vim3-android9-20240808.tar.gz.ab
7db7380e856a097c968b6a697c22e6d5 vim3-android9-20240808.tar.gz.ac
2affb51b91cdaa2010c08d5b187ad715 vim3-android9-20240808.tar.gz.ad
353d132774871ef6db938229f26c4c8f vim3-android9-20240808.tar.gz.ae
7d05583dcf79f4955522a56faad3469b vim3-android9-20240808.tar.gz.af
1b57485dfb58784ac9f64370b3ac26a8 vim3-android9-20240808.tar.gz.ag
01c3fa0957973fb64c33fa11ba78bdae vim3-android9-20240808.tar.gz.ah
c14efa57748adfda169f23dc89881f8c vim3-android9-20240808.tar.gz.ai