EDIT: I'm ditching this @agreeff account and moving everything over to my main @ZaLiTHkA account instead. please use that for any mentions going forward.
I did an in-place upgrade through the Settings app, from an up-to-date 20.10 to 21.04. almost everything came across exactly as expected (thanks!), and some small things needed to be re-configured (Gnome extensions. naturally..).
during the setup, I did notice mention of some configuration being done with regards to "Snap" (I forget the exact message now). however I then discovered that not all of my Snap apps were opening. when MS Teams refused to open from the launcher, I dropped into terminal and discovered the following:
> teams
ERROR: ld.so: object '/snap/teams/5/gnome-platform/libpreload-chromium-content-api.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/snap/teams/5/gnome-platform/libpreload-chromium-content-api.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/snap/teams/5/gnome-platform/libpreload-chromium-content-api.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/snap/teams/5/gnome-platform/libpreload-chromium-content-api.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/snap/teams/5/gnome-platform/libpreload-chromium-content-api.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/snap/teams/5/gnome-platform/libpreload-chromium-content-api.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
/snap/teams/5/snap/command-chain/desktop-launch: line 50: /home/agreeff/.config/user-dirs.dirs: Permission denied
ERROR: ld.so: object '/snap/teams/5/gnome-platform/libpreload-chromium-content-api.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/snap/teams/5/gnome-platform/libpreload-chromium-content-api.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: not connected to the gnome-3-28-1804 content interface.
thereafter, I started checking all my other installed Snaps and found many of them were broken.
important note: all affected apps did launch correctly after removing and re-installing them. 👍🏼
Steps to reproduce (if you know):
not sure, I simply upgraded from 20.10 to 21.04 with the provided tools.
Expected behavior:
and I'm most definitely not expecting miracles here, this is a major in-place upgrade.... 🤔 I'm just noting that some Snap migrations didn't "Just Work ™️ ".
I'm pretty new to Snaps myself, but one point I did find interesting is that none of the --classic Snaps seem to have been affected (i.e.: they worked). so perhaps these Snaps had post-install actions? I'm assuming that these would not have been re-run after the OS upgrade, hence the issues.
/snap/beekeeper-studio/101/beekeeper-studio-bin: error while loading shared libraries: libxshmfence.so.1: cannot open shared object file: No such file or directory
bitwarden error:
/snap/bitwarden/51/bitwarden: error while loading shared libraries: libatk-1.0.so.0: cannot open shared object file: No such file or directory
firecamp error:
/snap/firecamp/168/firecamp.bin: error while loading shared libraries: libxshmfence.so.1: cannot open shared object file: No such file or directory
krita error:
ERROR: not connected to the kde-frameworks-5-plug content interface.
netbeans launches correctly, but my previous config folder for 12.4 only had a cache folder, and launching Netbeans prompted to import my previous 12.3 config again (which I did still have).
obs-studio error:
ERROR: not connected to the gtk-3-themes content interface.
remmina error:
sed: can't read /home/agreeff/.config/user-dirs.dirs: Permission denied
/snap/remmina/4965/snap/command-chain/desktop-launch: line 242: /home/agreeff/.config/user-dirs.dirs: Permission denied
cp: cannot open '/home/agreeff/.config/user-dirs.locale' for reading: Permission denied
/snap/remmina/4965/snap/command-chain/desktop-launch: line 247: /home/agreeff/.config/user-dirs.locale: Permission denied
cp: cannot stat '/snap/remmina/4965/gnome-platform/usr/share/mime': No such file or directory
Directory '/home/agreeff/snap/remmina/4965/.local/share/mime/packages' does not exist!
/snap/remmina/4965/snap/command-chain/desktop-launch: line 20: /snap/remmina/4965/gnome-platform/usr/lib/x86_64-linux-gnu/libgtk-3-0/gtk-query-immodules-3.0: No such file or directory
ERROR: update-mime-database /home/agreeff/snap/remmina/4965/.local/share/mime exited abnormally with status 1
ERROR: /snap/remmina/4965/gnome-platform/usr/lib/x86_64-linux-gnu/libgtk-3-0/gtk-query-immodules-3.0 exited abnormally with status 127
/snap/remmina/4965/usr/bin/remmina: error while loading shared libraries: libharfbuzz.so.0: cannot open shared object file: No such file or directory
snap-store error:
/snap/snap-store/547/snap/command-chain/desktop-launch: line 50: /home/agreeff/.config/user-dirs.dirs: Permission denied
ERROR: not connected to the gnome-3-34-1804 content interface.
storage-explorer error:
ERROR: not connected to the gnome-3-38-2004 content interface.
sweethome3d-homedesign error:
Picked up _JAVA_OPTIONS: -Duser.home=/home/agreeff/snap/sweethome3d-homedesign/13
Jul 01, 2021 1:03:29 PM java.util.prefs.FileSystemPreferences$1 run
INFO: Created user preferences directory.
Exception in thread "main" java.awt.AWTError: Can't connect to X11 window server using ':1' as the value of the DISPLAY variable.
at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at sun.awt.X11GraphicsEnvironment.access$200(X11GraphicsEnvironment.java:65)
at sun.awt.X11GraphicsEnvironment$1.run(X11GraphicsEnvironment.java:115)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:74)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at java.awt.GraphicsEnvironment.createGE(GraphicsEnvironment.java:103)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:82)
at sun.awt.X11.XToolkit.<clinit>(XToolkit.java:132)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at java.awt.Toolkit$2.run(Toolkit.java:860)
at java.awt.Toolkit$2.run(Toolkit.java:855)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:854)
at com.eteks.sweethome3d.swing.SwingTools.showSplashScreenWindow(Unknown Source)
at com.eteks.sweethome3d.SweetHome3D.init(Unknown Source)
at com.eteks.sweethome3d.SweetHome3D.main(Unknown Source)
Distribution (run
cat /etc/os-release
):Related Application and/or Package Version (run
apt policy $PACKAGE NAME
):Issue/Bug Description:
I did an in-place upgrade through the Settings app, from an up-to-date
20.10
to21.04
. almost everything came across exactly as expected (thanks!), and some small things needed to be re-configured (Gnome extensions. naturally..).during the setup, I did notice mention of some configuration being done with regards to "Snap" (I forget the exact message now). however I then discovered that not all of my Snap apps were opening. when MS Teams refused to open from the launcher, I dropped into terminal and discovered the following:
thereafter, I started checking all my other installed Snaps and found many of them were broken.
important note: all affected apps did launch correctly after removing and re-installing them. 👍🏼
Steps to reproduce (if you know):
not sure, I simply upgraded from
20.10
to21.04
with the provided tools.Expected behavior:
and I'm most definitely not expecting miracles here, this is a major in-place upgrade.... 🤔 I'm just noting that some Snap migrations didn't "Just Work ™️ ".
I'm pretty new to Snaps myself, but one point I did find interesting is that none of the
--classic
Snaps seem to have been affected (i.e.: they worked). so perhaps these Snaps had post-install actions? I'm assuming that these would not have been re-run after the OS upgrade, hence the issues.Other Notes:
installed Snap list
Snaps that needed to be re-installed:
beekeeper-studio
error:bitwarden
error:firecamp
error:krita
error:netbeans
launches correctly, but my previous config folder for12.4
only had a cache folder, and launching Netbeans prompted to import my previous12.3
config again (which I did still have).obs-studio
error:remmina
error:snap-store
error:storage-explorer
error:sweethome3d-homedesign
error: