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.

[Bug] Startup error for Snap package

See original GitHub issue
  • Insomnia Version: 6.6.0
  • Operating System: Ubuntu 18.04

Details

After snap auto update insomnia can’t start. When i try to start insomnia from CLI, i get this error:

$ insomnia

/snap/insomnia/31/insomnia: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.25' not found (required by /snap/insomnia/31/lib/x86_64-linux-gnu/libexpat.so.1)
/snap/insomnia/31/insomnia: /lib/x86_64-linux-gnu/libz.so.1: version `ZLIB_1.2.9' not found (required by /snap/insomnia/31/gnome-platform/usr/lib/x86_64-linux-gnu/libpng16.so.16)
/snap/insomnia/31/insomnia: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.27' not found (required by /snap/insomnia/31/gnome-platform/usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2)
/snap/insomnia/31/insomnia: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.25' not found (required by /snap/insomnia/31/gnome-platform/usr/lib/x86_64-linux-gnu/libgnutls.so.30)
/snap/insomnia/31/insomnia: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.25' not found (required by /snap/insomnia/31/lib/x86_64-linux-gnu/libbsd.so.0)
/snap/insomnia/31/insomnia: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.26' not found (required by /snap/insomnia/31/gnome-platform/usr/lib/x86_64-linux-gnu/libp11-kit.so.0)

$ sudo snap changes insomnia

ID   Status  Spawn                   Ready                   Summary
12   Done    yesterday at 23:55 MSK  yesterday at 23:56 MSK  Auto-refresh snap "insomnia"

When i run sudo snap revert insomnia and then run insomnia everything is ok.

$ sudo snap revert insomnia

insomnia reverted to 6.5.4

$ insomnia

/home/rnstlange/snap/insomnia/common/.cache/gio-modules/libgiognomeproxy.so: cannot open shared object file: No such file or directory
Failed to load module: /home/rnstlange/snap/insomnia/common/.cache/gio-modules/libgiognomeproxy.so
/home/rnstlange/snap/insomnia/common/.cache/gio-modules/libdconfsettings.so: cannot open shared object file: No such file or directory
Failed to load module: /home/rnstlange/snap/insomnia/common/.cache/gio-modules/libdconfsettings.so
/home/rnstlange/snap/insomnia/common/.cache/gio-modules/libgiolibproxy.so: cannot open shared object file: No such file or directory
Failed to load module: /home/rnstlange/snap/insomnia/common/.cache/gio-modules/libgiolibproxy.so
/home/rnstlange/snap/insomnia/common/.cache/gio-modules/libgiognutls.so: cannot open shared object file: No such file or directory
Failed to load module: /home/rnstlange/snap/insomnia/common/.cache/gio-modules/libgiognutls.so
Gtk-Message: Failed to load module "canberra-gtk-module"
Gtk-Message: Failed to load module "canberra-gtk-module"
Error org.freedesktop.DBus.Error.Failed: cannot use setting "default-url-scheme-handler": not allowed
[fix] Running database repairs
[db] Initialized DB at /home/rnstlange/snap/insomnia/30/.config/Insomnia/insomnia.$TYPE.db
Init responses DB
[localstorage] Initialized at /home/rnstlange/snap/insomnia/30/.config/Insomnia/localStorage
GLib-GIO-Message: Using the 'memory' GSettings backend.  Your settings will not be saved or shared with other applications.
[main] Loading file:///snap/insomnia/30/resources/app.asar/renderer.html
[app] Failed to get instance lock
[updater] Updater not running platform=linux dev=false

$ snap --version

snap    2.39.3
snapd   2.39.3
series  16
ubuntu  18.04
kernel  5.0.0-23-generic

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
bmarwellcommented, Nov 12, 2019

This is your friendly weekly reminder that this issue is not stale but still exists in the current snap version.

1reaction
bmarwellcommented, Nov 4, 2019

Stale? Ridiculous. This problem still exists.

But if you want, I can add a comment every week.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshooting | Snapcraft documentation
Troubleshooting · Network access · Cannot communicate with the server / connection refused · Empty response from the server · Slow snap downloads...
Read more >
seeded snaps fail to launch after OEM install - Launchpad Bugs
One thing to help debug would be to run "snap changes" on the system when its in the broken state right after seeding....
Read more >
snap "<PACKAGE>" has "install-snap" change in ... - Ask Ubuntu
Snap is probably still working on something in the background (or at least it thinks so). Open a terminal and run snap changes...
Read more >
Snap-store crash on startup (20200303.4392a28, rev 293 ...
I had this same problem in the beta version of focal-fossa 20.04 LTS, my solution to solve the problem was: executing the command...
Read more >
Major Snap Bug Delays Ubuntu 22.04 Point Release
While there is a problem with Snap packages, the APT packaging system created by parent distro Debian is apparently unaffected.
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