version 2025.7.1 breaks at least some kubectl package installation #5527
Replies: 2 comments 1 reply
-
I can confirm that 2025.7.1 breaks some mise logkubectl@1.30: success 18:03:47 ❯ mise use --global kubectl@1.30 --verbose
DEBUG ARGS: mise use --global kubectl@1.30 --verbose
DEBUG config: ~/.config/mise/config.toml
DEBUG install_some_versions: kubectl@1.30
INFO kubectl@1.30.14 install
DEBUG HEAD https://dl.k8s.io/v1.30.14/bin/linux/amd64/kubectl
DEBUG starting new connection: https://dl.k8s.io/
DEBUG starting new connection: https://cdn.dl.k8s.io/
DEBUG HEAD https://dl.k8s.io/v1.30.14/bin/linux/amd64/kubectl 200 OK
INFO kubectl@1.30.14 download kubectl
DEBUG GET Downloading https://dl.k8s.io/v1.30.14/bin/linux/amd64/kubectl to ~/.local/share/mise/downloads/kubectl/1.30.14/kubectl
DEBUG GET https://dl.k8s.io/v1.30.14/bin/linux/amd64/kubectl
DEBUG GET https://dl.k8s.io/v1.30.14/bin/linux/amd64/kubectl 200 OK
DEBUG GET Downloading https://dl.k8s.io/v1.30.14/bin/linux/amd64/kubectl.sha256 to ~/.local/share/mise/downloads/kubectl/1.30.14/kubectl.checksum
DEBUG GET https://dl.k8s.io/v1.30.14/bin/linux/amd64/kubectl.sha256
DEBUG GET https://dl.k8s.io/v1.30.14/bin/linux/amd64/kubectl.sha256 200 OK
INFO kubectl@1.30.14 checksum kubectl
INFO kubectl@1.30.14 extract kubectl
INFO kubectl@1.30.14 ✓ installed
DEBUG config: ~/.config/mise/config.toml
DEBUG [aqua:kubernetes/kubectl@1.30.14] list_bin_paths: ["/home/mangkoran/.local/share/mise/installs/kubectl/1.30.14"]
DEBUG config: ~/.config/mise/config.toml
mise ~/.config/mise/config.toml tools: kubectl@1.30.14 kubectl@1.29: success 18:00:20 ❯ mise use --global kubectl@1.29 --verbose
DEBUG ARGS: mise use --global kubectl@1.29 --verbose
DEBUG config: ~/.config/mise/config.toml
DEBUG install_some_versions: kubectl@1.29
INFO kubectl@1.29.15 install
DEBUG HEAD https://dl.k8s.io/v1.29.15/bin/linux/amd64/kubectl
DEBUG starting new connection: https://dl.k8s.io/
DEBUG starting new connection: https://cdn.dl.k8s.io/
DEBUG HEAD https://dl.k8s.io/v1.29.15/bin/linux/amd64/kubectl 200 OK
INFO kubectl@1.29.15 download kubectl
DEBUG GET Downloading https://dl.k8s.io/v1.29.15/bin/linux/amd64/kubectl to ~/.local/share/mise/downloads/kubectl/1.29.15/kubectl
DEBUG GET https://dl.k8s.io/v1.29.15/bin/linux/amd64/kubectl
DEBUG GET https://dl.k8s.io/v1.29.15/bin/linux/amd64/kubectl 200 OK
DEBUG GET Downloading https://dl.k8s.io/v1.29.15/bin/linux/amd64/kubectl.sha256 to ~/.local/share/mise/downloads/kubectl/1.29.15/kubectl.checksum
DEBUG GET https://dl.k8s.io/v1.29.15/bin/linux/amd64/kubectl.sha256
DEBUG GET https://dl.k8s.io/v1.29.15/bin/linux/amd64/kubectl.sha256 200 OK
INFO kubectl@1.29.15 checksum kubectl
INFO kubectl@1.29.15 extract kubectl
INFO kubectl@1.29.15 ✓ installed
DEBUG config: ~/.config/mise/config.toml
DEBUG [aqua:kubernetes/kubectl@1.29.15] list_bin_paths: ["/home/mangkoran/.local/share/mise/installs/kubectl/1.29.15"]
DEBUG config: ~/.config/mise/config.toml
mise ~/.config/mise/config.toml tools: kubectl@1.29.15 kubectl@1.28: fail 18:00:58 ❯ mise use --global kubectl@1.28 --verbose
DEBUG ARGS: mise use --global kubectl@1.28 --verbose
DEBUG config: ~/.config/mise/config.toml
DEBUG install_some_versions: kubectl@1.28
INFO kubectl@1.28.15 install
DEBUG HEAD https://dl.k8s.io/v1.28.15/bin/linux/amd64/kubectl
DEBUG starting new connection: https://dl.k8s.io/
DEBUG starting new connection: https://cdn.dl.k8s.io/
DEBUG HEAD https://dl.k8s.io/v1.28.15/bin/linux/amd64/kubectl 200 OK
INFO kubectl@1.28.15 download kubectl
DEBUG GET Downloading https://dl.k8s.io/v1.28.15/bin/linux/amd64/kubectl to ~/.local/share/mise/downloads/kubectl/1.28.15/kubectl
DEBUG GET https://dl.k8s.io/v1.28.15/bin/linux/amd64/kubectl
DEBUG GET https://dl.k8s.io/v1.28.15/bin/linux/amd64/kubectl 200 OK
DEBUG GET Downloading https://dl.k8s.io/1.28.15/bin/linux/amd64/kubectl.sha256 to ~/.local/share/mise/downloads/kubectl/1.28.15/kubectl.checksum
DEBUG GET https://dl.k8s.io/1.28.15/bin/linux/amd64/kubectl.sha256
DEBUG GET https://dl.k8s.io/1.28.15/bin/linux/amd64/kubectl.sha256 404 Not Found
Error:
0: failed to install aqua:kubernetes/kubectl@1.28.15
1: HTTP status client error (404 Not Found) for url (https://cdn.dl.k8s.io/1.28.15/bin/linux/amd64/kubectl.sha256)
Location:
src/http.rs:78
Version:
2025.7.1 linux-x64 (2025-07-06)
Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets. kubectl@1.27: fail 18:03:23 ❯ mise use --global kubectl@1.27 --verbose
DEBUG ARGS: mise use --global kubectl@1.27 --verbose
DEBUG config: ~/.config/mise/config.toml
DEBUG install_some_versions: kubectl@1.27
INFO kubectl@1.27.16 install
DEBUG HEAD https://dl.k8s.io/v1.27.16/bin/linux/amd64/kubectl
DEBUG starting new connection: https://dl.k8s.io/
DEBUG starting new connection: https://cdn.dl.k8s.io/
DEBUG HEAD https://dl.k8s.io/v1.27.16/bin/linux/amd64/kubectl 200 OK
INFO kubectl@1.27.16 download kubectl
DEBUG GET Downloading https://dl.k8s.io/v1.27.16/bin/linux/amd64/kubectl to ~/.local/share/mise/downloads/kubectl/1.27.16/kubectl
DEBUG GET https://dl.k8s.io/v1.27.16/bin/linux/amd64/kubectl
DEBUG GET https://dl.k8s.io/v1.27.16/bin/linux/amd64/kubectl 200 OK
DEBUG GET Downloading https://dl.k8s.io/1.27.16/bin/linux/amd64/kubectl.sha256 to ~/.local/share/mise/downloads/kubectl/1.27.16/kubectl.checksum
DEBUG GET https://dl.k8s.io/1.27.16/bin/linux/amd64/kubectl.sha256
DEBUG GET https://dl.k8s.io/1.27.16/bin/linux/amd64/kubectl.sha256 404 Not Found
Error:
0: failed to install aqua:kubernetes/kubectl@1.27.16
1: HTTP status client error (404 Not Found) for url (https://cdn.dl.k8s.io/1.27.16/bin/linux/amd64/kubectl.sha256)
Location:
src/http.rs:78
Version:
2025.7.1 linux-x64 (2025-07-06)
Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets. I think the issue is mise use incorrect URI for checksum with kubectl < 1.29.
The correct URI should have v prefix in version string: Although I've no clue why the issue only exist with kubectl < 1.29, as there's no issue with kubectl >= 1.29.
WorkaroundFor the time being, I downgrade to 2025.7.0 which don't have this issue. |
Beta Was this translation helpful? Give feedback.
-
I apologise for the bug. I have fixed it in #5537. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
With mise version 2025.7.1
When I try to install version 1.29.1 :
When I try to install version 1.33.1
With mise version 2025.7.0
I think the culprit is probably this PR which was merged in the latest version :
#5474
@risu729
Because when I try to install doing this it works :
mise install kubectl@v1.29.1
mise kubectl@v1.29.1 ✓ installed
As a workaround for my project as I used .tool-versions for my tools I added a .mise.toml file containing this :
Beta Was this translation helpful? Give feedback.
All reactions