ScoopInstaller / Main

📦 The default bucket for Scoop.
https://scoop.sh
The Unlicense
1.54k stars 919 forks source link

ollama@0.1.45: decompress error #5941

Open Dementore711 opened 1 week ago

Dementore711 commented 1 week ago

`C:\Users***>scoop update ollama: 0.1.42 -> 0.1.45 Updating one outdated app: Updating 'ollama' (0.1.42 -> 0.1.45) Downloading new version Starting download with aria2 ... Download: Download Results: Download: gid |stat|avg speed |path/URI Download: ======+====+===========+======================================================= Download: a9cf6e|OK | 6.7MiB/s|E:/Scoop/cache/ollama#0.1.45#https_github.com_ollama_ollama_releases_download_v0.1.45_OllamaSetup.exe Download: Status Legend: Download: (OK):download completed. Checking hash of OllamaSetup.exe ... ok. Uninstalling 'ollama' (0.1.42) Installing 'ollama' (0.1.45) [64bit] from 'main' bucket Loading OllamaSetup.exe from cache. Extracting OllamaSetup.exe ... ERROR Exit code was 1! Failed to extract files from E:\Scoop\apps\ollama\0.1.45\OllamaSetup.exe. Log file: E:\Scoop\apps\ollama\0.1.45\innounp.log

Please try again or create a new issue by using the following link and paste your console output: https://github.com/ScoopInstaller/Main/issues/new?title=ollama%400.1.45%3a+decompress+error`

<---------------- innounp.log ---------------->

Signature detected: Inno Setup Setup Data (6.3.0) This is not directly supported, but i'll try to unpack it as version 5602 ; Version detected: 6300 Critical error: The setup files are corrupted. Please obtain a new copy of the program.

zhangchaoza commented 1 week ago

Relates to ScoopInstaller/Extras#13444

kohded commented 13 hours ago

innounp.json manifest - For some reason can't get checkver to work on homepage, so I used the source htm file on GitHub. Sorry, I don't have time to go through the contributrion guideline so I'm submitting this here for others.

{
  "autoupdate": {
    "url": "https://github.com/jrathlev/InnoUnpacker-Windows-GUI/raw/master/innounp-$majorVersion/bin/innounp-$cleanVersion.zip"
  },
  "bin": "innounp.exe",
  "checkver": {
    "regex": "Version ([\\d.]+) - Unicode",
    "url": "https://github.com/jrathlev/InnoUnpacker-Windows-GUI/blob/master/innounp-$majorVersion/innounp.htm"
  },
  "description": "Unicode version of the console application Inno Setup Unpacker - for Inno Setup 2.0.7 to 6.3",
  "hash": "1ff7d7ed9a8e3461af6427d00921eef75d13869cfa4863fb1cd1e61b2f3ed031",
  "homepage": "https://www.rathlev-home.de/index-e.html?tools/prog-e.html#unpack",
  "license": "MPL|LGPL-2.0-or-later",
  "url": "https://github.com/jrathlev/InnoUnpacker-Windows-GUI/raw/master/innounp-1/bin/innounp-170.zip",
  "version": "1.70"
}

Manual Fix:

kohded commented 5 hours ago

My mistake with the previous comment. It looks like this manifest is under the versions bucket as innounp-unicode.json, and planned as the default Inno Setup Unpacker for Scoop.