question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Issue Installing Microk8s

See original GitHub issue

Hi when I tried to install microk8s using snap install microk8s --classic I get this error

`+ export LD_LIBRARY_PATH=/snap/microk8s/826/lib:/snap/microk8s/826/usr/lib:/snap/microk8s/826/lib/x86_64-linux-gnu:/snap/microk8s/826/usr/lib/x86_64-linux-gnu

  • LD_LIBRARY_PATH=/snap/microk8s/826/lib:/snap/microk8s/826/usr/lib:/snap/microk8s/826/lib/x86_64-linux-gnu:/snap/microk8s/826/usr/lib/x86_64-linux-gnu
  • export PATH=/snap/microk8s/826/usr/sbin:/snap/microk8s/826/usr/bin:/snap/microk8s/826/sbin:/snap/microk8s/826/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/bin:/usr/local/bin
  • PATH=/snap/microk8s/826/usr/sbin:/snap/microk8s/826/usr/bin:/snap/microk8s/826/sbin:/snap/microk8s/826/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/bin:/usr/local/bin
  • source /snap/microk8s/826/actions/common/utils.sh
  • cp -r /snap/microk8s/826/default-args /var/snap/microk8s/826/args /snap/microk8s/826/meta/hooks/install: line 10: /snap/microk8s/826/bin/cp: No such file or directory`

Anyone know how to fix it? I tried to create that directory by typing in mkdir -p /snap/microk8s/826/bin/cp but then there are other issues.

I have looked at the other solutions like sudo snap install core but it seems core is already installed in my machine.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:19 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
thomaskwok91commented, Sep 25, 2019

Wow actually it seemed my issue was more with snapd than with microk8s. I uninstalled and reinstalled snapd and it fixed everything. Seemed something was broken with my core and snap

0reactions
stale[bot]commented, Aug 21, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshooting - MicroK8s
The symptoms you may observe vary. You may experience the API server being slow, crashing or forming an unstable multi node cluster. Such...
Read more >
Microk8s installation issues - Charmhub
I keep running into the same issue trying to get microk8s running. The machine was completely wiped and is running Ubuntu 20.04…
Read more >
Cannot install microk8s offline - failed with timeout · Issue #3017
error : cannot perform the following tasks: Start snap "microk8s" (3021) services (systemctl command [start ...
Read more >
Install a local Kubernetes with MicroK8s - Ubuntu
Being a snap it runs all Kubernetes services natively (i.e. no virtual machines) while packing the entire set of libraries and binaries needed....
Read more >
How to install MicroK8s on macOS - TechRepublic
If you've been waiting for the perfect Kubernetes dev solution for macOS, the wait is over. Learn how to install Microk8s on macOS....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found