ITADN

Issue with chocolatey package

#39Closednaveen521kk 创建于 2023-07-07
N
naveen521kkcommented
It looks like a new major of Chocolatey was released (last week) and seemed to have broken our package (check the CI log of the previous month's auto-release). Upon some investigation, it was because of https://docs.chocolatey.org/en-us/guides/upgrading-to-chocolatey-v2-v6#package-version-normalization. The URL to the destination file was wrong because of this. I got to know about this from an email report through Chocolatey's contact service: <details> <summary>email text</summary> ``` Hi, I am trying to install tinytex but I am getting an error. It seems like a file is not available anymore on the rstudio website. Do you have any idea how to fix the installation? best,Ger PS C:\Code\dassetup> choco install tinytex -y Chocolatey v2.1.0 Installing the following packages: tinytex By installing, you accept licenses for the packages. Progress: Downloading tinytex 2023.06... 13% Progress: Downloading tinytex 2023.06... 39% Progress: Downloading tinytex 2023.06... 64% Progress: Downloading tinytex 2023.06... 89% Progress: Downloading tinytex 2023.06... 100% tinytex v2023.6.0 [Approved] tinytex package files install completed. Performing other installation steps. Attempt to get headers for https://github.com/rstudio/tinytex-releases/releases/download/v2023.6.0/TinyTeX-1-v2023.6.0.zip fa iled. The remote file either doesn't exist, is unauthorized, or is forbidden for url 'https://github.com/rstudio/tinytex-releases /releases/download/v2023.6.0/TinyTeX-1-v2023.6.0.zip'. Exception calling "GetResponse" with "0" argument(s): "The remote serv er returned an error: (404) Not Found." Downloading tinytex from 'https://github.com/rstudio/tinytex-releases/releases/download/v2023.6.0/TinyTeX-1-v2023.6.0.zip' ERROR: The remote file either doesn't exist, is unauthorized, or is forbidden for url 'https://github.com/rstudio/tinytex-rel eases/releases/download/v2023.6.0/TinyTeX-1-v2023.6.0.zip'. Exception calling "GetResponse" with "0" argument(s): "The remote server returned an error: (404) Not Found." The install of tinytex was NOT successful. Error while running 'C:\ProgramData\chocolatey\lib\tinytex\tools\chocolateyinstall.ps1'. See log for details. Chocolatey installed 0/1 packages. 1 packages failed. See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log). Failures - tinytex (exited 404) - Error while running 'C:\ProgramData\chocolatey\lib\tinytex\tools\chocolateyinstall.ps1'. See log for details. ``` </details>
关闭于 2023-07-08 1 条评论