Extras icon indicating copy to clipboard operation
Extras copied to clipboard

[email protected]: download via aria2 failed

Open sravanpannala opened this issue 1 year ago • 1 comments

scoop install extras/vcredist2022
WARN  Purging previous failed installation of vcredist2022.
ERROR 'vcredist2022' isn't installed correctly.
Removing older version (14.42.34433.0).
'vcredist2022' was uninstalled.
Installing 'vcredist2022' (14.42.34433.0) [64bit] from 'extras' bucket
Starting download with aria2 ...
Download: 01/26 17:05:28 [ERROR] CUID#8 - Download aborted. URI=https://aka.ms/vDownload: Exception: [AbstractCommand.cc:312] errorCode=1 Network problem has ocDownload: 01/26 17:05:28 [ERROR] CUID#9 - Download aborted. URI=https://aka.ms/vDownload: Exception: [AbstractCommand.cc:312] errorCode=1 Network problem has ocDownload: Download Results:                                           rk.
Download: gid   |stat|avg speed  |path/URI
Download: ======+====+===========+=======================================================
Download: aa66b3|ERR |       0B/s|C:/Users/pansr/scoop/cache/vcredist2022#14.42.34433.0#40f6987.exe
Download: b7d52d|ERR |       0B/s|C:/Users/pansr/scoop/cache/vcredist2022#14.42.34433.0#6fc12d9.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.

ERROR Download failed! (Error 1) An unknown error occurred
ERROR https://aka.ms/vs/17/release/vc_redist.x64.exe
    referer=https://aka.ms/vs/17/release/
    dir=C:\Users\pansr\scoop\cache
    out=vcredist2022#14.42.34433.0#40f6987.exe
https://aka.ms/vs/17/release/vc_redist.x86.exe
    referer=https://aka.ms/vs/17/release/
    dir=C:\Users\pansr\scoop\cache
    out=vcredist2022#14.42.34433.0#6fc12d9.exe

ERROR & 'C:\Users\pansr\scoop\apps\aria2\current\aria2c.exe' --input-file='C:\Users\pansr\scoop\cache\vcredist2022.txt' --user-agent='Scoop/1.0 (+http://scoop.sh/) PowerShell/7.4 (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=2536 --continue --summary-interval=0 --auto-save-interval=1

sravanpannala avatar Jan 26 '25 22:01 sravanpannala

Cannot reproduce.

All files could be downloaded without any issue. Problems with download could be caused by:

  • Network error
  • Blocked site (Great Firewall of China, Corporate restrictions, ...)
  • Antivirus settings blocking URL/downloaded file
  • Proxy configuration
  • Aria2 being unreliable (if you're facing problems with aria2, disable it by running scoop config aria2-enabled false and try again)

github-actions[bot] avatar Jan 26 '25 22:01 github-actions[bot]