Snap package updates do not install / update other (dependency) snaps

Bug #1966531 reported by rfc
26
This bug affects 5 people
Affects Status Importance Assigned to Milestone
snapd
New
Undecided
Unassigned

Bug Description

Operating System: Ubuntu 21.10 (64-bit)
Desktop Env: Gnome 40.4.0
Windowing System: Wayland

I previously installed latest stable version of keepassxc snap package, which was 2.6.6

keepassxc snap worked, a few weeks passed

keepassxc maintainers released new stable version of keepassxc snap package, 2.7.0

ubuntu's snapd appears to have auto refreshed and upgraded keepassxc from 2.6.6 to 2.7.0

keepassxc no longer displays GUI, when launched immediately shows error message:
ERROR: not connected to the kde-frameworks-5-qt-5-15-3-core20 content interface.

Keepassxc maintainer suggests this may be an ubuntu or snapd problem.

Speculation about possible cause of issue:

Is is possible that when auto refreshing snaps to new stable version, the auto refresh logic fails to install new extension dependencies (e.g. kde-neon) ?

It is perhaps possible that there may be an issue with how keepassxc snap package 2.7.0 declares runtime dependencies. I don't know enough about keepassxc, snap packaging to dig further.

ref: issue reported on keepassxc issue tracker: https://github.com/keepassxreboot/keepassxc/issues/7657

Revision history for this message
iGadget (igadget) wrote (last edit ):

Just happened to me as well on two machines when (auto) updating to KeePassXC 2.7.8.

In my case, the error was:

ERROR: not connected to the kf5-5-113-qt-5-15-11-core22 content interface.

It seems the required snap 'kf5-5-113-qt-5-15-11-core22' is not automatically installed when updating KeePassXC. Manually installing the dependency fixes the problem:

sudo snap install kf5-5-113-qt-5-15-11-core22

No need to uninstall / remove and re-install keepassxc.

UPDATE
Apparently this *is* a snapd issue:

https://github.com/keepassxreboot/keepassxc/issues/7657#issuecomment-2122263554

Please advise on how to move this forward.
Also raised the issue here: https://forum.snapcraft.io/t/dependencies-not-updated-installed-when-updating-snaps/40277

Revision history for this message
iGadget (igadget) wrote (last edit ):

See my edit above.

summary: - keepassxc snap crashes on start with "ERROR: not connected to the kde-
- frameworks-5-qt-5-15-3-core20 content interface" after snapd auto
- refresh package from 2.6.6 to 2.7.0
+ Snap package updates do not install / update other (dependency) snaps
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.