[snap] failure to connect password-manager-service during package upgrade
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
chromium-browser (Ubuntu) |
Fix Released
|
High
|
Olivier Tilloy |
Bug Description
I have the chromium-browser snap installed, and when upgrading to the new snap-based Chromium deb, it fails when the snap is already installed:
Preparing to unpack .../chromium-
=> Installing the chromium snap
==> Checking connectivity with the snap store
==> Installing the chromium snap
snap "chromium" is already installed, see 'snap help refresh'
=> Snap installation complete
=> Connecting the password-
error: cannot resolve connection, slot snap name is empty
dpkg: error processing archive /var/cache/
new chromium-browser package pre-installation script subprocess returned error exit status 1
Preparing to unpack .../libidn2-
Unpacking libidn2-0:amd64 (2.2.0-1) over (2.0.5-1) ...
Errors were encountered while processing:
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
This is a blocker to SRUing the deb2snap transition to stable releases.
Changed in chromium-browser (Ubuntu): | |
importance: | Undecided → High |
tags: | added: snap |
tags: | added: eoan |
I cannot reproduce this error when testing the upgrade scenario in a clean eoan VM where the snap was already installed (tested both with the password- manager- service interface previously connected, and not).
That snapd error looks suspicious, it's as if the core snap wasn't available on your system. See https:/ /github. com/snapcore/ snapd/blob/ master/ interfaces/ repo.go# L487.
Can you reliably reproduce the error?
What's the output of `snap connections core | grep password` ?