Snap fails to install >=1.16
See original GitHub issueVersion 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:
- Created 4 years ago
- Comments:5 (2 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@Mohl @00-matt the snap on edge fixes this issue. Try it with:
Thank you @DomFleischmann your work on https://github.com/ubuntu/microk8s/pull/691
Feel free to reopen if the issue persists for you.