Snap package updates do not install / update other (dependency) snaps
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-
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:/
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/keepassxreb oot/keepassxc/ issues/ 7657#issuecomme nt-2122263554
Please advise on how to move this forward. /forum. snapcraft. io/t/dependenci es-not- updated- installed- when-updating- snaps/40277
Also raised the issue here: https:/