我使用 Chocolatey 安装了 texlive,但忘记传入--params
. 我使用卸载了该软件包choco uninstall texlive
,然后尝试重新安装,如下所示:
choco install texlive --params="'/collections:games /scheme:basic'"
不幸的是,我现在收到一个错误:
ERROR: The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Cannot create a file when that file already exists.
当我尝试时,choco uninstall texlive
我得到完全相同的错误。当我pdflatex
在命令行上运行时,它似乎没有将其识别为有效命令。
我还在 github 上发现了一个问题,该问题指向他们的一个 CI/CD 管道中发生的这个问题。此外,在texlive 的巧克力社区主页面的讨论部分,用户也报告了他们本地机器上的类似问题。
我该如何解决这个问题才能让 texlive 重新启动并运行?