Player Version#: 1.27.1, 1.56.1
Another reason why I don’t like snap - yet another whole facility with it’s idiosyncracies to go wrong causing you to learn way more stuff about things when all you really want to do is run a program! UGH!
So my Plex HTPC stopped working on my Ubuntu 22.04 desktop. I used it on occasion to run on my second monitor but now it doesn’t work,. Found several of my previous incantation just stuck in the process tree so I killed them to start again from the CLI. Here’s what I get
Earth:env BAMF_DESKTOP_FILE_HINT=/var/lib/snapd/desktop/applications/plex-htpc_plex-htpc.desktop /snap/bin/plex-htpc
/snap/plex-htpc/x1/snap/command-chain/desktop-launch: line 361: cannot create temp file for here-document: No such file or directory
/snap/plex-htpc/x1/bin/desktop-launch: line 351: cannot create temp file for here-document: No such file or directory
/snap/plex-htpc/x1/bin/Plex: error while loading shared libraries: libXinerama.so.1: cannot open shared object file: No such file or directory
Earth:
Can’t create a temp file for a here-document? Really?
So I try a refresh (of course you have to know that with snap the term is refresh, not update nor reinstall, etc…):
Earth:sudo snap refresh plex-htpc
error: local snap "plex-htpc" is unknown to the store, use --amend to proceed
anyway
Earth:
Ok, why didn’t you just put --amend on for me? And yeah, “–amend” - that’s the first thing that came to mind! OK, amend --amend:
Earth:sudo snap refresh plex-htpc --amend
error: cannot perform the following tasks:
- Setup snap "plex-htpc" (20) security profiles (cannot update mount namespace of snap "plex-htpc": cannot update preserved namespace of snap "plex-htpc":
-----
change.go:471: cannot remove mount point, got EBUSY: "/snap/plex-htpc/x1"
cannot update snap namespace: cannot create writable mimic over "/snap/plex-htpc/20/etc": cannot create directory "/tmp/.snap": no such file or directory
-----)
Earth:
Why must I be concerned about mounts, namespaces and who’s got /snap/plex-hpc/x1 busy?!?
Earth:lsof /snap/plex-htpc/x1
lsof: WARNING: can't stat() overlay file system /var/lib/docker/overlay2/ce31b39cc18215fdc22096fcd4cf5eb83f4abdb3d39f7db356dbc9c25242f216/merged
Output information may be incomplete.
lsof: WARNING: can't stat() nsfs file system /run/docker/netns/38c294b0d147
Output information may be incomplete.
Earth:fuser -m /snap/plex-htpc/x1
Earth:
OK, now we have overly file systems involved… I just want to run plex-htpc. And why could it mkdir /tmp/.snap?!?
Speaking of which, what’s this plex-desktop thingy and how is it different than plex-htpc?
Earth:snap run plex-desktop
/snap/plex-desktop/21/snap/command-chain/desktop-launch: line 361: cannot create temp file for here-document: No such file or directory
/snap/plex-desktop/21/bin/desktop-launch: line 351: cannot create temp file for here-document: No such file or directory
/snap/plex-desktop/21/bin/Plex: symbol lookup error: /snap/plex-desktop/21/gnome-platform/usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-13.99.so: undefined symbol: request_init
Earth:
That didn’t work well either.
OK, so let’s try removing them and reinstalling them (since reinstall isn’t a snap option and a sudo snap refresh plex-htcp --amend fails (and a sudo snap refresh plex-desktop says I’m up to date…
Earth:sudo snap remove plex-desktop
plex-desktop removed
Earth:sudo snap remove plex-htpc
plex-htpc removed
Earth:sudo snap install plex-desktop
plex-desktop 1.56.1 from Plex, Inc. (plexinc✓) installed
Earth:
All right, let’s see if this works now:
Earth:snap run plex-desktop
/snap/plex-desktop/21/gnome-platform/usr/lib/x86_64-linux-gnu/glib-2.0/gio-querymodules: error while loading shared libraries: /snap/plex-desktop/21/gnome-platform/usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0: unsupported version 0 of Verneed record
/snap/plex-desktop/21/gnome-platform/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders: error while loading shared libraries: /snap/plex-desktop/21/gnome-platform/usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0: unsupported version 0 of Verneed record
/snap/plex-desktop/21/gnome-platform/usr/lib/x86_64-linux-gnu/libgtk-3-0/gtk-query-immodules-3.0: error while loading shared libraries: /snap/plex-desktop/21/gnome-platform/usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0: unsupported version 0 of Verneed record
ERROR: /snap/plex-desktop/21/gnome-platform/usr/lib/x86_64-linux-gnu/libgtk-3-0/gtk-query-immodules-3.0 exited abnormally with status 127
ERROR: /snap/plex-desktop/21/gnome-platform/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders exited abnormally with status 127
ERROR: compile_giomodules /snap/plex-desktop/21/gnome-platform/usr/lib/x86_64-linux-gnu exited abnormally with status 127
/snap/plex-desktop/21/bin/Plex: symbol lookup error: /snap/plex-desktop/21/gnome-platform/usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-13.99.so: undefined symbol: request_init
Earth:sudo snap install plex-htpc
plex-htpc 1.27.1 from Plex, Inc. (plexinc✓) installed
Earth:snap run plex-htpc
/snap/plex-htpc/20/gnome-platform/usr/lib/x86_64-linux-gnu/glib-2.0/gio-querymodules: error while loading shared libraries: /snap/plex-htpc/20/gnome-platform/usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0: unsupported version 0 of Verneed record
/snap/plex-htpc/20/gnome-platform/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders: error while loading shared libraries: /snap/plex-htpc/20/gnome-platform/usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0: unsupported version 0 of Verneed record
ERROR: /snap/plex-htpc/20/gnome-platform/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders exited abnormally with status 127
ERROR: compile_giomodules /snap/plex-htpc/20/gnome-platform/usr/lib/x86_64-linux-gnu exited abnormally with status 127
/snap/plex-htpc/20/gnome-platform/usr/lib/x86_64-linux-gnu/libgtk-3-0/gtk-query-immodules-3.0: error while loading shared libraries: /snap/plex-htpc/20/gnome-platform/usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0: unsupported version 0 of Verneed record
ERROR: /snap/plex-htpc/20/gnome-platform/usr/lib/x86_64-linux-gnu/libgtk-3-0/gtk-query-immodules-3.0 exited abnormally with status 127
/snap/plex-htpc/20/bin/Plex: symbol lookup error: /snap/plex-htpc/20/gnome-platform/usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-13.99.so: undefined symbol: request_init
Earth:env BAMF_DESKTOP_FILE_HINT=/var/lib/snapd/desktop/applications/plex-htpc_plex-htpc.desktop /snap/bin/plex-htpc
/snap/plex-htpc/20/snap/command-chain/desktop-launch: line 361: cannot create temp file for here-document: No such file or directory
/snap/plex-htpc/20/bin/desktop-launch: line 351: cannot create temp file for here-document: No such file or directory
/snap/plex-htpc/20/bin/Plex: symbol lookup error: /snap/plex-htpc/20/gnome-platform/usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-13.99.so: undefined symbol: request_init
Earth:
Of course, it wouldn’t run!
IMHO snap is still not ready for prime time.