[GH-ISSUE #2302] NVIDIA repository 404 #1326

Open
opened 2026-04-12 11:09:28 -05:00 by GiteaMirror · 10 comments
Owner

Originally created by @elliptic1 on GitHub (Feb 1, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/2302

Originally assigned to: @dhiltgen on GitHub.

When I tried to install on my ubuntu machine

$ uname -a
Linux todd-aosp-machine 6.5.0-14-generic #14-Ubuntu SMP PREEMPT_DYNAMIC Tue Nov 14 14:59:49 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

with a GeForce GTX 1660:

01:00.0 VGA compatible controller: NVIDIA Corporation TU116 [GeForce GTX 1660] (rev a1)

I get a 404:

$ curl https://ollama.ai/install.sh | sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0>>> Downloading ollama...
100 8422 0 8422 0 0 41689 0 --:--:-- --:--:-- --:--:-- 41900
######################################################################## 100.0%######################################################################### 100.0%
Installing ollama to /usr/local/bin...
Adding ollama user to render group...
Adding current user to ollama group...
Creating ollama systemd service...
Enabling and starting ollama service...
Installing NVIDIA repository...
curl: (22) The requested URL returned error: 404

Originally created by @elliptic1 on GitHub (Feb 1, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/2302 Originally assigned to: @dhiltgen on GitHub. When I tried to install on my ubuntu machine > $ uname -a Linux todd-aosp-machine 6.5.0-14-generic #14-Ubuntu SMP PREEMPT_DYNAMIC Tue Nov 14 14:59:49 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux with a GeForce GTX 1660: > 01:00.0 VGA compatible controller: NVIDIA Corporation TU116 [GeForce GTX 1660] (rev a1) I get a 404: > $ curl https://ollama.ai/install.sh | sh % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0>>> Downloading ollama... 100 8422 0 8422 0 0 41689 0 --:--:-- --:--:-- --:--:-- 41900 ######################################################################## 100.0%######################################################################### 100.0% Installing ollama to /usr/local/bin... Adding ollama user to render group... Adding current user to ollama group... Creating ollama systemd service... Enabling and starting ollama service... Installing NVIDIA repository... curl: (22) The requested URL returned error: 404
GiteaMirror added the gpu label 2026-04-12 11:09:28 -05:00
Author
Owner

@elliptic1 commented on GitHub (Feb 1, 2024):

I added -v to the curl:

$ ./install.sh

Downloading ollama...
################################################################################################## 100.0%################################################################################################## 100.0%
Installing ollama to /usr/local/bin...
Adding ollama user to render group...
Adding current user to ollama group...
Creating ollama systemd service...
Enabling and starting ollama service...
Installing NVIDIA repository...

  • processing: https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2310/x86_64/cuda-keyring_1.1-1_all.deb
  • Trying 152.195.19.142:443...
  • Connected to developer.download.nvidia.com (152.195.19.142) port 443
  • ALPN: offers h2,http/1.1
    } [5 bytes data]
  • TLSv1.3 (OUT), TLS handshake, Client hello (1):
    } [512 bytes data]
  • CAfile: /etc/ssl/certs/ca-certificates.crt
  • CApath: /etc/ssl/certs
    { [5 bytes data]
  • TLSv1.3 (IN), TLS handshake, Server hello (2):
    { [88 bytes data]
  • TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
    } [1 bytes data]
  • TLSv1.3 (OUT), TLS handshake, Client hello (1):
    } [512 bytes data]
  • TLSv1.3 (IN), TLS handshake, Server hello (2):
    { [155 bytes data]
  • TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
    { [15 bytes data]
  • TLSv1.3 (IN), TLS handshake, Certificate (11):
    { [3288 bytes data]
  • TLSv1.3 (IN), TLS handshake, CERT verify (15):
    { [264 bytes data]
  • TLSv1.3 (IN), TLS handshake, Finished (20):
    { [52 bytes data]
  • TLSv1.3 (OUT), TLS handshake, Finished (20):
    } [52 bytes data]
  • SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384
  • ALPN: server accepted h2
  • Server certificate:
  • subject: C=US; ST=California; L=Santa Clara; O=NVIDIA Corporation; CN=developer.download.nvidia.com
  • start date: Nov 7 00:00:00 2023 GMT
  • expire date: Nov 6 23:59:59 2024 GMT
  • subjectAltName: host "developer.download.nvidia.com" matched cert's "developer.download.nvidia.com"
  • issuer: C=US; O=DigiCert Inc; CN=DigiCert Global G2 TLS RSA SHA256 2020 CA1
  • SSL certificate verify ok.
    } [5 bytes data]
  • using HTTP/2
  • h2 [:method: GET]
  • h2 [:scheme: https]
  • h2 [:authority: developer.download.nvidia.com]
  • h2 [:path: /compute/cuda/repos/ubuntu2310/x86_64/cuda-keyring_1.1-1_all.deb]
  • h2 [user-agent: curl/8.2.1]
  • h2 [accept: /]
  • Using Stream ID: 1
    } [5 bytes data]

GET /compute/cuda/repos/ubuntu2310/x86_64/cuda-keyring_1.1-1_all.deb HTTP/2
Host: developer.download.nvidia.com
User-Agent: curl/8.2.1
Accept: /

{ [5 bytes data]

  • TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
    { [233 bytes data]
  • TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
    { [233 bytes data]
  • old SSL session ID is stale, removing
    { [5 bytes data]
    < HTTP/2 404
    < cache-control: max-age=604800
    < content-type: text/html
    < date: Thu, 01 Feb 2024 03:45:35 GMT
    < expires: Thu, 08 Feb 2024 03:45:35 GMT
    < server: EOS (vny/044F)
    < content-length: 433
  • The requested URL returned error: 404
  • Connection #0 to host developer.download.nvidia.com left intact
    curl: (22) The requested URL returned error: 404
<!-- gh-comment-id:1920452668 --> @elliptic1 commented on GitHub (Feb 1, 2024): I added `-v` to the curl: > $ ./install.sh >>> Downloading ollama... ################################################################################################## 100.0%################################################################################################## 100.0% >>> Installing ollama to /usr/local/bin... >>> Adding ollama user to render group... >>> Adding current user to ollama group... >>> Creating ollama systemd service... >>> Enabling and starting ollama service... >>> Installing NVIDIA repository... * processing: https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2310/x86_64/cuda-keyring_1.1-1_all.deb * Trying 152.195.19.142:443... * Connected to developer.download.nvidia.com (152.195.19.142) port 443 * ALPN: offers h2,http/1.1 } [5 bytes data] * TLSv1.3 (OUT), TLS handshake, Client hello (1): } [512 bytes data] * CAfile: /etc/ssl/certs/ca-certificates.crt * CApath: /etc/ssl/certs { [5 bytes data] * TLSv1.3 (IN), TLS handshake, Server hello (2): { [88 bytes data] * TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1): } [1 bytes data] * TLSv1.3 (OUT), TLS handshake, Client hello (1): } [512 bytes data] * TLSv1.3 (IN), TLS handshake, Server hello (2): { [155 bytes data] * TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8): { [15 bytes data] * TLSv1.3 (IN), TLS handshake, Certificate (11): { [3288 bytes data] * TLSv1.3 (IN), TLS handshake, CERT verify (15): { [264 bytes data] * TLSv1.3 (IN), TLS handshake, Finished (20): { [52 bytes data] * TLSv1.3 (OUT), TLS handshake, Finished (20): } [52 bytes data] * SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384 * ALPN: server accepted h2 * Server certificate: * subject: C=US; ST=California; L=Santa Clara; O=NVIDIA Corporation; CN=developer.download.nvidia.com * start date: Nov 7 00:00:00 2023 GMT * expire date: Nov 6 23:59:59 2024 GMT * subjectAltName: host "developer.download.nvidia.com" matched cert's "developer.download.nvidia.com" * issuer: C=US; O=DigiCert Inc; CN=DigiCert Global G2 TLS RSA SHA256 2020 CA1 * SSL certificate verify ok. } [5 bytes data] * using HTTP/2 * h2 [:method: GET] * h2 [:scheme: https] * h2 [:authority: developer.download.nvidia.com] * h2 [:path: /compute/cuda/repos/ubuntu2310/x86_64/cuda-keyring_1.1-1_all.deb] * h2 [user-agent: curl/8.2.1] * h2 [accept: */*] * Using Stream ID: 1 } [5 bytes data] > GET /compute/cuda/repos/ubuntu2310/x86_64/cuda-keyring_1.1-1_all.deb HTTP/2 > Host: developer.download.nvidia.com > User-Agent: curl/8.2.1 > Accept: */* > { [5 bytes data] * TLSv1.3 (IN), TLS handshake, Newsession Ticket (4): { [233 bytes data] * TLSv1.3 (IN), TLS handshake, Newsession Ticket (4): { [233 bytes data] * old SSL session ID is stale, removing { [5 bytes data] < HTTP/2 404 < cache-control: max-age=604800 < content-type: text/html < date: Thu, 01 Feb 2024 03:45:35 GMT < expires: Thu, 08 Feb 2024 03:45:35 GMT < server: EOS (vny/044F) < content-length: 433 * The requested URL returned error: 404 * Connection #0 to host developer.download.nvidia.com left intact curl: (22) The requested URL returned error: 404
Author
Owner

@elliptic1 commented on GitHub (Feb 1, 2024):

Looks like the url with ubuntu2310 doesn't exist:

developer.download.nvidia.com/compute/cuda/repos/ubuntu2310/x86_64/cuda-keyring_1.1-1_all.deb

<!-- gh-comment-id:1920459628 --> @elliptic1 commented on GitHub (Feb 1, 2024): Looks like the url with `ubuntu2310` doesn't exist: `developer.download.nvidia.com/compute/cuda/repos/ubuntu2310/x86_64/cuda-keyring_1.1-1_all.deb`
Author
Owner

@elliptic1 commented on GitHub (Feb 1, 2024):

So I hardcoded ubuntu2204 into the url in the install.sh script and it's working now.

<!-- gh-comment-id:1920536241 --> @elliptic1 commented on GitHub (Feb 1, 2024): So I hardcoded `ubuntu2204` into the url in the install.sh script and it's working now.
Author
Owner

@magick93 commented on GitHub (Feb 1, 2024):

@elliptic1 - which line did you modify?

<!-- gh-comment-id:1922408293 --> @magick93 commented on GitHub (Feb 1, 2024): @elliptic1 - which line did you modify?
Author
Owner

@elliptic1 commented on GitHub (Feb 1, 2024):

The curl with $1$2

<!-- gh-comment-id:1922448793 --> @elliptic1 commented on GitHub (Feb 1, 2024): The curl with $1$2
Author
Owner

@dhiltgen commented on GitHub (Mar 12, 2024):

We should harden the install script to detect ~unsupported OS versions and give a better error message, and perhaps provide a mechanism to override. We probably don't want to do it automatically though as we could mess up the users system if we get it wrong.

<!-- gh-comment-id:1992594332 --> @dhiltgen commented on GitHub (Mar 12, 2024): We should harden the install script to detect ~unsupported OS versions and give a better error message, and perhaps provide a mechanism to override. We probably don't want to do it automatically though as we could mess up the users system if we get it wrong.
Author
Owner

@rajaboja commented on GitHub (Mar 14, 2024):

Since we can still use several of these models without a GPU, should the error message be updated to reflect this scenario when drivers are not found for a specific OS version?"

<!-- gh-comment-id:1997453519 --> @rajaboja commented on GitHub (Mar 14, 2024): Since we can still use several of these models without a GPU, should the error message be updated to reflect this scenario when drivers are not found for a specific OS version?"
Author
Owner

@roberto-formulatrix commented on GitHub (Jun 29, 2024):

Has this issue been resolved? I have similar issues.

Get:20 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2404/x86_64  Packages [22.9 kB]
Fetched 27.1 kB in 3s (9,182 B/s)
Reading package lists... Done
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package cuda-drivers

user@beausoleil:~$ lspci
00:02.0 PCI bridge: NVIDIA Corporation Device 0faf (rev a1)
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
<!-- gh-comment-id:2198266379 --> @roberto-formulatrix commented on GitHub (Jun 29, 2024): Has this issue been resolved? I have similar issues. ``` Get:20 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2404/x86_64 Packages [22.9 kB] Fetched 27.1 kB in 3s (9,182 B/s) Reading package lists... Done Reading package lists... Building dependency tree... Reading state information... E: Unable to locate package cuda-drivers user@beausoleil:~$ lspci 00:02.0 PCI bridge: NVIDIA Corporation Device 0faf (rev a1) 01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15) ```
Author
Owner

@YashwanthVeesarapu commented on GitHub (Jul 10, 2024):

nvidia-smi

Check drivers and install suitable drivers before hand and try again.

This resolved my issue.

<!-- gh-comment-id:2221305186 --> @YashwanthVeesarapu commented on GitHub (Jul 10, 2024): `nvidia-smi` Check drivers and install suitable drivers before hand and try again. This resolved my issue.
Author
Owner

@angelogeminiani commented on GitHub (Jul 22, 2024):

I have same issue

<!-- gh-comment-id:2243156656 --> @angelogeminiani commented on GitHub (Jul 22, 2024): I have same issue
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#1326