-
-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updating CLI fail on Linux/macOS with permission denied error #109
Comments
Apologies, I think this probably should have been posted on the general lando repo? |
@vermario you can post here or in so short answer is for now i would just make longer answer is that we are working on overhauling our installer to be a script which will appropriately set things up the first time. if you want to replicate what that is going to do i would do something like mv /usr/share/lando/bin/lando ~/.lando/bin/lando
ln -s ~/.lando/bin/lando /usr/share/lando/bin/lando and then try the |
I'm having some issues with After a removing my .lando dir in my %USERPROFILE% (I'm on Windows 11) cli stops interrupting the other packages install, but it never finished installing itself. Download gets to 100% and then it just keeps spinning there. |
Note that on Mac you'll need to modify |
This is very, very dangerous from a security POV as it gives full write access to system executable files. I ran this, which allowed the update to work:
This makes it so only admins can update that folder, and then resets it back to its proper state where only |
UPDATEZ We are going to push out an update for this but given its self-blocking nature wrt updating we are going to recommend you use the usual package installer to update the CLI. Will post that here when it is available. After you do that, and assuming i did a not-shitty job you should be able to get future CLI updates with |
* first pass on lando shellenv * rework lando update to use new install paths and auto add to path if needed * clean up * clean up 2 * breakman * breakman2
For people having this issue i would recommend:
Double note that there are still issues with updating the CLI on Windows but fixes are forthcoming |
I had a problem with "Lando cannot write to /usr/local/bin" error after
I had a problem with "Lando cannot write to /usr/local/bin" error after |
Os: linux
Hi! When I try to run
lando update
, I see an available update, but the process does not go through because it cannot write to /usr/share/lando/bin. (Rightly so, that directory and its contents are owned byroot
on my system.Output:
I am also attaching the result of running the command again with the --debug option:
lando_update_debug_log.txt
The text was updated successfully, but these errors were encountered: