devops-works / binenv

One binary to rule them all. Manage all those pesky binaries (kubectl, helm, terraform, ...) easily.
MIT License
372 stars 44 forks source link

[v0.13.0]Problem with kafkactl #162

Closed EnochTheWise closed 2 years ago

EnochTheWise commented 2 years ago
$ binenv install kafkactl
2021-10-11T14:42:23+07:00 WRN version for "kafkactl" not specified; using ""
2021-10-11T14:42:23+07:00 ERR unable to install "kafkactl" () error="unable to select latest stable version for \"kafkactl\": no stable version available. May be run 'binenv update kafkactl' ?"

$ binenv update kafkactl
2021-10-11T14:42:40+07:00 INF retrieving distribution cache from https://raw.githubusercontent.com/devops-works/binenv/develop/distributions/cache.json
2021-10-11T14:42:40+07:00 INF fetched updates for 194 distributions

$ binenv install kafkactl
2021-10-11T14:42:42+07:00 WRN version for "kafkactl" not specified; using ""
2021-10-11T14:42:42+07:00 ERR unable to install "kafkactl" () error="unable to select latest stable version for \"kafkactl\": no stable version available. May be run 'binenv update kafkactl' ?"
leucos commented 2 years ago

hello; I guess this is a dupe of #159 and #157 binenv seems to have issues finding versions in cache. we'll look into it.

leucos commented 2 years ago

in the meantime, you probably can fix this using binenv update kafkactl -f

patsevanton commented 2 years ago

Sometimes some app dont have version in cache.json Last example https://github.com/devops-works/binenv/commit/9c7dacd8fce19b38ee35334d06aec20395100c97#r57912119