由于...原因,我不得不重新安装 Windows 10,但现在我无法再重新安装 TeX Live 2020。
以下是日志中出现错误的部分示例:
Installing [2194/3989, time/total: 33:29/01:02:36]: luahbtex.win32 [1515k]
TeXLive::TLUtils::check_file_and_remove: checksums differ for C:\Users\Carla\AppData\Local\Temp\DdaEAW72eM\fGSW0JDB9m/luahbtex.win32.tar.xz:
TeXLive::TLUtils::check_file_and_remove: tlchecksum=5e395b24bd9e710be88f1f2e2a3bd18022daf3cf1e2be18d27192eccea50f5ddaa122c6ae8cd4cce6b54d3a8608ae9e119d0dbf25d1e37aa2da8a986aa0a0c70, arg=04f90e04de858fb120852cebd84671f026b355fd1ac1acb5fee48f559f06709f8c25fa4f2ccf84a602de92ff728de5bfdc97610325c803540b349c2c3f1faf18
TeXLive::TLUtils::check_file_and_remove: backtrace:
-> C:/Users/Carla/AppData/Local/Temp/nsi28A4.tmp/install-tl-20200512/tlpkg/TeXLive/TLUtils.pm:2330: TeXLive::TLUtils::check_file_and_remove
-> C:/Users/Carla/AppData/Local/Temp/nsi28A4.tmp/install-tl-20200512/tlpkg/TeXLive/TLPDB.pm:1976: TeXLive::TLUtils::unpack
-> C:/Users/Carla/AppData/Local/Temp/nsi28A4.tmp/install-tl-20200512/tlpkg/TeXLive/TLPDB.pm:1811: TeXLive::TLPDB::_install_data
-> C:/Users/Carla/AppData/Local/Temp/nsi28A4.tmp/install-tl-20200512/tlpkg/TeXLive/TLPDB.pm:1727: TeXLive::TLPDB::not_virtual_install_package
-> C:/Users/Carla/AppData/Local/Temp/nsi28A4.tmp/install-tl-20200512/tlpkg/TeXLive/TLUtils.pm:1552: TeXLive::TLPDB::install_package
-> C:/Users/Carla/AppData/Local/Temp/nsi28A4.tmp/install-tl-20200512/install-tl:2160: TeXLive::TLUtils::install_packages
-> C:/Users/Carla/AppData/Local/Temp/nsi28A4.tmp/install-tl-20200512/install-tl:980: main::do_install_packages
-> C:/Users/Carla/AppData/Local/Temp/nsi28A4.tmp/install-tl-20200512/install-tl:732: main::do_installation
TeXLive::TLUtils::check_file_and_remove: removing C:\Users\Carla\AppData\Local\Temp\DdaEAW72eM\fGSW0JDB9m/luahbtex.win32.tar.xz, but saving copy in C:\Users\Carla\AppData\Local\Temp\VmR0fPlQ0O
TLPDB::_install_data: downloading did not succeed (check_file_and_remove failed) for http://ctan.mirror.garr.it/mirrors/CTAN/systems/texlive/tlnet/archive/luahbtex.win32.tar.xz
TLUtils::install_packages: Failed to install luahbtex.win32
Will be retried later.
Installing [2195/3989, time/total: 33:29/01:02:36]: luahyphenrules [41k]
Installing [2196/3989, time/total: 33:30/01:02:37]: luaimageembed [3k]
Installing [2197/3989, time/total: 33:31/01:02:39]: luaindex [175k]
Installing [2198/3989, time/total: 33:32/01:02:41]: luainputenc [414k]
Installing [2199/3989, time/total: 33:34/01:02:44]: luaintro [31k]
Installing [2200/3989, time/total: 33:35/01:02:45]: luajittex [31k]
Installing [2201/3989, time/total: 33:36/01:02:47]: luajittex.win32 [2143k]
TeXLive::TLUtils::check_file_and_remove: checksums differ for C:\Users\Carla\AppData\Local\Temp\DdaEAW72eM\YHCvF6Ovnj/luajittex.win32.tar.xz:
TeXLive::TLUtils::check_file_and_remove: tlchecksum=d1649342c5f398c1b843a392a7109760abeac59dbb3047d09d3c35c38450247cf6c705165334ef5fa48211871ee5686f19e66f91dd6237bd5840e6de6081ed4a, arg=ea5adb47694ee0f19692c47101a08be3b58587da38aa380358bad58665f864e90da149b8c940d1144cbed9bcd735531c885fb2a781683261a0dda26962d03563
TeXLive::TLUtils::check_file_and_remove: backtrace:
-> C:/Users/Carla/AppData/Local/Temp/nsi28A4.tmp/install-tl-20200512/tlpkg/TeXLive/TLUtils.pm:2330: TeXLive::TLUtils::check_file_and_remove
-> C:/Users/Carla/AppData/Local/Temp/nsi28A4.tmp/install-tl-20200512/tlpkg/TeXLive/TLPDB.pm:1976: TeXLive::TLUtils::unpack
-> C:/Users/Carla/AppData/Local/Temp/nsi28A4.tmp/install-tl-20200512/tlpkg/TeXLive/TLPDB.pm:1811: TeXLive::TLPDB::_install_data
-> C:/Users/Carla/AppData/Local/Temp/nsi28A4.tmp/install-tl-20200512/tlpkg/TeXLive/TLPDB.pm:1727: TeXLive::TLPDB::not_virtual_install_package
-> C:/Users/Carla/AppData/Local/Temp/nsi28A4.tmp/install-tl-20200512/tlpkg/TeXLive/TLUtils.pm:1552: TeXLive::TLPDB::install_package
-> C:/Users/Carla/AppData/Local/Temp/nsi28A4.tmp/install-tl-20200512/install-tl:2160: TeXLive::TLUtils::install_packages
-> C:/Users/Carla/AppData/Local/Temp/nsi28A4.tmp/install-tl-20200512/install-tl:980: main::do_install_packages
-> C:/Users/Carla/AppData/Local/Temp/nsi28A4.tmp/install-tl-20200512/install-tl:732: main::do_installation
TeXLive::TLUtils::check_file_and_remove: removing C:\Users\Carla\AppData\Local\Temp\DdaEAW72eM\YHCvF6Ovnj/luajittex.win32.tar.xz, but saving copy in C:\Users\Carla\AppData\Local\Temp\EKOsppJq2Z
TLPDB::_install_data: downloading did not succeed (check_file_and_remove failed) for http://ctan.mirror.garr.it/mirrors/CTAN/systems/texlive/tlnet/archive/luajittex.win32.tar.xz
TLUtils::install_packages: Failed to install luajittex.win32
Will be retried later.
Installing [2202/3989, time/total: 33:36/01:02:47]: lualatex-doc [126k]
日志结尾如下:
Installing [3989/3989, time/total: 02:05:21/02:05:41]: zxjatype [144k]
Retrying to install: luahbtex.win32 [1515k]
TeXLive::TLUtils::check_file_and_remove: checksums differ for C:\Users\Carla\AppData\Local\Temp\DdaEAW72eM\AweI_6xZCS/luahbtex.win32.tar.xz:
TeXLive::TLUtils::check_file_and_remove: tlchecksum=5e395b24bd9e710be88f1f2e2a3bd18022daf3cf1e2be18d27192eccea50f5ddaa122c6ae8cd4cce6b54d3a8608ae9e119d0dbf25d1e37aa2da8a986aa0a0c70, arg=04f90e04de858fb120852cebd84671f026b355fd1ac1acb5fee48f559f06709f8c25fa4f2ccf84a602de92ff728de5bfdc97610325c803540b349c2c3f1faf18
TeXLive::TLUtils::check_file_and_remove: backtrace:
-> C:/Users/Carla/AppData/Local/Temp/nsi28A4.tmp/install-tl-20200512/tlpkg/TeXLive/TLUtils.pm:2330: TeXLive::TLUtils::check_file_and_remove
-> C:/Users/Carla/AppData/Local/Temp/nsi28A4.tmp/install-tl-20200512/tlpkg/TeXLive/TLPDB.pm:1976: TeXLive::TLUtils::unpack
-> C:/Users/Carla/AppData/Local/Temp/nsi28A4.tmp/install-tl-20200512/tlpkg/TeXLive/TLPDB.pm:1811: TeXLive::TLPDB::_install_data
-> C:/Users/Carla/AppData/Local/Temp/nsi28A4.tmp/install-tl-20200512/tlpkg/TeXLive/TLPDB.pm:1727: TeXLive::TLPDB::not_virtual_install_package
-> C:/Users/Carla/AppData/Local/Temp/nsi28A4.tmp/install-tl-20200512/tlpkg/TeXLive/TLUtils.pm:1566: TeXLive::TLPDB::install_package
-> C:/Users/Carla/AppData/Local/Temp/nsi28A4.tmp/install-tl-20200512/install-tl:2160: TeXLive::TLUtils::install_packages
-> C:/Users/Carla/AppData/Local/Temp/nsi28A4.tmp/install-tl-20200512/install-tl:980: main::do_install_packages
-> C:/Users/Carla/AppData/Local/Temp/nsi28A4.tmp/install-tl-20200512/install-tl:732: main::do_installation
TeXLive::TLUtils::check_file_and_remove: removing C:\Users\Carla\AppData\Local\Temp\DdaEAW72eM\AweI_6xZCS/luahbtex.win32.tar.xz, but saving copy in C:\Users\Carla\AppData\Local\Temp\Ys67QyWzFF
TLPDB::_install_data: downloading did not succeed (check_file_and_remove failed) for http://ctan.mirror.garr.it/mirrors/CTAN/systems/texlive/tlnet/archive/luahbtex.win32.tar.xz
Installation failed.
Rerunning the installer will try to restart the installation.
Or you can restart by running the installer with:
install-tl-windows.bat --profile installation.profile [YOUR-EXTRA-ARGS]
or
install-tl-advanced.bat --profile installation.profile [YOUR-EXTRA-ARGS]
答案1
我在干净的 Windows 上和升级期间重新安装 TexLive 时遇到了同样的问题和同样的错误消息。
作为一种解决方法,您可以下载 TexLive2020 ISO 并使用它来代替正在搜索最新软件包存储库的网络安装程序。当前 ISO 的日期为 2020-04-06。您可以在 CTAN 目录 systems/texlive/Images 中找到下载,或者点击链接: https://ctan.org/tex-archive/systems/texlive/Images
挂载映像后,以管理员身份运行“install-tl-windows.bat”并按照正常安装(验证安装指向 ISO 而不是 net.repo)。