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` ?

** Changed in: chromium-browser (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to chromium-browser in Ubuntu.
https://bugs.launchpad.net/bugs/1838821

Title:
  [deb2snap] Upgrade fails when snap is already installed

Status in chromium-browser package in Ubuntu:
  Incomplete

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-browser_76.0.3809.87-0ubuntu1~snap1_amd64.deb ...
  => 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-manager-service interface (LP: #1836616)
  error: cannot resolve connection, slot snap name is empty
  dpkg: error processing archive 
/var/cache/apt/archives/chromium-browser_76.0.3809.87-0ubuntu1~snap1_amd64.deb 
(--unpack):
   new chromium-browser package pre-installation script subprocess returned 
error exit status 1
  Preparing to unpack .../libidn2-0_2.2.0-1_amd64.deb ...
  Unpacking libidn2-0:amd64 (2.2.0-1) over (2.0.5-1) ...
  Errors were encountered while processing:
   
/var/cache/apt/archives/chromium-browser_76.0.3809.87-0ubuntu1~snap1_amd64.deb
  E: Sub-process /usr/bin/dpkg returned an error code (1)

  This is a blocker to SRUing the deb2snap transition to stable
  releases.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1838821/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to