windows安装texlive报错xz: (stdin): Compressed data is corrupt、TLPDB::_install_package: untar failed

因项目需要将注释导出成PDF文档,使用doxygen工具,但是该工具只能到处letex脚本,需要运行脚本生成PDF,运行脚本又需要letex支持,于是又需要安装texlive。texlive的安装,很多教程,不再记录。记录一下安装过程中出现的问题。

Installing to: C:/texlive/2020
Installing [0001/3965, time/total: ??:??/??:??]: texlive.infra [420k]
xz: (stdin): Compressed data is corrupt
TLPDB::_install_package: Decompressing C:\Users\DRAGON~1\AppData\Local\Temp\rDvw1H3tPu\rakhXvmPOA/texlive.infra.r54630.tar.xz failed
TLUtils::install_packages: Failed to install texlive.infra
Will be retried later.
Installing [0002/3965, time/total: ??:??/??:??]: texlive.infra.win32 [1397k]
xz: (stdin): Compressed data is corrupt
TLPDB::_install_package: Decompressing C:\Users\DRAGON~1\AppData\Local\Temp\rDvw1H3tPu\ra_GqMQ_09/texlive.infra.win32.r54353.tar.xz failed
TLUtils::install_packages: Failed to install texlive.infra.win32
Will be retried later.
Installing [0003/3965, time/total: ??:??/??:??]: tlperl.win32 [6816k]
xz: (stdin): Compressed data is corrupt
TLPDB::_install_package: Decompressing C:\Users\DRAGON~1\AppData\Local\Temp\rDvw1H3tPu\LLSc_bEx5p/tlperl.win32.r54383.tar.xz failed
TLUtils::install_packages: Failed to install tlperl.win32
Will be retried later.
Installing [0004/3965, time/total: ??:??/??:??]: 12many [376k]
tar: Skipping to next file header
TLUtils::untar: D:\Download\texlive2020\tlpkg\installer\tar.exe xmf C:\Users\DRAGON~1\AppData\Local\Temp\rDvw1H3tPu\RO7agdVMLC/12many.r15878.tar failed (in C:/texlive/2020/texmf-dist)
TLPDB::_install_package: untar failed
TLUtils::install_packages: Failed to install 12many
Will be retried later.
Installing [0005/3965, time/total: ??:??/??:??]: 2up [66k]
tar: Skipping to next file header
TLUtils::untar: D:\Download\texlive2020\tlpkg\installer\tar.exe xmf C:\Users\DRAGON~1\AppData\Local\Temp\rDvw1H3tPu\OQr8TqFbUt/2up.r41578.tar failed (in C:/texlive/2020/texmf-dist)
TLPDB::_install_package: untar failed
TLUtils::install_packages: Failed to install 2up
Will be retried later.
Installing [0006/3965, time/total: ??:??/??:??]: Asana-Math [662k]
xz: (stdin): Compressed data is corrupt
TLPDB::_install_package: Decompressing C:\Users\DRAGON~1\AppData\Local\Temp\rDvw1H3tPu\N6NxVURnvm/Asana-Math.r50999.tar.xz failed
TLUtils::install_packages: Failed to install Asana-Math
Will be retried later.

全都是解压错误:xz: (stdin): Compressed data is corrupt和TLPDB::_install_package: untar failed

搜索好久找不到原因,最后看到有人提到msys冲突了,终于解决。
所以如果你安装了msys,又要安装texlive,只需要。再完全重新安装就OK了。

你可能感兴趣的:(windows安装texlive报错xz: (stdin): Compressed data is corrupt、TLPDB::_install_package: untar failed)