k3s: https://rpm.rancher.io/k3s/... responds with 404

Environmental Info: K3s Version: I wish to install the latest stable version.

Node(s) CPU architecture, OS, and Version:

Linux ora-arm-2-202302 5.15.0-101.103.2.1.el9uek.aarch64 #2 SMP Mon May 1 19:45:54 PDT 2023 aarch64 aarch64 aarch64 GNU/Linux

The OS is hosted on a free-tier oracle ARM VM.

Cluster Configuration: Nothing, I’m just running the installer.

Steps To Reproduce:

[root@ora-arm-2-202302 ~]# curl -sfL https://get.k3s.io | sh -
[INFO]  Finding release for channel stable
[INFO]  Using v1.26.4+k3s1 as release
[INFO]  Downloading hash https://github.com/k3s-io/k3s/releases/download/v1.26.4+k3s1/sha256sum-arm64.txt
[INFO]  Skipping binary downloaded, installed k3s matches hash
[INFO]  Finding available k3s-selinux versions
[WARN]  Failed to get available versions of k3s-selinux..defaulting to k3s-selinux-1.2-2.el9.noarch.rpm
Rancher K3s Common (stable)                                                                                                                                                                415  B/s | 388  B     00:00
Errors during downloading metadata for repository 'rancher-k3s-common-stable':
  - Status code: 404 for https://rpm.rancher.io/k3s/stable/common/centos/9/noarch/repodata/repomd.xml (IP: 104.21.2.160)
Error: Failed to download metadata for repo 'rancher-k3s-common-stable': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried

Additional context / logs:

Apparently everything under the path https://rpm.rancher.io/k3s/... is responding with HTTP 404.

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Reactions: 1
  • Comments: 18 (9 by maintainers)

Most upvoted comments

It finally works by combining the two flags for skipping and turning SELinux install issues to warning level:

% curl -sfL https://get.k3s.io | INSTALL_K3S_SKIP_SELINUX_RPM=true INSTALL_K3S_SELINUX_WARN=true sh -

I have same issue for fedora 38 to install k3s selinux.