lando / lando

A development tool for all your projects that is fast, easy, powerful and liberating
https://lando.dev
GNU General Public License v3.0
4.1k stars 544 forks source link

Error Lando cannot write to /usr/share/lando/bin! #3674

Closed kburakozdemir closed 8 months ago

kburakozdemir commented 8 months ago

I am using v3.21.0-beta.3 in Ubuntu 22.04 and when I run `lando update' in command line, I get the error "✖ Lando cannot write to /usr/share/lando/bin!".

Is this something to do with permissions etc..?

Any suggestions?

 ✘ lando update 
Generating plugin/cli update matrix... done [see table below]

 PACKAGE              STATUS             COMMENT                                                  
 ──────────────────── ────────────────── ──────────────────────────────────────────────────────── 
 @lando/acquia        ✔ Up to date       All good                                                 
 @lando/apache        ✔ Up to date       All good                                                 
 @lando/backdrop      ✔ Up to date       All good                                                 
 @lando/cli           ⚠ Update available https://github.com/lando/cli/releases/tag/v3.21.0-beta.2 
 @lando/compose       ✔ Up to date       All good                                                 
 @lando/core          ✔ Up to date       All good                                                 
 @lando/dotnet        ✔ Up to date       All good                                                 
 @lando/drupal        ✔ Up to date       All good                                                 
 @lando/elasticsearch ✔ Up to date       All good                                                 
 @lando/go            ✔ Up to date       All good                                                 
 @lando/healthcheck   ✔ Up to date       All good                                                 
 @lando/joomla        ✔ Up to date       All good                                                 
 @lando/lagoon        ✔ Up to date       All good                                                 
 @lando/lamp          ✔ Up to date       All good                                                 
 @lando/laravel       ✔ Up to date       All good                                                 
 @lando/lemp          ✔ Up to date       All good                                                 
 @lando/mailhog       ✔ Up to date       All good                                                 
 @lando/mariadb       ✔ Up to date       All good                                                 
 @lando/mean          ✔ Up to date       All good                                                 
 @lando/memcached     ✔ Up to date       All good                                                 
 @lando/mongo         ✔ Up to date       All good                                                 
 @lando/mssql         ✔ Up to date       All good                                                 
 @lando/mysql         ✔ Up to date       All good                                                 
 @lando/networking    ✔ Up to date       All good                                                 
 @lando/nginx         ✔ Up to date       All good                                                 
 @lando/node          ✔ Up to date       All good                                                 
 @lando/pantheon      ✔ Up to date       All good                                                 
 @lando/php           ✔ Up to date       All good                                                 
 @lando/phpmyadmin    ✔ Up to date       All good                                                 
 @lando/platformsh    ⚠ Cannot update                                                             
 @lando/postgres      ⚠ Cannot update                                                             
 @lando/proxy         ✔ Up to date       All good                                                 
 @lando/python        ✔ Up to date       All good                                                 
 @lando/redis         ✔ Up to date       All good                                                 
 @lando/ruby          ✔ Up to date       All good                                                 
 @lando/scanner       ✔ Up to date       All good                                                 
 @lando/sharing       ✔ Up to date       All good                                                 
 @lando/solr          ✔ Up to date       All good                                                 
 @lando/symfony       ✔ Up to date       All good                                                 
 @lando/tomcat        ✔ Up to date       All good                                                 
 @lando/varnish       ✔ Up to date       All good                                                 
 @lando/wordpress     ✔ Up to date       All good                                                 

Lando would like to update 1 package(s) listed above.
DO YOU CONSENT?: YES
✖ Lando cannot write to /usr/share/lando/bin!
ERROR ==> An update error occured! Rerun with lando update --debug for more info.
AaronFeledy commented 8 months ago

Closing this duplicate of lando/core#109.

@kburakozdemir Check that issue for some workarounds.