This is a serious issue about content-snaps and the way they are used.
I recently gone through a case where my newly published app won’t run cause the content snap that it is based on did not update to the latest stable before I installed and opened my app.
I have lots of apps in store which are based on same content snap in this case (qt513),
Recently I published an update to my content snap qt513 which include new libraries (required to run new application I was about to publish) in both stable and edge channel.
I published my new app mkcron last night. And installed it from store. While launching I got the following error:
mkcron: error while loading shared libraries: libQt5HttpServer.so.5: cannot open shared object file: No such file or directory
Which is basically a missing library issue caused due to the absence of
libQt5HttpServer.so.5 in the qt513 content snap.
While this library is included in the upgrade to my content snap that I did two days back.
What should be happening:
Before installing any snap app snapd should check for update of the content snap at least in stable channel. This should be done to ensure that all required content snaps are up to date as desired by developer/publisher of application.
snap 2.44.3+20.04 snapd 2.44.3+20.04 series 16 Ubuntu 20.04 kernel 5.4.0-29-generic