smallstep / cli

🧰 A zero trust swiss army knife for working with X509, OAuth, JWT, OATH OTP, etc.
https://smallstep.com/cli
Apache License 2.0
3.65k stars 249 forks source link

KDE step breaks step install #655

Open Jeansen opened 2 years ago

Jeansen commented 2 years ago

Installing the .deb file will fail if you have KDE installed which brings a tool with the same name residing in /usr/bin/step.

jdoss commented 2 years ago

Hey @Jeansen thanks for the report. Are you using the currently installed /usr/bin/step software? If not, can you remove it and try installing the our deb?

We won't have a quick fix for this but I think if you remove the package that provides /usr/bin/step with KDE it will unblock you.

Jeansen commented 2 years ago

@jdoss Sorry, no. Uninstalling KDE step would uninstall KDE itself. It's a dependency. Of course, I could force it but that would break dependencies. A workaround so far is using it from within a docker container. Just wanted to let you guys know, that there might be users who will face this issue (as I did). Also, your deb should fail in this case. Currently installations continues without an error but the binary will not get installed, after all. If I rename the step binary from KDE (e.g. to step_) and install your .deb file, it runs through the installation process fine.

maraino commented 2 years ago

Other distributions have step renamed as step-cli. It might be possible to use update-alternatives to manage conflicts like this.

Jeansen commented 1 year ago

Any news on this? The issue is still valid....