Comments (8)
Yep, helm and kubectl work perfectly :-)
rehash
also didn't do anything.
from binenv.
Hello @rskuipers ; sorry to here you ran into an issue.
Are you on bash/linux ?
Do you have this issue only with docker-compose
?
Can you type docker-compose
to see where it points to and run hash -r
so bash rehashes it's binary cache ?
from binenv.
I'm on ZSH.
$ type docker-compose
docker-compose is /home/rick/.binenv/docker-compose
hash -r
unfortunately didn't do anything
from binenv.
yes it is rehash
on zsh.
did you try installing anything else with binenv
?
from binenv.
Must admit I never tried docker-compose since I have it on my system by default.
I will try to reproduce this asap (a bit busy right now)
from binenv.
@leucos All good, I appreciate your work :-)
from binenv.
@rskuipers I guess this wont work with docker-compose.
It seems to be some python-packaged executable.
From the strace I see, it re-opens itself, seeks the file and does some magic.
openat(AT_FDCWD, "/usr/bin/docker-compose", O_RDONLY) = 3
fcntl(3, F_GETFD) = 0
fcntl(3, F_SETFD, FD_CLOEXEC) = 0
fstat(3, {st_mode=S_IFREG|0755, st_size=420, ...}) = 0
ioctl(3, TCGETS, 0x7ffc80e89770) = -1 ENOTTY (Ioctl() inapproprié pour un périphérique)
lseek(3, 0, SEEK_CUR) = 0
fstat(3, {st_mode=S_IFREG|0755, st_size=420, ...}) = 0
read(3, "#!/usr/bin/python3\n# EASY-INSTAL"..., 4096) = 420
lseek(3, 0, SEEK_SET) = 0
read(3, "#!/usr/bin/python3\n# EASY-INSTAL"..., 4096) = 420
read(3, "", 4096)
So unfortunately, I am afraid that we doomed for docker-compose 😞
Sorry for misleading you (and for not properly testing this in the first place).
We will remove it from distributions now.
You can restore usage of you already-installed docker-compose like so (replace hash -r
by rehash
in your case):
$ docker-compose
[1688266] Cannot open self /home/leucos/.binenv/docker-compose or archive /home/leucos/.binenv/docker-compose.pkg
$ binenv uninstall docker-compose
WARNING: this will remove *ALL* versions for "docker-compose". Type "docker-compose" to confirm [oh now I changed my mind]: docker-compose
2020-12-03T21:00:40+01:00 WRN removed version "1.27.4" for "docker-compose"
$ hash -r
$ docker-compose -v
docker-compose version 1.21.0, build unknown
from binenv.
@leucos That's alright!
Thank you for your work and time.
from binenv.
Related Issues (20)
- add sx
- [0.19.4] Strange problem with command w/o options HOT 5
- ERR no distribution named "regctl" HOT 3
- kubectl-krew install broken HOT 4
- Binaries installed in BINENV_GLOBAL mode are not world executable HOT 2
- `binenv update [-f]` should exit(1) if ANY issue occurs with cache update
- OS X universal binary release files not installing (eg. Hugo)
- k9s renamed the tarball x86_64 to amd64 HOT 2
- BinEnv is unable to find binaries in global mode. HOT 3
- k9s changed arch from x86_64 to amd64 in binary archives HOT 1
- Can't install k9s on Ubuntu amd64, changed release link HOT 4
- change list.exclude to a list instead of string
- json: cannot unmarshal object into Go value of type list.ghReleaseResponse
- rg in latest version broken (installs completion script) HOT 4
- distributions.yaml put to unexpected location HOT 3
- helm not installing using latest binenv HOT 5
- Unable to read distributions error="unable to fetch distributions: Get \"https://raw.githubusercontent.com/devops-works/binenv/master/distributions/distributions.yaml\": proxyconnect HOT 6
- Feature request: Freeze a distribution version globally HOT 5
- custom distribution.yaml file to be included locally
- Kubectl/Helm completions not working with binenv HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from binenv.