[GH-ISSUE #13496] Running Update Broke Ollama #8899

Closed
opened 2026-04-12 21:42:13 -05:00 by GiteaMirror · 3 comments
Owner

Originally created by @nshiell on GitHub (Dec 16, 2025).
Original GitHub issue: https://github.com/ollama/ollama/issues/13496

What is the issue?

Ollama was previously installed and working OK, to update to the latest version I ran:
curl -fsSL https://ollama.com/install.sh | sh

Now when I run:
ollama run mistral-nemo:latest

I see:
-bash: /usr/local/bin/ollama: Permission denied

FYI when I run:
sudo ollama run mistral-nemo:latest

I see:
Segmentation fault (core dumped)

It worked fine before the update

Relevant log output


OS

Linux

GPU

Nvidia

CPU

Intel

Ollama version

Unknown (latest as of 2025-12-16)

Originally created by @nshiell on GitHub (Dec 16, 2025). Original GitHub issue: https://github.com/ollama/ollama/issues/13496 ### What is the issue? Ollama was previously installed and working OK, to update to the latest version I ran: `curl -fsSL https://ollama.com/install.sh | sh` Now when I run: `ollama run mistral-nemo:latest` I see: `-bash: /usr/local/bin/ollama: Permission denied` FYI when I run: `sudo ollama run mistral-nemo:latest` I see: `Segmentation fault (core dumped)` It worked fine before the update ### Relevant log output ```shell ``` ### OS Linux ### GPU Nvidia ### CPU Intel ### Ollama version Unknown (latest as of 2025-12-16)
GiteaMirror added the bug label 2026-04-12 21:42:13 -05:00
Author
Owner

@rick-github commented on GitHub (Dec 16, 2025):

Output of ls -l /usr/local/bin/ollama?

<!-- gh-comment-id:3660107781 --> @rick-github commented on GitHub (Dec 16, 2025): Output of `ls -l /usr/local/bin/ollama`?
Author
Owner

@nshiell commented on GitHub (Dec 16, 2025):

Running ls -l /usr/local/bin/ollama shows

-rwx------ 1 root root 18738688 Dec 16 10:37 /usr/local/bin/ollama

<!-- gh-comment-id:3660213644 --> @nshiell commented on GitHub (Dec 16, 2025): Running `ls -l /usr/local/bin/ollama` shows `-rwx------ 1 root root 18738688 Dec 16 10:37 /usr/local/bin/ollama`
Author
Owner

@nshiell commented on GitHub (Dec 16, 2025):

I ran sudo chmod 777 /usr/local/bin/ollama
Then I re-ran curl -fsSL https://ollama.com/install.sh | sh
Now it seems to work
I don't know why it does work now, but didn't a few hours ago, I guess it must be closed as I can't recreate the issue anymore

<!-- gh-comment-id:3661298622 --> @nshiell commented on GitHub (Dec 16, 2025): I ran `sudo chmod 777 /usr/local/bin/ollama` Then I re-ran `curl -fsSL https://ollama.com/install.sh | sh` Now it seems to work I don't know why it does work now, but didn't a few hours ago, I guess it must be closed as I can't recreate the issue anymore
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#8899