[GH-ISSUE #6801] Ollama can't update the binary #66328

Closed
opened 2026-05-04 02:37:19 -05:00 by GiteaMirror · 8 comments
Owner

Originally created by @suizideFloat on GitHub (Sep 14, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/6801

What is the issue?

AS I understand to update ollama to current version you run teh command curl -fsSL https://ollama.com/install.sh | sh as if you install for the first time. At least I did that before and it worked.
Now I am running 0.3.8 ; "ollama version is 0.3.8" and want to update to 0.3.10 via the default curl command.
Always ends with the following error massage:

# curl -fsSL https://ollama.com/install.sh | sh
`` >>> Installing ollama to /usr/local

Downloading Linux amd64 bundle
######################################################################## 100.0%#=#=#

gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now ``

Is there anything to fix that? Why is that happening? Any way to install it manually? How?

OS

Linux

GPU

Other

CPU

Intel

Ollama version

0.3.8

Originally created by @suizideFloat on GitHub (Sep 14, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/6801 ### What is the issue? AS I understand to update ollama to current version you run teh command ```curl -fsSL https://ollama.com/install.sh | sh ``` as if you install for the first time. At least I did that before and it worked. Now I am running 0.3.8 ; "ollama version is 0.3.8" and want to update to 0.3.10 via the default curl command. Always ends with the following error massage: ``` # curl -fsSL https://ollama.com/install.sh | sh ``` `` >>> Installing ollama to /usr/local >>> Downloading Linux amd64 bundle ######################################################################## 100.0%#=#=# gzip: stdin: unexpected end of file tar: Child returned status 1 tar: Error is not recoverable: exiting now `` Is there anything to fix that? Why is that happening? Any way to install it manually? How? ### OS Linux ### GPU Other ### CPU Intel ### Ollama version 0.3.8
GiteaMirror added the needs more infobug labels 2026-05-04 02:37:20 -05:00
Author
Owner

@pdevine commented on GitHub (Sep 14, 2024):

Are you out of disk space? Can you run df -h .?

<!-- gh-comment-id:2351051013 --> @pdevine commented on GitHub (Sep 14, 2024): Are you out of disk space? Can you run `df -h .`?
Author
Owner

@suizideFloat commented on GitHub (Sep 16, 2024):

No I am not, still >9 GB free storage on root.

<!-- gh-comment-id:2352868341 --> @suizideFloat commented on GitHub (Sep 16, 2024): No I am not, still >9 GB free storage on root.
Author
Owner

@pdevine commented on GitHub (Sep 16, 2024):

@suizideFloat can you check dmesg and see if there is a problem with your storage? This doesn't seem to be related the ollama installer, but something with either your hardware or a networking problem.

<!-- gh-comment-id:2353592930 --> @pdevine commented on GitHub (Sep 16, 2024): @suizideFloat can you check `dmesg` and see if there is a problem with your storage? This doesn't _seem_ to be related the ollama installer, but something with either your hardware or a networking problem.
Author
Owner

@suizideFloat commented on GitHub (Sep 19, 2024):

No there is no issues at all with block devices or else. Why do you think so? Why do you think a networking problem? Its downloading the installer payload. How to install/update it manually?

<!-- gh-comment-id:2360539710 --> @suizideFloat commented on GitHub (Sep 19, 2024): No there is no issues at all with block devices or else. Why do you think so? Why do you think a networking problem? Its downloading the installer payload. How to install/update it manually?
Author
Owner

@dhiltgen commented on GitHub (Sep 30, 2024):

@suizideFloat manual install instructions are described here: https://github.com/ollama/ollama/blob/main/docs/linux.md#manual-install

<!-- gh-comment-id:2384365668 --> @dhiltgen commented on GitHub (Sep 30, 2024): @suizideFloat manual install instructions are described here: https://github.com/ollama/ollama/blob/main/docs/linux.md#manual-install
Author
Owner

@suizideFloat commented on GitHub (Oct 3, 2024):

Well yes but thats very basic. I still want it running as a system-service ofc.

<!-- gh-comment-id:2391516553 --> @suizideFloat commented on GitHub (Oct 3, 2024): Well yes but thats very basic. I still want it running as a system-service ofc.
Author
Owner

@pdevine commented on GitHub (Oct 23, 2024):

@suizideFloat you can pipe the install script w/ something like curl -fsSL https://ollama.com/install.sh > install.sh and then follow the commands inside of the shell script.

For whatever reason when it tries to unpack the tarball onto your machine it's not able to write to that location, which would most likely be something like permissions, or a full /usr/local or something along those lines.

<!-- gh-comment-id:2430757285 --> @pdevine commented on GitHub (Oct 23, 2024): @suizideFloat you can pipe the install script w/ something like `curl -fsSL https://ollama.com/install.sh > install.sh` and then follow the commands inside of the shell script. For whatever reason when it tries to unpack the tarball onto your machine it's not able to write to that location, which would most likely be something like permissions, or a full `/usr/local` or something along those lines.
Author
Owner

@pdevine commented on GitHub (Jan 15, 2025):

I'm going to go ahead and close this since there hasn't been any update for a while.

<!-- gh-comment-id:2593971144 --> @pdevine commented on GitHub (Jan 15, 2025): I'm going to go ahead and close this since there hasn't been any update for a while.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#66328