[Bug 1926267] Re: do-release-upgrade failed silently after failed to connect to snap service

Daniel 1926267 at bugs.launchpad.net
Mon Jul 12 07:26:32 UTC 2021


I can reproduce the issue on when trying to upgrade from Ubuntu 20.04.2
LTS to Ubuntu 21.04 using `do-release-upgrade` on WSL 2.

I don't get any real error output. The last this I see is a screen that
shows only:


Reading cache

Checking package manager
Reading package lists... Done
Building dependency tree
Reading state information... Done
Hit http://archive.ubuntu.com/ubuntu focal InRelease
Hit http://archive.ubuntu.com/ubuntu focal-updates InRelease
Hit http://archive.ubuntu.com/ubuntu focal-backports InRelease
Hit http://security.ubuntu.com/ubuntu focal-security InRelease
Fetched 0 B in 0s (0 B/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done

Restoring original system state

Aborting
Reading package lists... Done
Building dependency tree
Reading state information... Done
=== Command terminated with exit status 1 (Mon Jul 12 09:14:34 2021) ===

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/1926267

Title:
  do-release-upgrade failed silently after failed to connect to snap
  service

Status in ubuntu-release-upgrader package in Ubuntu:
  Confirmed
Status in ubuntu-release-upgrader source package in Hirsute:
  Confirmed
Status in ubuntu-release-upgrader source package in Impish:
  Confirmed

Bug description:
  Multiple reports received for people trying to upgrade from Ubuntu 20.04 to Ubuntu 20.10 using `do-release-upgrade` on WSL failed silently. After digging, it is found that in DistUpgradeQuirks.py, DistUpgradeQuirks._checkStoreConnectivity won't check for the message thrown by `snap debug connectivity` which is complaining about the inability of connecting to `snapd` service:
  `
  > error: cannot communicate with server: Get "http://localhost/v2/debug?aspect=connectivity": dial unix /run/snapd.socket: connect: no such file or directory

  This bug should affect all versions of packages especially 20.04 or
  higher (1:20.04.32).

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1926267/+subscriptions



More information about the foundations-bugs mailing list