[GH-ISSUE #8233] version aware linux upgrade #51768

Open
opened 2026-04-28 20:55:24 -05:00 by GiteaMirror · 4 comments
Owner

Originally created by @lamyergeier on GitHub (Dec 24, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/8233

Originally assigned to: @dhiltgen on GitHub.

What is the issue?

ollama install command, curl -fsSL https://ollama.com/install.sh | sh, removes and reinstalls even if there is no version update.

The script should not remove current version downloads, if there is no version update.

OS

Linux

GPU

Intel

CPU

Intel

Ollama version

0.5.4

Originally created by @lamyergeier on GitHub (Dec 24, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/8233 Originally assigned to: @dhiltgen on GitHub. ### What is the issue? ollama install command, `curl -fsSL https://ollama.com/install.sh | sh`, removes and reinstalls even if there is no version update. The script should not remove current version downloads, if there is no version update. ### OS Linux ### GPU Intel ### CPU Intel ### Ollama version 0.5.4
GiteaMirror added the installfeature requestlinux labels 2026-04-28 20:55:25 -05:00
Author
Owner

@jmorganca commented on GitHub (Dec 29, 2024):

Hi @lamyergeier, this is currently by design to make sure the latest version of Ollama is installed, or in case the install was partially deleted. Let me know if there's a specific use case you have in mind - there should be a way to script this with the /api/version endpoint or ollama -v and checking the latest release on GitHub via GitHub's APIs

<!-- gh-comment-id:2564852310 --> @jmorganca commented on GitHub (Dec 29, 2024): Hi @lamyergeier, this is currently by design to make sure the latest version of Ollama is installed, or in case the install was partially deleted. Let me know if there's a specific use case you have in mind - there should be a way to script this with the `/api/version` endpoint or `ollama -v` and checking the latest release on GitHub via GitHub's APIs
Author
Owner

@lamyergeier commented on GitHub (Dec 29, 2024):

@jmorganca

Use case: if there is no update the commands downloads several GB of same files again, which is unnecessary waste of time and energy.

If people want to install anyways then can give - - force argument along with it.

<!-- gh-comment-id:2564854222 --> @lamyergeier commented on GitHub (Dec 29, 2024): @jmorganca Use case: if there is no update the commands downloads several GB of same files again, which is unnecessary waste of time and energy. If people want to install anyways then can give - - force argument along with it.
Author
Owner

@lamyergeier commented on GitHub (Jan 2, 2025):

@jmorganca Please reopen this issue as it is not complete! Please see the latest comment before this!

<!-- gh-comment-id:2567724979 --> @lamyergeier commented on GitHub (Jan 2, 2025): @jmorganca Please reopen this issue as it is not complete! Please see the latest comment before this!
Author
Owner

@philippgille commented on GitHub (May 24, 2025):

Hi 👋 , I gave this a shot in https://github.com/ollama/ollama/pull/10846

<!-- gh-comment-id:2906997528 --> @philippgille commented on GitHub (May 24, 2025): Hi 👋 , I gave this a shot in https://github.com/ollama/ollama/pull/10846
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#51768