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.

Snap fails to install >=1.16

See original GitHub issue

Version 1.15.3 installs and works fine, but 1.16 and edge fails with the following error:

$ sudo snap install microk8s --stable --classic 
error: cannot perform the following tasks:
- Run install hook of "microk8s" snap if present (run hook "install": 
-----
+ export LD_LIBRARY_PATH=/snap/microk8s/920/lib:/snap/microk8s/920/usr/lib:/snap/microk8s/920/lib/x86_64-linux-gnu:/snap/microk8s/920/usr/lib/x86_64-linux-gnu
+ LD_LIBRARY_PATH=/snap/microk8s/920/lib:/snap/microk8s/920/usr/lib:/snap/microk8s/920/lib/x86_64-linux-gnu:/snap/microk8s/920/usr/lib/x86_64-linux-gnu
+ export PATH=/snap/microk8s/920/usr/sbin:/snap/microk8s/920/usr/bin:/snap/microk8s/920/sbin:/snap/microk8s/920/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/usr/bin:/usr/local/bin
+ PATH=/snap/microk8s/920/usr/sbin:/snap/microk8s/920/usr/bin:/snap/microk8s/920/sbin:/snap/microk8s/920/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/usr/bin:/usr/local/bin
+ source /snap/microk8s/920/actions/common/utils.sh
+ cp -r /snap/microk8s/920/default-args /var/snap/microk8s/920/args
+ mkdir /var/snap/microk8s/920/certs
+ cp /snap/microk8s/920/certs/csr.conf.template /var/snap/microk8s/920/certs/csr.conf.template
+ produce_certs
+ for key in serviceaccount.key ca.key server.key front-proxy-client.key
+ '[' -f /var/snap/microk8s/920/certs/serviceaccount.key ']'
+ openssl genrsa -out /var/snap/microk8s/920/certs/serviceaccount.key 2048
Error configuring OpenSSL
140199658448536:error:25066067:DSO support routines:DLFCN_LOAD:could not load the shared library:dso_dlfcn.c:187:filename(libssl_conf.so): libssl_conf.so: cannot open shared object file: No such file or directory
140199658448536:error:25070067:DSO support routines:DSO_load:could not load the shared library:dso_lib.c:233:
140199658448536:error:0E07506E:configuration file routines:MODULE_LOAD_DSO:error loading dso:conf_mod.c:271:module=ssl_conf, path=ssl_conf
140199658448536:error:0E076071:configuration file routines:MODULE_RUN:unknown module name:conf_mod.c:212:module=ssl_conf
-----)
$ snap --version
snap    2.41
snapd   2.41
series  16
debian  10
kernel  4.19.0-6-amd64

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
ktsakalozoscommented, Oct 1, 2019

@Mohl @00-matt the snap on edge fixes this issue. Try it with:

sudo snap install microk8s --classic --edge

Thank you @DomFleischmann your work on https://github.com/ubuntu/microk8s/pull/691

0reactions
ktsakalozoscommented, Oct 1, 2019

Feel free to reopen if the issue persists for you.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Snap fails to install >=1.16 · Issue #679 · canonical/microk8s
Version 1.15.3 installs and works fine, but 1.16 and edge fails with the following error: $ sudo snap install microk8s --stable --classic ...
Read more >
Install go on Ubuntu using the Snap Store - Snapcraft
This snap provides an assembler, compiler, linker, and compiled libraries for the Go programming ... Enable snaps on Ubuntu and install go.
Read more >
Permission denied error when running apps installed as snap ...
Using the ubuntu, "Ubuntu Software" I install a snap application (for example, vlc). When I attempt to run it (from the command line),...
Read more >
Install IntelliJ IDEA on Ubuntu with Snaps - The JetBrains Blog
Exciting news for Ubuntu users: you can now use snaps to install IntelliJ IDEA EAP builds, including both community and ultimate editions.
Read more >
Troubleshoot installation issues with the App Installer file - MSIX
If you find any issues when installing an application from the App ... in your version of Windows 10, you will get a...
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