ollama - 💡(How to fix) Fix Pre-release 0.20.0-rc0 -- 404 not found [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
ollama/ollama#15239Fetched 2026-04-08 02:33:51
View on GitHub
Comments
1
Participants
2
Timeline
3
Reactions
0
Author
Timeline (top)
closed ×1commented ×1labeled ×1

Error Message

curl: (22) The requested URL returned error: 404

Code Example

curl -fsSL https://ollama.com/install.sh | OLLAMA_VERSION=0.20.0 sh
curl -fsSL https://ollama.com/install.sh | OLLAMA_VERSION=0.20.0-rc0 sh

---

curl: (22) The requested URL returned error: 404

---

$ curl -L https://github.com/ollama/ollama/releases/download/v0.20.0-rc1/install.sh|OLLAMA_VERSION=0.20.0 sudo bash 
>>> Cleaning up old version at /usr/local/lib/ollama
>>> Installing ollama to /usr/local
>>> Downloading ollama-linux-amd64.tar.zst
######################################################################## 100.0%
>>> Adding ollama user to render group...
>>> Adding ollama user to video group...
>>> Adding current user to ollama group...
>>> Creating ollama systemd service...
>>> Enabling and starting ollama service...
>>> NVIDIA GPU installed.

$ ollama --version
ollama version is 0.19.0

---

$ curl -fsSL https://ollama.com/install.sh | OLLAMA_VERSION=0.20.0 sh -x
+ main
+ set -eu
+ red=
+ plain=
+ mktemp -d
+ TEMP_DIR=/tmp/tmp.8Y5NTEwvJ6
+ trap cleanup EXIT
+ uname -s
+ OS=Linux
+ uname -m
+ ARCH=x86_64
+ ARCH=amd64
+ VER_PARAM=?version=0.20.0
+ [ Linux = Darwin ]
+ [ Linux = Linux ]
+ IS_WSL2=false
+ uname -r
+ KERN=6.17.0-19-generic
+ SUDO=
+ id -u
+ [ 1000 -ne 0 ]
+ available sudo
+ command -v sudo
+ SUDO=sudo
+ require curl awk grep sed tee xargs
+ local MISSING=
+ available curl
+ command -v curl
+ available awk
+ command -v awk
+ available grep
+ command -v grep
+ available sed
+ command -v sed
+ available tee
+ command -v tee
+ available xargs
+ command -v xargs
+ echo
+ NEEDS=
+ [ -n  ]
+ echo /usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin
+ grep -q /usr/local/bin
+ break
+ dirname /usr/local/bin
+ OLLAMA_INSTALL_DIR=/usr/local
+ [ -d /usr/local/lib/ollama ]
+ status Cleaning up old version at /usr/local/lib/ollama
+ echo >>> Cleaning up old version at /usr/local/lib/ollama
>>> Cleaning up old version at /usr/local/lib/ollama
+ sudo rm -rf /usr/local/lib/ollama
+ status Installing ollama to /usr/local
+ echo >>> Installing ollama to /usr/local
>>> Installing ollama to /usr/local
+ sudo install -o0 -g0 -m755 -d /usr/local/bin
+ sudo install -o0 -g0 -m755 -d /usr/local/lib/ollama
+ download_and_extract https://ollama.com/download /usr/local ollama-linux-amd64
+ local url_base=https://ollama.com/download
+ local dest_dir=/usr/local
+ local filename=ollama-linux-amd64
+ curl --fail --silent --head --location https://ollama.com/download/ollama-linux-amd64.tar.zst?version=0.20.0
+ status Downloading ollama-linux-amd64.tgz
+ echo >>> Downloading ollama-linux-amd64.tgz
>>> Downloading ollama-linux-amd64.tgz
+ curl --fail --show-error --location --progress-bar https://ollama.com/download/ollama-linux-amd64.tgz?version=0.20.0
+ sudo tar -xzf - -C /usr/local
curl: (22) The requested URL returned error: 404                               


gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now
+ cleanup
+ rm -rf /tmp/tmp.xxxxxxx
RAW_BUFFERClick to expand / collapse

Can't install pre-release version 0.20.0

I've tried installing the pre-release version 0.20.0-rc0 following the installation instructions, but the command failed with a 404 error.

Commands tried:

curl -fsSL https://ollama.com/install.sh | OLLAMA_VERSION=0.20.0 sh
curl -fsSL https://ollama.com/install.sh | OLLAMA_VERSION=0.20.0-rc0 sh

Error:

curl: (22) The requested URL returned error: 404

The following command succeeds, but it installs the wrong version, 0.19.0.

$ curl -L https://github.com/ollama/ollama/releases/download/v0.20.0-rc1/install.sh|OLLAMA_VERSION=0.20.0 sudo bash 
>>> Cleaning up old version at /usr/local/lib/ollama
>>> Installing ollama to /usr/local
>>> Downloading ollama-linux-amd64.tar.zst
######################################################################## 100.0%
>>> Adding ollama user to render group...
>>> Adding ollama user to video group...
>>> Adding current user to ollama group...
>>> Creating ollama systemd service...
>>> Enabling and starting ollama service...
>>> NVIDIA GPU installed.

$ ollama --version
ollama version is 0.19.0

Same with: curl -L https://github.com/ollama/ollama/releases/download/v0.20.0-rc1/install.sh|OLLAMA_VERSION=0.20.0-rc0 sudo bash

Relevant log output

$ curl -fsSL https://ollama.com/install.sh | OLLAMA_VERSION=0.20.0 sh -x
+ main
+ set -eu
+ red=
+ plain=
+ mktemp -d
+ TEMP_DIR=/tmp/tmp.8Y5NTEwvJ6
+ trap cleanup EXIT
+ uname -s
+ OS=Linux
+ uname -m
+ ARCH=x86_64
+ ARCH=amd64
+ VER_PARAM=?version=0.20.0
+ [ Linux = Darwin ]
+ [ Linux = Linux ]
+ IS_WSL2=false
+ uname -r
+ KERN=6.17.0-19-generic
+ SUDO=
+ id -u
+ [ 1000 -ne 0 ]
+ available sudo
+ command -v sudo
+ SUDO=sudo
+ require curl awk grep sed tee xargs
+ local MISSING=
+ available curl
+ command -v curl
+ available awk
+ command -v awk
+ available grep
+ command -v grep
+ available sed
+ command -v sed
+ available tee
+ command -v tee
+ available xargs
+ command -v xargs
+ echo
+ NEEDS=
+ [ -n  ]
+ echo /usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin
+ grep -q /usr/local/bin
+ break
+ dirname /usr/local/bin
+ OLLAMA_INSTALL_DIR=/usr/local
+ [ -d /usr/local/lib/ollama ]
+ status Cleaning up old version at /usr/local/lib/ollama
+ echo >>> Cleaning up old version at /usr/local/lib/ollama
>>> Cleaning up old version at /usr/local/lib/ollama
+ sudo rm -rf /usr/local/lib/ollama
+ status Installing ollama to /usr/local
+ echo >>> Installing ollama to /usr/local
>>> Installing ollama to /usr/local
+ sudo install -o0 -g0 -m755 -d /usr/local/bin
+ sudo install -o0 -g0 -m755 -d /usr/local/lib/ollama
+ download_and_extract https://ollama.com/download /usr/local ollama-linux-amd64
+ local url_base=https://ollama.com/download
+ local dest_dir=/usr/local
+ local filename=ollama-linux-amd64
+ curl --fail --silent --head --location https://ollama.com/download/ollama-linux-amd64.tar.zst?version=0.20.0
+ status Downloading ollama-linux-amd64.tgz
+ echo >>> Downloading ollama-linux-amd64.tgz
>>> Downloading ollama-linux-amd64.tgz
+ curl --fail --show-error --location --progress-bar https://ollama.com/download/ollama-linux-amd64.tgz?version=0.20.0
+ sudo tar -xzf - -C /usr/local
curl: (22) The requested URL returned error: 404                               


gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now
+ cleanup
+ rm -rf /tmp/tmp.xxxxxxx

OS

Linux

GPU

No response

CPU

No response

Ollama version

0.20.0

extent analysis

TL;DR

The most likely fix is to use the correct installation script from the GitHub releases page, specifying the desired pre-release version.

Guidance

  • The issue seems to stem from the installation script trying to download a non-existent version of the ollama package from https://ollama.com/download.
  • To install the pre-release version 0.20.0, try using the installation script from the GitHub releases page, like this: curl -L https://github.com/ollama/ollama/releases/download/v0.20.0-rc1/install.sh | sudo bash.
  • Verify that the installation was successful by checking the ollama version: ollama --version.
  • If the version is still not correct, try specifying the version explicitly in the installation command, like this: curl -L https://github.com/ollama/ollama/releases/download/v0.20.0-rc1/install.sh | OLLAMA_VERSION=0.20.0-rc1 sudo bash.

Example

No code snippet is provided as the issue is related to the installation script and not a code-specific problem.

Notes

The provided installation commands seem to be trying to install version 0.20.0, but the GitHub releases page only has version 0.20.0-rc1 available. This might be the cause of the 404 error.

Recommendation

Apply the workaround by using the correct installation script from the GitHub releases page, specifying the desired pre-release version. This should allow the installation of the correct version of ollama.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING