Issues installing `1password-cli` using `mise` (`aqua` backend)
Closed this issue · 0 comments
sassdavid commented
Hi,
I encountered an issue while trying to install 1password-cli
using mise
with the aqua
backend.
When I run the following command to install the latest version I receive the following error:
mise install 1password-cli@latest -vv
TRACE 1 [src/cli/mod.rs:224] run logger init
TRACE 1 [src/eager.rs:27] post_settings
DEBUG 1 [src/cli/mod.rs:231] ARGS: /home/sassd/.local/bin/mise install 1password-cli@latest -vv
TRACE 1 [src/cli/mod.rs:232] run
TRACE 1 [src/config/mod.rs:81] load start
TRACE 1 [src/config/mod.rs:83] load legacy_files
TRACE 1 [src/config/mod.rs:89] load config_filenames
TRACE 1 [src/config/mod.rs:91] load config_paths
TRACE 2 [src/backend/mod.rs:55] load_tools start
TRACE 1 [src/config/mod.rs:92] config_paths: ["/home/sassd/.config/mise/config.toml"]
TRACE 1 [src/file.rs:161] cat ~/.config/mise/config.toml
TRACE 2 [src/backend/mod.rs:58] load_tools core
TRACE 1 [src/config/config_file/mise_toml.rs:92] parsing: ~/.config/mise/config.toml
TRACE 1 [src/config/mod.rs:94] load config_files
TRACE 1 [src/config/mod.rs:103] load build
TRACE 1 [src/config/mod.rs:106] load validate
TRACE 2 [src/backend/mod.rs:75] load_tools asdf
TRACE 2 [src/backend/mod.rs:87] load_tools vfox
TRACE 2 [src/backend/mod.rs:97] load_tools install_state
TRACE 2 [src/backend/mod.rs:105] load_tools done
TRACE 1 [src/config/mod.rs:109] load all aliases
TRACE 1 [src/config/mod.rs:112] config: Config {
Config Files: [
"~/.config/mise/config.toml",
],
}
TRACE 1 [src/config/mod.rs:118] load done
TRACE 1 [src/toolset/tool_request_set.rs:151] tool_request_set::build
DEBUG 1 [src/toolset/mod.rs:185] install_versions: 1password-cli@latest
TRACE 11 [src/cache.rs:129] reading ~/.cache/mise/1password-cli/remote_versions-4ec8e.msgpack.z
INFO 11 [src/ui/progress_report.rs:156] 1password-cli@latest installing
TRACE 11 [src/file.rs:77] rm ~/.local/share/mise/installs/1password-cli/latest
TRACE 11 [src/file.rs:180] mkdir -p ~/.local/share/mise/installs/1password-cli/latest
TRACE 11 [src/file.rs:180] mkdir -p ~/.local/share/mise/downloads/1password-cli/latest
TRACE 11 [src/file.rs:180] mkdir -p ~/.cache/mise/1password-cli/latest
TRACE 11 [src/file.rs:31] open ~/.cache/mise/aqua-registry/pkgs/1password/cli/registry.yaml
DEBUG 11 [src/http.rs:93] HEAD https://cache.agilebits.com/dist/1P/op2/pkg/vlatest/op_linux_amd64_vlatest.zip
DEBUG 11 [/cargo/registry/src/index.crates.io-6f17d22bba15001f/reqwest-0.12.9/src/connect.rs:500] starting new connection: https://cache.agilebits.com/
DEBUG 11 [src/http.rs:101] HEAD https://cache.agilebits.com/dist/1P/op2/pkg/vlatest/op_linux_amd64_vlatest.zip 404 Not Found
DEBUG 11 [src/http.rs:93] HEAD https://cache.agilebits.com/dist/1P/op2/pkg/latest/op_linux_amd64_latest.zip
DEBUG 11 [/cargo/registry/src/index.crates.io-6f17d22bba15001f/reqwest-0.12.9/src/connect.rs:500] starting new connection: https://cache.agilebits.com/
DEBUG 11 [src/http.rs:101] HEAD https://cache.agilebits.com/dist/1P/op2/pkg/latest/op_linux_amd64_latest.zip 404 Not Found
TRACE 11 [src/file.rs:53] rm -rf ~/.local/share/mise/installs/1password-cli/latest
TRACE 11 [src/file.rs:53] rm -rf ~/.local/share/mise/downloads/1password-cli/latest
Error:
0: failed to install aqua:1password/cli@latest
1: HTTP status client error (404 Not Found) for url (https://cache.agilebits.com/dist/1P/op2/pkg/vlatest/op_linux_amd64_vlatest.zip)
Location:
src/http.rs:102
Version:
2024.11.14 linux-x64 (d6cfd25 2024-11-16)
Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
However, installing a specific version works without any issues:
mise install 1password-cli@2.30.3
mise 1password-cli@2.30.3 ✓ installed
Here is the corresponding entry in my global config.toml
:
1password-cli = "latest"
When I run mise outdated
, I see the following warnings:
mise outdated
mise WARN no aqua registry found for 1password-cli
mise WARN No versions found for 1password-cli
Could you please look at this issue? Maybe it is possible that the installation of 1password-cli
cannot be used as 'latest'?
mise doctor output
version: 2024.11.14 linux-x64 (d6cfd25 2024-11-16)
activated: yes
shims_on_path: no
build_info:
Target: x86_64-unknown-linux-gnu
Features: DEFAULT, NATIVE_TLS, OPENSSL
Built: Sat, 16 Nov 2024 06:37:41 +0000
Rust Version: rustc 1.82.0 (f6e511eec 2024-10-15)
Profile: release
shell:
/usr/bin/zsh
zsh 5.9 (x86_64-ubuntu-linux-gnu)
dirs:
data: ~/.local/share/mise
config: ~/.config/mise
cache: ~/.cache/mise
state: ~/.local/state/mise
shims: ~/.local/share/mise/shims
config_files:
~/.config/mise/config.toml
backends:
aqua
asdf
cargo
core
go
npm
pipx
spm
ubi
vfox
unknown
plugins:
awscli https://github.com/MetricMike/asdf-awscli.git#c26bbb4
maven https://github.com/mise-plugins/asdf-maven.git#c872214
toolset:
aqua:hashicorp/terraform@1.9.8
aqua:1password/cli@2.30.3
aqua:awslabs/amazon-ecr-credential-helper@0.9.0
ubi:argoproj/argo-cd[exe=argocd]@2.13.0
asdf:MetricMike/asdf-awscli@2.21.3
aqua:eksctl-io/eksctl@0.194.0
core:go@1.23.3
aqua:helm/helm@3.16.3
core:java@corretto-17.0.13.11.1
aqua:jqlang/jq@1.7.1
ubi:derailed/k9s@0.32.6
aqua:kubernetes/kubectl@1.31.2
asdf:mise-plugins/asdf-maven@3.9.9
core:node@18.20.5
aqua:pre-commit/pre-commit@4.0.1
aqua:terraform-docs/terraform-docs@0.19.0
aqua:gruntwork-io/terragrunt@0.68.14
ubi:terraform-linters/tflint@0.54.0
ubi:jdx/usage@1.3.2
ubi:mikefarah/yq@4.44.5
env_vars:
MISE_SHELL=zsh
settings:
activate_aggressive = false
all_compile = false
always_keep_download = false
always_keep_install = false
asdf_compat = false
cache_prune_age = "30d"
ci = false
color = true
debug = false
disable_backends = []
disable_default_registry = false
disable_hints = []
disable_tools = []
experimental = true
fetch_remote_versions_cache = "1h"
fetch_remote_versions_timeout = "60s"
go_default_packages_file = "~/.default-go-packages"
go_download_mirror = "https://dl.google.com/go"
go_repo = "https://github.com/golang/go"
go_set_gopath = false
go_set_goroot = true
go_skip_checksum = true
http_timeout = "60s"
jobs = 4
legacy_version_file = false
legacy_version_file_disable_tools = []
libgit2 = true
lockfile = false
log_level = "info"
not_found_auto_install = false
paranoid = false
pin = false
plugin_autoupdate_last_check_duration = "7d"
quiet = false
raw = false
task_timings = false
trace = false
trusted_config_paths = []
unix_default_file_shell_args = ["sh"]
unix_default_inline_shell_args = [
"sh",
"-c",
]
use_file_shell_for_executable_tasks = false
use_versions_host = false
verbose = false
windows_default_file_shell_args = [
"cmd",
"/c",
]
windows_default_inline_shell_args = [
"cmd",
"/c",
]
windows_executable_extensions = [
"exe",
"bat",
"cmd",
"com",
"ps1",
"vbs",
]
yes = false
[cargo]
binstall = true
[node]
[npm]
bun = false
[pipx]
uvx = false
[python]
default_packages_file = "~/.default-python-packages"
pyenv_repo = "https://github.com/pyenv/pyenv.git"
venv_auto_create = false
venv_stdlib = false
[ruby]
default_packages_file = "~/.default-gems"
ruby_build_repo = "https://github.com/rbenv/ruby-build.git"
ruby_install = false
ruby_install_repo = "https://github.com/postmodern/ruby-install.git"
[status]
missing_tools = "if_other_versions_installed"
show_env = false
show_tools = false
No warnings found
No problems found