ITADN

chezscheme@10.3.0: download via aria2 failed due to upstream filename change

#1017ClosedQxy0happy 创建于 2025-10-31
verifiedmanifest-fix-neededhelp wanted
Q
Qxy0happycommented
#### Bug Description When trying to update `chezscheme` to version `10.3.0` using `scoop update chezscheme`, the process fails. The download fails with a 404 "Not Found" error because the URL specified in the manifest points to a non-existent file. #### Steps to Reproduce 1. Ensure you have an older version of `chezscheme` installed, or that the dorado bucket is up-to-date. 2. Run the update command in your terminal: ```powershell scoop update chezscheme ``` #### Expected Behavior The `chezscheme` package should be successfully updated to version `10.3.0`. #### Actual Behavior The update fails during the download phase. Aria2 reports "Resource was not found (Error 3)", and the fallback downloader confirms a "(404) Not Found" error. **Console Output:** ``` > scoop update chezscheme chezscheme: 10.2.0 -> 10.3.0 Updating one outdated app: Updating 'chezscheme' (10.2.0 -> 10.3.0) Downloading new version Starting download with aria2 ... Download: 10/31 11:14:31 [ERROR] CUID#8 - Download aborted. URI=https://github.com/cisco/ChezScheme/releases/download/v10.3.0/ChDownload: Exception: [AbstractCommand.cc:351] errorCode=3 URI=https://github.com/cisco/ChezScheme/releases/download/v10.3.0/ChezDownload: Download Results: Download: gid |stat|avg speed |path/URI Download: ======+====+===========+======================================================= Download: d1ef92|ERR | 0B/s|D:/scoop/cache/chezscheme#10.3.0#a0dc644.exe Download: Status Legend: Download: (ERR):error occurred. Download: aria2 will resume download if the transfer is restarted. Download: If there are any errors, then see the log file. See '-l' option in help/man page for details. WARN Download failed! (Error 3) Resource was not found WARN https://github.com/cisco/ChezScheme/releases/download/v10.3.0/ChezScheme10.3.0.exe referer=https://github.com/cisco/ChezScheme/releases/download/v10.3.0/ dir=D:\scoop\cache out=chezscheme#10.3.0#a0dc644.exe WARN & 'D:\scoop\apps\aria2\current\aria2c.exe' --input-file='D:\scoop\cache\chezscheme.txt' --user-agent='Scoop/1.0 (+http://scoop.sh/) PowerShell/7.5 (Windows NT 10.0; Win64; x64; Core)' --allow-overwrite=true --auto-file-renaming=false --retry-wait=2 --split=5 --max-connection-per-server=5 --min-split-size=5M --console-log-level=warn --enable-color=false --no-conf=true --follow-metalink=true --metalink-preferred-protocol=https --min-tls-version=TLSv1.2 --stop-with-process=14924 --continue --summary-interval=0 --auto-save-interval=1 WARN Please try again or create a new issue by using the following link and paste your console output: https://github.com/h404bi/dorado/issues/new?title=chezscheme%4010.3.0%3a+download+via+aria2+failed Fallback to default downloader ... The remote server returned an error: (404) Not Found. URL https://github.com/cisco/ChezScheme/releases/download/v10.3.0/ChezScheme10.3.0.exe is not valid ``` #### Root Cause Analysis I checked the [official Chez Scheme v10.3.0 release page](https://github.com/cisco/ChezScheme/releases/tag/v10.3.0). - The URL Scoop is trying to download is: `.../ChezScheme**10.3.0**.exe` - The actual filename in the release assets is: `.../ChezScheme.exe` The upstream project has changed its release asset naming convention. The version number is no longer included in the filename for the Windows installer. The current manifest seems to be using a pattern like `ChezScheme$version.exe`, which is now incorrect for this version. #### Proposed Solution The manifest file `chezscheme.json` needs to be updated for version `10.3.0`. The `url` field should be changed to point to the correct filename without the version number. Change from a pattern like: ```json "url": "https://github.com/cisco/ChezScheme/releases/download/v$version/ChezScheme$version.exe", ``` To a fixed URL for this specific version: ```json "url": "https://github.com/cisco/ChezScheme/releases/download/v10.3.0/ChezScheme.exe", ``` Thank you for maintaining this bucket
关闭于 2025-11-02 1 条评论