[PR #11717] [CLOSED] Let curl resume downloads in install.sh #12348

Closed
opened 2025-11-12 16:33:54 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/11717
Author: @Androbin
Created: 8/6/2025
Status: Closed

Base: mainHead: patch-1


📝 Commits (1)

  • 86de581 Let curl resume downloads in install.sh

📊 Changes

1 file changed (+4 additions, -4 deletions)

View changed files

📝 scripts/install.sh (+4 -4)

📄 Description

Problem

>>> Cleaning up old version at /usr/local/lib/ollama
>>> Installing ollama to /usr/local
>>> Downloading Linux amd64 bundle
#########################################                                 57.5%curl: (92) HTTP/2 stream 1 was not closed cleanly: PROTOCOL_ERROR (err 1)


gzip: stdin: unexpected end of file
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now

Solution

Use --continue-at - to tell curl to automatically (find out where/how to) resume the transfer.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/11717 **Author:** [@Androbin](https://github.com/Androbin) **Created:** 8/6/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `patch-1` --- ### 📝 Commits (1) - [`86de581`](https://github.com/ollama/ollama/commit/86de5811bf791772fb2cbc27028159b24b1bff5b) Let curl resume downloads in install.sh ### 📊 Changes **1 file changed** (+4 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `scripts/install.sh` (+4 -4) </details> ### 📄 Description # Problem ``` >>> Cleaning up old version at /usr/local/lib/ollama >>> Installing ollama to /usr/local >>> Downloading Linux amd64 bundle ######################################### 57.5%curl: (92) HTTP/2 stream 1 was not closed cleanly: PROTOCOL_ERROR (err 1) gzip: stdin: unexpected end of file tar: Unexpected EOF in archive tar: Unexpected EOF in archive tar: Error is not recoverable: exiting now ``` # Solution Use `--continue-at -` to tell `curl` to automatically (find out where/how to) resume the transfer. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-12 16:33:54 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama-ollama#12348